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: XSL Copy


> I have the following XML
> 
>   	<timeSeriesType>Equity</timeSeriesType>
> 
> I want to be able to get the timeSeriesDetail node for DAX. I 
> am using the following XSL
> 
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>   <xsl:param name="tsType" select="Equity"/>
>   <xsl:param name="tsName" select="DAX"/>
> 

You need to write select="'Equity'" if you mean the string "Equity" rather
than the element name <Equity>

Mike Kay


 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]