|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: an Xpath question - $tag/$subtag
> > $v1/$v2 does depend on $v1 being empty (or not) doesn't it? > Isn't it if empty($v1) then $v2 else () > > (Just in case you were planning to optimise it away:-) > You are almost right. It also forces the nodes in $v2 to be deduplicated and in document order (and forces them to be nodes!). And the empty() condition is the other way around. So I think it is actually if (empty($v1)) then () else $v2/. Michael Kay 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








