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

RE: Select all Instances

Subject: RE: Select all Instances
From: "Ben Robb" <Ben@xxxxxxxxxx>
Date: Fri, 7 Feb 2003 16:42:15 -0000
email bol
It depends what you mean by "process".

If you want to do a specific thing to each one, with the results appearing in the same place in the output tree, you could do something using a for-each:

<xsl:for-each select="//myelement">
	...do something.
</xsl:for-each>

If you mean that you want to process an entire document and whenever you hit a particular element name, do a specific task, this is what apply-templates and template rules do by default.

Hope this helps,

Ben

-----Original Message-----
From: beatrizlangiano [mailto:beatrizlangiano@xxxxxxxxxx] 
Sent: 07 February 2003 16:22
To: XSL-List
Subject:  Select all Instances 


How can I do to process all the instances of an element?
The problem is that element appears in "anyplace" of my 
XMI file (it doesn't is child of only one element).

Thanks, Beatriz 


 
__________________________________________________________________________
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já! http://email.bol.com.br/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.