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

RE: Processing only certain nodes in a document fragme

Subject: RE: Processing only certain nodes in a document fragment
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Wed, 18 Feb 2004 21:51:49 +0100
RE:  Processing only certain nodes in a document fragme
> -----Original Message-----
> From: Glenn MacGregor

<snip />
> I need a template which will loop through all the <item> tags and
> replace the
> "<var/>" tag in the <do> section with CDATA of the current item
> tag echoing all
> the rest of the do tag to the result (without the <do> tag).


If you have control over both XML and XSL, I think it would be more
'stylish' to have only the item elements in the source XML, and transform
them like:

<xsl:template match="foreach/in/item" mode="testrow">
  <tr><td><xsl:value-of select="." /></td>




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

Current Thread


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.
First Name
Last Name
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.