xsl-list
[Top] [All Lists]

re: [xsl] self::-equivalent for attributes

2010-11-08 06:37:31
to test if the context node is (e.g.) an ns:par element you usually 
write:

  test="self::ns:par"

What's the equivalent for attributes, that is how do you test if the
context node is an ns:attr attribute? Is there a similar concise 
expression?

test="self::attribute(ns:par)"
--
Vladimir Nesterovsky
http://www.nesterovsky-bros.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>
--~--

<Prev in Thread] Current Thread [Next in Thread>