xsl-list
[Top] [All Lists]

[xsl] question about identity transform

2006-10-31 12:55:19
Hi,

I've used the identity transform many times to do useful things and have often wondered about the match pattern. Why is the match pattern

"node() | @*"

rather than simply "node()"? Aren't attributes returned by node()?

I read this and didn't find the answer:

http://www.dpawson.co.uk/xsl/sect2/identity.html

Regards

--Bill

--~------------------------------------------------------------------
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>
--~--