xsl-list
[Top] [All Lists]

Re: [xsl] Moving (promoting) XML elements through XSL

2006-06-30 06:44:08

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--