Subject: RE: XMLtoXML transformation
From: "Corey Spitzer" <cspitzer@xxxxxxxxx>
Date: Tue, 14 Aug 2001 13:14:34 -0500
|
<xsl:template match="Box">
<TEXT>
<xsl:attribute name="coords">
<xsl:value-of select="@minx"/><xsl:text> </xsl:text><xsl:value-of
select="@miny"/>
</xsl:attribute>
</TEXT>
</xsl:template>
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kris
Kolodziej
Sent: Tuesday, August 14, 2001 12:05 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: XMLtoXML transformation
Hello all,
What would the stylesheet look like for the below transformation?
This might be a simple XSL for some of you....
-----------
my XML:
<Box minx="-71.88" miny="41.14"
maxx="-71.01" maxy="42.01" />
-------------
XSL:
????
-----------------
Desired output:
<TEXT coords="minx miny"/>
(I want the value of the minx and miny from my XML)
----------------
Thanks,
</Kris>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|