[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] XMLtoXML transformation
Subject: RE: [xsl] XMLtoXML transformation From: "Mitchell, Edmund" <EMitchell@xxxxxxx> Date: Tue, 14 Aug 2001 11:12:43 -0700 |
Hello Kris, This should work: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output omit-xml-declaration='yes'/> <xsl:template match="/"> <TEXT coords="{/a/Box/@minx} {/a/Box/@miny}"/> </xsl:template> </xsl:stylesheet> Hope this isn't your homework ;>) Edmund -----Original Message----- From: Kris Kolodziej [mailto:kkolodziej@xxxxxxxxxxxx] Sent: Tuesday, August 14, 2001 1:05 PM To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XMLtoXML transformation, Corey Spitzer | Thread | Re: [xsl] XMLtoXML transformation, Kris Kolodziej |
Re: [xsl] XMLtoXML transformation, Kris Kolodziej | Date | RE: [xsl] XMLtoXML transformation, Corey Spitzer |
Month |
Keywords