Browsing All posts tagged under »XPath«

DOM, the built in template system

June 6, 2006


It’s allways good to separate code and markup, and with DOM you can do such a thing. We will look at these properties of DOM in this article: Load and parse a base XHTML file Fetch elements using XPath Append some XHTML elements Print the modified document Let’s start with the file base.xml: <?xml version="1.0" […]