[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to test if the variable contains nodeset or no
Hi, > Now I need to test, if a parameter within called template > contains nodeset > or it contains string, because when it is not handled I get > exception > The > value is not a node-set There's no XSLT way of doing this. See <http://exslt.org/exsl/functions/object-type/index.html>. If extension function is out of the question, then you just have to make sure the input is always either a string or a node-set... well, you can handle the node-set as if it was a string, but still. Cheers, Jarno - Nick Sentience: March 2003 Mix 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
|