XPath is a read-only language, it can only be used to select nodes or compute values based on their content. Take a look at XSLT or XQuery if you want to create new documents - they both use XPath as a subset.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|