3. Is there a technique/function that will show me the type of a node (
Element vs Attribute vs text ) at run time.
See this snippet, which builds an XPath expression for a (any kind of) node:
http://www.topxml.com/code/default.asp?p=3&id=v20010323001030
It correctly recognizes every possible type of node (all 7 of them). Of
course, one could simply matche on the different node-types, however it is
not possible to match a namespace node in XSLT 1.0.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list