xsl-list
[Top] [All Lists]

Re: dynamic node access

2005-02-21 08:15:09


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="{(_at_)id}" name="{(_at_)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
________________________________________________________________________

--~------------------------------------------------------------------
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>