T
thijs.kupers
Hi
I want to define a schema for my xml. I want to transform the xml in
java-code by xslt, so it is important (for naming conflicts) that the
values of the name-attributes in the xml been unique.
I have a xml file like this:
<someroot>
<A_Item name="foo">
<B_Item name="123"/>
<B_Item name="456"/>
</A_Item>
<B_Item name="foo"/>
</someroot>
The '<B_Item name="foo"/>' must give an error by the validator check.
How can I do that with xml-schema?
Regards,
Thijs
I want to define a schema for my xml. I want to transform the xml in
java-code by xslt, so it is important (for naming conflicts) that the
values of the name-attributes in the xml been unique.
I have a xml file like this:
<someroot>
<A_Item name="foo">
<B_Item name="123"/>
<B_Item name="456"/>
</A_Item>
<B_Item name="foo"/>
</someroot>
The '<B_Item name="foo"/>' must give an error by the validator check.
How can I do that with xml-schema?
Regards,
Thijs