Heiko Niemann wrote:
lately I have seen some people using *|@*|text() as matching pattern to
achieve an identity transform. Does this actually do the same as @*|node()
? I wasn't quite sure. If yes, is there any (dis-)advantage using it?
"node()" would match element nodes, text nodes, comment nodes,
processing instruction nodes. If you only use "*|text()" instead of
"node()" then you are excluding comment nodes and processing instruction
nodes.
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--