C
Christian Rühl
hi @all!
i have a little problem with xsd. is it possible to define a loop in a
schema?
the xml files i want to validate look like this:
- product
-- component
--- sub-component
--- sub-component
---- sub-component
-- component
--- sub-component
---- sub-component
each (sub-)component can have one or more own sub-components and so
on... there is a static solution needed because the xml file is
usually written by hand. writing it by using to many references makes
it more likely to make a mistake and more difficult to locate an
error.
i really hope you can help me with that. i didn't find a real hint
yet.
Mfg,
Christian Rühl
i have a little problem with xsd. is it possible to define a loop in a
schema?
the xml files i want to validate look like this:
- product
-- component
--- sub-component
--- sub-component
---- sub-component
-- component
--- sub-component
---- sub-component
each (sub-)component can have one or more own sub-components and so
on... there is a static solution needed because the xml file is
usually written by hand. writing it by using to many references makes
it more likely to make a mistake and more difficult to locate an
error.
i really hope you can help me with that. i didn't find a real hint
yet.
Mfg,
Christian Rühl