Failing string() test fail
What would cause a string() test to fail? I've tested on a simple xml, like this, with the following test: Assume we are matching on B <xsl:if test="string(C/@test)">Yes</xsl:if> You get one Yes. <A> <B> <C/> <C/> <C/> </B> <B> <C/> <C test="yes"/> <C/> </B> </A> Of course I have a much more complicated XML, but the premise is the same. So isn't the above test valid? If the test was 3 deep and the context is A, so: B/C/@test, isn't that also valid? Karl.. Karl..
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