xsl-list
[Top] [All Lists]

RE: trouble getting at node

2006-01-16 16:26:25
dan(_at_)streampad(_dot_)com wrote:

I am trying to access the child node of specific nodes
based on their attributes, but am having trouble.

  As I understand from your examples, you want to create elements in
the result tree named from attribute value from the input tree.

    <xsl:template match="Field">
      <xsl:element name="{(_at_)Name}">
        <!-- Or something else... -->
        <xsl:apply-templates/>
      </xsl:element>
    </xsl:template>

--drkm



















        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.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>
--~--



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