[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Rusty at XSLT, need help ("Oil can!, Oil can!")
On 26/04/2010 22:05, cknell@xxxxxxxxxx wrote:
What am I doing wrong? most likely the input documents are in a namespace (but your fragment doesn't show that) but <xsl:value-of select="Workbook/Worksheet[1]/Table/Row[3]/Data" selects elements from no-namepace since you are using xslt 2 you can set the xpath-default-namespace to th enamespace of the input elements (in xslt 1 you'd have to use <xsl:value-of select="x:Workbook/x:Worksheet[1]/x:Table/x:Row[3]/x:Data" where x is bound to whatever namespace the input uses. David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|