[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] How to test if the variable contains nodeset or not
Subject: RE: [xsl] How to test if the variable contains nodeset or not From: Jarno.Elovirta@xxxxxxxxx Date: Thu, 5 Jun 2003 15:54:09 +0300 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to test if the variab, David Carlisle | Thread | [xsl] walking a tree, florian |
[xsl] How to test if the variable c, DURDINA Michal | Date | Re: [xsl] How to test if the variab, David Carlisle |
Month |
Keywords