jorge_msf
03-01-2005, 03:39 PM
Hi, everyone
I'm new to XML and schemas and i have the following question. It's possible to make a schema ignore elements that exists in the xml file but are not defined in the schema?
Example:
<root>
<element1>...</element1>
<element2>...</element2>
</root>
element2 is not defined in schema and i want im to ignore this when validating the xml file instead of give a "element not defined in schema" type of error.
Is possible to do this?
Thanks . :)
I'm new to XML and schemas and i have the following question. It's possible to make a schema ignore elements that exists in the xml file but are not defined in the schema?
Example:
<root>
<element1>...</element1>
<element2>...</element2>
</root>
element2 is not defined in schema and i want im to ignore this when validating the xml file instead of give a "element not defined in schema" type of error.
Is possible to do this?
Thanks . :)