Try using the following syntax: <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> . . . <xsl:value-of select="$variableName/path/to/node"/>
alternatively (assuming just the end node was captured in the variable) use: <xsl:value-of select="$variableName"/>
In your instance, you might have something similar to the following:
Without seeing your xsl file, it is difficult to know if newDate contains a node fragment starting at FileInformation or the final node, AccessedDate. If it is a node fragment, you will probably want to use xslt version 1.1 as it allows for node fragment accessing without an extension function. Otherwise, you'll need to use an extension function within your xml processor. An example of this is:
<x:stylesheet version="1.0" xmlns:x="http://www.w3.org/1999/XSL/Transform" xmlns:m="urn:schemas-microsoft-com:xslt"> . . . <x:value-of select="m:node-set($newDate)/General/AccessedDate"/>
Hope that helps! bix
From: "Pilarski,James" <James.Pilarski@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "XSL-List (E-mail)" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 3 Mar 2003 11:31:48 -0600
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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