Last post Jan 13, 2011 08:20 AM by lvq684
Jan 13, 2011 05:28 AM|lvq684|LINK
I have defined a xsd schema that sets some requirements to which nodes can be available and how their properties should look like.
Now I need to define a rule that just says that in this node, all text (which will be my client´s xml document) is allowed.
This could be an example for the xml:
<testnode Value="asdsad" justtest="adsd" />
<en value="åååøøææ" />
<en value="222" />
<en value="yyy" />
So every form of xml structure inside 'CustomXmlDocument' is allowed.
How do I define this in xsd?
Thanks alot :)
Jan 13, 2011 07:21 AM|Martin_Honnen|LINK
<xs:any processContents="skip" />
might do (maybe with added minOccurs or maxOccurs constraints, depending on what exactly you want to allow).
Jan 13, 2011 08:20 AM|lvq684|LINK
It works like a charm!
Thanks alot man :)