summaryrefslogtreecommitdiffstats
path: root/templates/xml/index.xsd
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-06-03 12:55:52 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-06-03 12:55:52 (GMT)
commit88e70b5242b2446f33ab700e6d10e7f25ae2c349 (patch)
treee4c1bc4d115db7e8fd8404c77e83a595fe9c19e2 /templates/xml/index.xsd
parentfd1111503cd3e403db3784d03530e6ec3ac37032 (diff)
downloadDoxygen-88e70b5242b2446f33ab700e6d10e7f25ae2c349.zip
Doxygen-88e70b5242b2446f33ab700e6d10e7f25ae2c349.tar.gz
Doxygen-88e70b5242b2446f33ab700e6d10e7f25ae2c349.tar.bz2
Adding the xml:lang tag to XML and Docbook output
Adding the xml:lang attribute for XNL and Docbook output Interesting links: - language codes (different from country codes!): https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - example for xml.xsd: http://www.java2s.com/Code/XML/XML-Schema/importanotherXMLschema.htm
Diffstat (limited to 'templates/xml/index.xsd')
-rw-r--r--templates/xml/index.xsd3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/xml/index.xsd b/templates/xml/index.xsd
index 04cb2f1..edb1d34 100644
--- a/templates/xml/index.xsd
+++ b/templates/xml/index.xsd
@@ -1,5 +1,7 @@
<?xml version='1.0' encoding='utf-8' ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+
<xsd:element name="doxygenindex" type="DoxygenType"/>
<xsd:complexType name="DoxygenType">
@@ -7,6 +9,7 @@
<xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:string" use="required"/>
+ <xsd:attribute ref="xml:lang" use="required"/>
</xsd:complexType>
<xsd:complexType name="CompoundType">