[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Moving (promoting) XML elements through XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Jun 2006 14:43:49 +0100
> How could I output the title element above the prolog element?


process title, insert your prolog, then process body

so instead of

                       <prolog>
                       .....
                      </prolog>
                      <xsl:apply-templates select="node()"/>


do

                      <xsl:apply-templates select="title"/>
                       <prolog>
                       .....
                      </prolog>
                      <xsl:apply-templates select="body"/>

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member