Subject: RE: RE: [xsl] Xml to xml conversion of angle backet From: cknell@xxxxxxxxxx Date: Wed, 30 Jul 2003 21:24:03 -0400 |
That's easy. You can't. You have to pass the date to the XSLT as a parameter from the command line, or from the calling procedural code, depending on how you are invoking the transform. -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: "Matt Trimmer" <matt.trimmer@xxxxxxxxxxxxxx> Sent: Wed, 30 Jul 2003 23:49:46 +0100 To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] Xml to xml conversion of angle backet Thanks all - this worked a treat! <URL> <xsl:attribute name="path"> <xsl:value-of select="URL"/>ABC<xsl:value-of select="PARAM"/> </xsl:attribute> </URL> Anyone know how to retrive the system date and time from Windows in an XSL? -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Vetle Roeim Sent: 30 July 2003 10:52 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Xml to xml conversion of angle backet Matt Trimmer wrote: > Hi All, > > I am a new user of XSLT. I am trying to convert one XML document to > other XML formats and all is going well except for one required XML > format. > > The end XML document I am trying to create requires the following > element to be created: > > <URL path="XYX"> > > I want to populate the XYX with some selections from the source > document, so I use : > > <URL path="<xsl:value-of select="URL"/>ABC<xsl:value-of > select="PARAM"/>"> Is this what you want? <URL> <xsl:attribute name="path"> <xsl:value-of select="URL"/>ABC<xsl:value-of select="PARAM"/> </xsl:attribute> </URL> .. or do you want the path attribute to actually contain XSL elements? vr XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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] Xml to xml conversion of , Andrew Welch | Thread | RE: RE: [xsl] Xml to xml conversion, Andrew Welch |
RE: [xsl] Deleting a node depending, John Reid | Date | RE: [xsl] Incrementing number in a , cknell |
Month |