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

Re: not a well-formed output XML

Subject: Re: not a well-formed output XML
From: RQamar <qamar_rahil@xxxxxxxxxxx>
Date: Wed, 02 Mar 2005 12:21:30 +0000
Re:  not a well-formed output XML
Hi

Jarno.Elovirta@xxxxxxxxx wrote:

 <xsl:template match="SubConcepts">
   <xsl:copy>
     <xsl:apply-templates select="@*"/>
     <xsl:for-each select="descendant::SubConcept">
       <xsl:copy>
         <xsl:apply-templates select="@*"/>
         <xsl:apply-templates select="*[1]" mode="walker"/>
       </xsl:copy>
     </xsl:for-each>
   </xsl:copy>
 </xsl:template>
<snip/>

Donno what that grouping method is called, but it's one of the ones that you encounter if you search the list archives.

Cheers,

Jarno - Madam Zu: September 2002 Mix




So just for my clarification. Is this piece of code meant to sort out the XML structure once the output has been generated? In other words, will this piece of code form part of Processor2.xsl (as shown below) ?

Input.xml --> Processor1.xsl --> Output1.xml --> Processor2.xsl --> FinalOutput.xml

Appreciate your help
Rahil

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.