so the best way...">All geek questions in one placeBest way to check xml link?I have many links in my xml files, for example:<name id="key1"></name> <ref to="key1"></ref> so the best way to check ref / @ to is defined in the name / @ id.Xsd? DTD? or programming using XPATH?+3xml xpath xsdzhongshu Dec 26 '10 at 9:12source share2 answersThe XML-schema : , , , - see. The this example. ID IDREF IDREFS xs:key In XPath : a function. id()In XSLT : and . <xsl:key> key()+2Dimitre novatchev Dec 26 '10 at 16:00source shareXml IDREF. . , xml, xml . XSLT/XPath.0Aravind R. Yarram 26 . '10 9:16Source: https://habr.com/ru/post/1782153/More articles:How to use multiple flatpages models in django app? - django.NET screen issues - c #Examples of complex real-world examples or situations resolved using stored procedures - databaseWill HTML5 replace Silverlight? - htmlHow does the "return value" of the istream operator >> work? - c ++How does Rails find models and controllers? How can I download it to load more models? - ruby | fooobar.comПриращение даты на 1 & петлю до конца месяца - javaHow to create spacing and indentation using HTMLTextWriter? - c #How to deserialize objects in Io? - serializationСделать редактируемые строки в Datatable - jsfAll Articles
I have many links in my xml files, for example:
<name id="key1"></name> <ref to="key1"></ref>
so the best way to check ref / @ to is defined in the name / @ id.
Xsd? DTD? or programming using XPATH?
The XML-schema : , , , - see. The this example. ID IDREF IDREFS xs:key
ID
IDREF
IDREFS
xs:key
In XPath : a function. id()
id()
In XSLT : and . <xsl:key> key()
<xsl:key>
key()
Xml IDREF. . , xml, xml . XSLT/XPath.
Source: https://habr.com/ru/post/1782153/More articles:How to use multiple flatpages models in django app? - django.NET screen issues - c #Examples of complex real-world examples or situations resolved using stored procedures - databaseWill HTML5 replace Silverlight? - htmlHow does the "return value" of the istream operator >> work? - c ++How does Rails find models and controllers? How can I download it to load more models? - ruby | fooobar.comПриращение даты на 1 & петлю до конца месяца - javaHow to create spacing and indentation using HTMLTextWriter? - c #How to deserialize objects in Io? - serializationСделать редактируемые строки в Datatable - jsfAll Articles