According to the website:
"TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) "
My question is, if I have some embeded XSD in the XML document, will it just ignore that when creating the DOM?
e.g.
<?xml version="1.0" encoding="UTF-8"?>
<test> <version number="4"/> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="readout"> <xs:complexType> <xs:sequence> <xs:element ref="version" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="version"> <xs:complexType> <xs:attribute name="number" type="xs:decimal" use="required" /> </xs:complexType> </xs:element> </xs:schema> </test>
Will it just ignore all the <xs: and parse all the way to the end tag </test>?
Log in to post a comment.
According to the website:
"TinyXML doesn't parse or use DTDs (Document Type Definitions) or XSLs (eXtensible Stylesheet Language.) "
My question is, if I have some embeded XSD in the XML document, will it just ignore that when creating the DOM?
e.g.
<?xml version="1.0" encoding="UTF-8"?>
<test>
<version number="4"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="readout">
<xs:complexType>
<xs:sequence>
<xs:element ref="version" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="version">
<xs:complexType>
<xs:attribute name="number" type="xs:decimal" use="required" />
</xs:complexType>
</xs:element>
</xs:schema>
</test>
Will it just ignore all the <xs: and parse all the way to the end tag </test>?