[xsl] Got it!

Subject: [xsl] Got it!
From: "Sam Carleton" <scarleton@xxxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 13:44:23 -0400
On 10/17/06, Sam Carleton <scarleton@xxxxxxxxxxxxxxxx> wrote:
What I got:

<Method revision="4" objectID="85e29107-4686-4846-86b3-2280ab4157c9"
version="1"/>

What I would like to have in an idea world:

<Method objectID="85e29107-4686-4846-86b3-2280ab4157c9" version="1"
revision="4" />

I got it:


<xsl:template match="Method|Cal|Blank">
   <xsl:copy>
     <xsl:copy-of select="@objectID|@version"/>
     <xsl:attribute name="revision">0</xsl:attribute>
     <xsl:copy-of select="@revision|node()"/>
   </xsl:copy>
 </xsl:template>

Thanks David for all your help!!!!!!!!!!!

--
Miltonstreet Photography
http://www.miltonstreet.com

Current Thread
  • [xsl] Got it!
    • Sam Carleton - Tue, 17 Oct 2006 13:44:23 -0400 <=