xsl-list
[Top] [All Lists]

Re: collecting ALL nodes with a specific attribute on all levels

2006-01-25 05:48:38
Make sure that all templates of elements with this attribute contain a <xsl:apply-templates select="@*" /> or a <xsl:apply-templates select="@property" />

And write a template for the property attribute itself..

Cheers,
Geert

Alexander Stippler wrote:

Hi,

I have several XML documents where some tags on different levels and with different structure share some attribute, let's say 'property'. How do I apply templates to all these nodes. There are different templates for a match to e.g. 'XXX/@property' or 'YYY/ZZZ/WWW/ @property'. So how can I process all tags in all XML-documents having the property attribute regardless the level the 'live'.
Sorry for the unprecise use of terms, but I'm quite a newbie to XSLT.

regards,
Alex

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