xsl-list
[Top] [All Lists]

Re: [xsl] Match nodes searching for attributes in children

2010-01-17 21:10:21
Hello Ken and Gerrit,

thanks for your debugging tips. I was making the experiments in a small
test file, not in my development files, so I know there are no mistakes
nor missing namespace prefixes in elements. One curious thing though, I
noticed that my xslt processor (xalan 2.7.1 and the one included in java)
are not able to match attributes. Other people claim something like this
is possible:

<xsl:template match="@attr">
or even:
<xsl:template match="@*">

Even the default template will not match them. An empty stylesheet will
copy only the text elements. It will be difficult for me to get help if
the processors behave differently.

Thank you very much,
Cristobal


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