Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.
Note: Tato stránka není ještě zcela přeložena. Pomozte nám ji prosím dopřeložit.
XPath znamená XML Path Language, který používá ne-XMLový zápis pro snaší způsob výběru rozdílních částí XML dokumentu. As well as this, it can also be used to test addressed nodes within a document to determine whether they match a pattern or not.
XPath is mainly used in XSLT, but can also be used as a much more powerful way of navigating through the DOM of any XML based language documents, such as HTML and XUL, instead of relying on the getElementById method, the childNodes properties, etc. The following is vague: This is especially useful within extensions, particularly regarding to overlays.
XPath uses a path notation (as in URLs) for navigating through the hierarchical structure of an XML document. It uses a non-XML syntax so that it can be used in en:URIs and XML attribute values.
This extensive introduction to XSLT and XPath assumes no prior knowledge of the technologies, and guides the reader through background, context, structure, concepts and introductory terminology.