[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] not a well-formed output XML


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

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
Keywords
xml