XML and XPath

XPath is a major element in the XSLT standard. XPath can be used to navigate through elements and attributes in an XML document.

With XSLT you can transform an XML document into HTML. XSLT (eXtensible Stylesheet Language Transformations) is the recommended style sheet language for XML. XSLT is far more sophisticated than CSS. With XSLT you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more. XSLT uses XPath to find information in an XML document.

XQuery is to XML what SQL is to databases. XQuery was designed to query XML data.

  • XPath is a syntax for defining parts of an XML document
  • XPath uses path expressions to navigate in XML documents
  • XPath contains a library of standard functions
  • XPath is a major element in XSLT and in XQuery
  • XPath is a W3C recommendation
Series Navigation<< XML DOMSQL Server XML Data Type >>

Leave a comment

Your email address will not be published. Required fields are marked *