On 10/31/06, Bill French <bfh(_at_)recommind(_dot_)com> wrote:
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()?
node()
is abbreviation for:
child::node()
while
@*
is an abbreviation for:
attribute::node()
When no axis is specified only one (the child axis) is assumed.
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
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>
--~--
--~------------------------------------------------------------------
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>
--~--