[libxml2]Add libxml2 library

This commit is contained in:
zhoujiale
2026-07-26 16:57:28 +08:00
committed by zhoujiale
parent 0a44ec8a06
commit e841ac915d
3790 changed files with 668244 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:simpleType name="myDecimal">
<xsd:restriction base="xsd:decimal">
<xsd:totalDigits value="18"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="foo">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/>
<xsd:element name="ref" type="myDecimal" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<!--xsd:key name="myKey">
<xsd:selector xpath="val"/>
<xsd:field xpath="."/>
</xsd:key>
<xsd:keyref name="myKeyRef" refer="myKey">
<xsd:selector xpath="ref"/>
<xsd:field xpath="."/>
</xsd:keyref-->
</xsd:element>
</xsd:schema>