|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPATH to be used in a for-each loop wherein the X
Rahul,
The only other way to do it is to use two stylesheets. The first generates a stylesheet in which the XPath appears as an honest XPath, not a string. Then you run this stylesheet over your source document. Check the FAQ or another online resource on stylesheets to generate stylesheets. (Your first stylesheet may be pretty simple: it's just a copy of your second stylesheet with a call to include the value of your variable as the expression in the relevant spot.) Once you've tried that, ask again if you get stuck: there are list readers who have done this. Regards, Wendell At 09:10 AM 7/25/2003, you wrote: I want to use an XPATH in a for-each loop.The XPATH is stored in a variable as a string. I want to traverse the XPATH in a for-each loop but i dont want to use the (xalan:evaluate) function. Are there any other ways of doing this? ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== 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








