This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XMLtoXML transformation


<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@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Kris
Kolodziej
Sent: Tuesday, August 14, 2001 12:05 PM
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]