xsl-list
[Top] [All Lists]

[xsl] Got it!

2006-10-17 10:44:46
On 10/17/06, Sam Carleton <scarleton(_at_)miltonstreet(_dot_)com> 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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Got it!, Sam Carleton <=