[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] trouble getting at node


Subject: RE: [xsl] trouble getting at node
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Tue, 17 Jan 2006 00:26:25 +0100 (CET)

dan@xxxxxxxxxxxxx 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="{@Name}">
        <!-- Or something else... -->
        <xsl:apply-templates/>
      </xsl:element>
    </xsl:template>

--drkm



















	

	
		
___________________________________________________________________________ 
Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com


Current Thread