[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: collecting ALL nodes with a specific attribute on

Subject: Re: collecting ALL nodes with a specific attribute on all levels
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 25 Jan 2006 13:48:38 +0100
xsl collecting elements different levels
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.