xsl-list
[Top] [All Lists]

RE: xalan:node-set() with < and >

2005-10-17 09:20:17
The xx:node-set() function converts a result tree fragment into a node-set.

What you are looking for is something quite different, a function that
parses a string containing lexical XML.

Recent versions of Saxon have such a function, called saxon:parse(), but I
don't think similar extensions are widely available in other processors. You
may have to write your own.

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: Jacquo Johnson [mailto:genxgeek(_at_)yahoo(_dot_)com] 
Sent: 17 October 2005 16:55
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xalan:node-set() with < and >

Does anybody have some experience with respect to
xalan:node-set()?  I'm trying to get the following to
work via XSLT 1.0 but to no avail (I have to use the
escaped <>'s because that what is being passed into
the sytlesheet).  Thanks!

<xsl:variable name="rtf2">
 
&lt;Node&gt;&lt;Value&gt;HI2&lt;/Value&gt;&lt;/Node&gt;
</xsl:variable>
<xsl:copy-of
select="xalan:nodeset($rtf2)/child::*/Value" />


      
              
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>