[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Find an xml node from a session variable?
----- Original Message -----
From: "Mike" <mikeickes@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, June 07, 2007 4:49 PM Subject: Find an xml node from a session variable? MikeCan anyone point me to a tutorial or sample on how to find a specific node in an xml file based on a session variable. You can almost certainly do what you want. If, for example, you have a list of user elements within a users element with each user having an id attribute then you need the XPath created by: /users/user[@id = '" + sessionVariable + "']" to retrieve the relevant element. If, when you say JavaScript, you mean can you do this client-side then that depends whether you have some means of transferring the session variable's contents to the client and where the XML with the user data is stored. Joe http://joe.fawcett.name
|
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
|