Subject: RE: XML -> XML
From: bryan.s.schnabel@xxxxxxxxxxxxxx
Date: Wed, 16 Aug 2000 13:40:46 -0700

>take raw xml and keep it
>in the same format, 
Like this
<xsl:template match="Element1">
    <xsl:for-each select="@*">
      <xsl:copy />

>but maybe change an attribute, say:
>date="some format"
>date="some new format"
I'm not sure of your intent, but this is a simple way:
<xsl:template match="Element2">
  <Element2 date ="{@date}-plus my specified string">

If you actually want to change something like

date="mm-dd-yy" to date="dd-mm-yyyy"

it's not so simple

 XSL-List info and archive:

Current Thread
  • XML -> XML
    • Jon Wynacht - Wed, 16 Aug 2000 10:52:55 -0700
      • <Possible follow-ups>
      • bryan . s . schnabel - Wed, 16 Aug 2000 13:40:46 -0700 <=