[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xpath expression restriction
Hi Mukul,
It works with the braces. Still I wonder why it did not pick the "if" and evaluate it? I am not sure if I understand your question right, but In the example, $cond is only checking for empty (null) or not. In the code, it is more like if ($logging or ($logged and string($nxtid))) then 1 else 0 also, abc is a sequence closer to $data//wf/* and the idea is simply to not copy the first element, under some condition also, it is not really an xsl:copy-of, but an xsl:sequence ... Thank you. Regards, ac Hi Andre, I'm not sure, but perhaps writing the whole if condition in braces may force evaluation of the if expression before providing this operand to operator "gt".
|
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
|