[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: unix problems
Yes, which version is it? If it is an older one (2.2.x), I will know one
more example for conversion problems. You can also force the type
conversions:
test="not(boolean(number(string-length($demoValue[@value='valid']))=0))" But I would use one of the two shorter versions test="string($demoValue[@value = 'valid'])" test="normalize-space($demoValue[@value = 'valid'])" where the first one does the same like yours. The second one removes leading and trailing spaces and reduces multiple spaces to one space (space means all space characters: http://www.w3.org/TR/REC-xml#NT-S). So the difference is only with nodes containing only space characters. Regards, Joerg Laura wrote: so would this mean that this is a bug in XALAN?? 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
|