Re: [xsl] dynamic node access

Subject: Re: [xsl] dynamic node access
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 21 Feb 2005 15:15:09 GMT
> So how can I create the element <SubConcepts> below <Top> and not 
> <PrimeConcept> ?

just move it there in the stylesheet, what's the problem?

incidentally

                <xsl:element name="SubConcept">
                    <xsl:attribute name="id"><xsl:value-of 
select="@id"/></xsl:attribute>
                    <xsl:attribute name="name"><xsl:value-of 
select="@name"/></xsl:attribute>
                </xsl:element>

is a very long way of writing

                <SubConcept id="{@id}" name="{@name"/>

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread