xsl-list
[Top] [All Lists]

RE: Xml to xml conversion of angle backet

2003-07-30 15:49:46
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(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Vetle Roeim
Sent: 30 July 2003 10:52
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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