| Subject: Re: [xsl] Nesting <xsl:value-of> tags From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 03 Feb 2003 16:09:49 -0500 | 
Is it possible to nest <xsl: value-of> tags like this?
If not, is there another way to look up the value of <ntname> from the other document?
<xsl:for-each select="//*[./@filename != '']">
  <xsl:variable name="ownedby" select="../@ownedby"/>
  <!-- binds the ownedby to a variable so we can get it after
       we change context -->
  <xsl:for-each select="$lookupdoc">
    <!-- change context to lookup doc -->
    <xsl:value-of select="key('personsbyID',$ownedby)/ntname"/>
  </xsl:for-each>
</xsl:for-each>HTH-- Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Nesting <xsl:value-of> ta, David Carlisle | Thread | RE: [xsl] Nesting <xsl:value-of> ta, Zvolensky, Thomas J | 
| RE: [xsl] Nesting <xsl:value-of> ta, Dion Houston | Date | Re: [xsl] Are variables allowed in , Harry Ohlsen | 
| Month |