[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] nodeset comparison
I am trying to solve the following problem and am having difficulty because I'm new to this. Can anyone help? If I have a nodeset (#1) <menu> <item> <text>test</text> <param required='y'>contactid</param> <param>searchtype</param> </item> </menu> and another nodeset (#2) <parameters> <searchtype>Boolean</searchtype> <anotherparam>testing</anotherparam> </parameters> how do I compare these two such that the test in an <xsl:choose> <xsl:when test=""> ... returns false because the required param contactid (from <param required='y'>contactid</param> in nodeset #1) is not an element name within nodeset #2? If on the other hand the "required" attribute did not exist then the result of the comparison would be true as a match for searchtype as an element name was found. Thanks in advance. 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
|