|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to find out the context of the current node?
Hi all, See XML example. When I match an actual medication in my XSLT script I want to perform a different action than when I find a history medication. So somehow I need to be able to know what the context of the medication node is. In other words, when I've matched a medication node I want to say something like: if actual medication do something else do something else I know that I can use the xsl:if or xml:choose statement for this. What I don't know is how to find out in what context I am. Can anybode help me with this one? Thanks. Marco (XML example) <Actual> <Medication> <Amount>100cl</Amount> <Usage>xxxxxx</Usage> </Medication> </Actual> <History> <Medication> <Amount>200cl</Amount> <Usage>zzzzzzzzzz</Usage> </Medication> </History> 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








