This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: passing a string as a node list
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] passing a string as a node list
- From: "Tim" <xsl at cheekymail dot net>
- Date: 21 Jun 2001 16:34:49 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Ta, Tom.
I've found mention of the xalan:evaluate() extention a few times but
the xml.apache.org says it's not implemented yet. Anyone know if it's
been done in the CVS?
Thanks, Tim.
> Standard xslt does not let you convert a result-tree-fragment (or a
string)
> into a node-set. Some processors (like SAXON) have an extension
function
> that does let you do it. Xalan (which I think you meant instead of
Xerces)
> also has one (I think, someone else would know for sure). How you
invoke
> the extension function is different from one processor to another, so
you
> have to read Mike Kay's book, the docs for your processor, or search
in the
> FAQs. Actually, I'm not sure if you could convert a string anyway,
but you
> can probably change your stylesheet to make it work.
>
> Cheers,
>
> Tom P
>
> [Tim]
>
> > If I use the $keywords variable directly, Xerces throws the
exception
> > saying "Can not convert #STRING to a NodeList" so I've been trying
> > various methods of turning the string into the node list.
> >
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list