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

RE: How dynamic is XSL?

Subject: RE: How dynamic is XSL?
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Thu, 10 Aug 2000 13:36:04 +0200
up resutl
I assume that you want your output to be an equally arbitrary mix? 

Then that's easy to accomplish with xsl:template and xsl:apply-templates.
Just write a template for each of your elements, and these template rules
will fire whenever an element is found in the input document. 

If you would use xsl:for-each, then as you say if the xsl:for-each selects
links, these would be processed first, and then if you have a second
xsl:for-each select="text", the text would be processed next. xsl:for-each
involves building up the resutl and 'pulling' data from the source file,
while xsl:template/apply-templates involves reading the source XML and
'pushing' data to the result. 

I don't have a sample of your source so I'm leaving it at this rather
abstract explanation. 

Linda


 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.