xsl-list
[Top] [All Lists]

RE: Variable assign

2005-12-07 08:33:04
   <xsl:variable name="file">
          ....
   </xsl:variable>

This creates a result tree.

Correct.

 You need to use a node-set extension to convert this to a  node-set.

But you don't need a node-set. You can supply a string to the document()
function, and RTF-to-string conversion is automatic. 

  <xsl:variable name="file" select="concat($SHARE, 
$bizcase/@lang, '/descriptors/', @descriptor)"/>

This creates a node-set.

No, it creates a string.

Michael Kay
http://www.saxonica.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>