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

RE: Change Element Order?

Subject: RE: Change Element Order?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 9 Dec 2005 08:51:04 -0000
order.xsl
Write an identity template

http://www.dpawson.co.uk/xsl/sect2/identity.html

, and supplement with

<xsl:template match="Slide">
  <Slide>
    <xsl:copy-of select="Title"/> 
    <xsl:copy-of select="Filename"/>
  </Slide>
</xsl:template>

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Don Rinderknecht [mailto:developer@xxxxxxxxxx] 
> Sent: 09 December 2005 01:24
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Change Element Order?
> 
> Hi,
> 
> I am transforming XML to XML... and I'm new at this!
> 
> I have:
> <Presentation>
>  <Slide>
>    <Filename>File1.swf</Filename>
>    <Title>XYZ Title</Title>
>  </Slide>
> </Presentation>
> 
> But I want:
> <Presentation>
>  <Slide>
>    <Title>XYZ Title</Title>
>    <Filename>File1.swf</Filename>
>   </Slide>
> </Presentation>
> 
> I haven't been able to figure this out. Any ideas?
> 
> Thanks,
> Don

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.