xsl-list
[Top] [All Lists]

Re: How to retrieve value(which is copied into RTF as a variable) from RTF

2005-01-04 06:40:10
I could able to solve it using 
<xsl:value-of select="attribute::*"/>

regards,
Ranjan
--- "Ranjan K. Baisak" <ranjanbaisak(_at_)yahoo(_dot_)com> wrote:

I have a RTF with following declaration
<xsl:variable name="professionLevel"> 
              <xsl:for-each select="//profession">
                      <xsl:variable name="nameval" select="@name"/>
                      <xsl:variable name="parentval" select="@parent"/>
                      <xsl:for-each
select="exslt:node-set($leverreference)/*">
                              <xsl:variable name="referid"
select="@levelref"/>
                              <xsl:if test="$referid=$parentval">
                                      <xsl:copy>
                                              <xsl:copy-of select="$nameval"/>
                                      </xsl:copy>
                              </xsl:if>
                      </xsl:for-each>
              </xsl:for-each>
      </xsl:variable>

Later I want to retrieve $nameval from
professionLevel
RTF.
I tried with
<xsl:for-each
select="exslt:node-set($professionLevel)/*">
              <xsl:value-of select="."/>
      </xsl:for-each> 
but it did not work. 
Any suggestion?

regards,
Ranjan


              
__________________________________ 
Do you Yahoo!? 
Dress up your holiday email, Hollywood style. Learn
more. 
http://celebrity.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>
--~--





                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.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>
--~--