[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Processing only certain nodes in a document fragment
Hi All, Thanks for all the help so far! I am having a problem with the following document fragment: <foreach> <in> <item>test1</item> <item>test2</item> <item>test3</item> <item>test4</item> <item>test5</item> </in> <do> <tr><td><var/></td><td><var/></td></tr> <tr><td><var/> Test</td><td><var/> Test</td></tr> </do> </foreach> 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). Is this possible? If there is a better way to handle this please let me know I have complete control the document, I can put any structure or XML in there. Thanks Glenn MacGregor HighStreet Networks ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|