[Home] [By Thread] [By Date] [Recent Entries]
hi gurpreet, if i understand the problem coreectly, your xml file looks like <a> <c> Text in C Node </c> </a> and u want to write xpath expression to get c text try running the xsl in the following way <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:variable name="var" select="//a/c"/> <xsl:value-of select="$var"/> </xsl:template> </xsl:stylesheet> Well, this is what i understod and it looks fairly simple. please let me know if this is not your problem , in which case please give a sample xml file and a sample output. regards laura From: Gurpreet Singh <gpsingh@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: How can i convert the variable value into xpath Date: Thu, 7 Mar 2002 09:37:44 +0530 _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



