Subject: [xsl] Re: Problem in Using two RTFs together From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Fri, 15 Jun 2001 00:40:43 -0700 (PDT) |
Yang wrote: > When I used the source xml ,// z:row ,as the attribute of select of > apply-templates, > the data from with-param can be accessed and can be used to display the > desired output. > > However When I advanced to used the modifed source xml which is rtf-zs as > the attribute of select of apply-templates > then the data passed through with-param seems to be the empty one. Hi Yang, When an RTF, converted into a node-set with the xxx:node-set() function is accessed, it consists of a single node (the root of the tree). Therefore, <xsl:apply templates select="msxsl:node-set($someRTF)"/> is most probably not going to work -- you have provided template(s) matching the type of the children of the root -- not of the root itself. Use: <xsl:apply templates select="msxsl:node-set($someRTF)/node()"/> Hope this helped. Cheers, Dimitre Novatchev. __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xalan, B. Tommie Usdin | Thread | [xsl] Why is my xsl:param empty? (p, Rene de Vries |
[xsl] xalan, Jeel Patel | Date | RE: [xsl] Copy DocType, Michael Kay |
Month |