|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How can i convert the variable value into xpath
It's simple.If u put an Xpath within quotes then it will treat it as string.So the work around is define the variable as <xsl:variable name="bla bla"><xsl:value-of select="//a/c "/></xsl:variable> Best of Luck. -----Original Message----- From: Gurpreet Singh [mailto:gpsingh@xxxxxxxxxxx] Sent: Thursday, March 07, 2002 9:38 AM To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx' Subject: How can i convert the variable value into xpath > Hi, > How can i convert the variable value into xpath ?? > e.g . a variable var has value //a/c > now if i write <xsl:value-of select="$var"/> > i am getting the value //a/c and not the value of xpath //a/c. > > > > Gurpreet Singh > QUARK Media House (I) Pvt. Ltd. > A-45, Indl Area, Phase VIII-B, > Mohali-160059. > Tel : +91.172.257801-16(O) Ext : 9550 > +91.172.569799(R) > Fax : +91.172.257414 > E-Mail : gpsingh@xxxxxxxxxxx <mailto:gpsingh@xxxxxxxxxxx> > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|

Cart








