[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: dynamic node access
David Carlisle wrote:
The problem lies in that a <SubConcepts> node is created only if there exists some 'Toyota'. So I've created the <SubConcepts> node dynamically inside the <xsl:template> of the <PrimeConcept> node. A simple <xsl:element name='SubConcepts'> within this template automatically places it as a child of <PrimeConcept>. However I want <SubConcepts> to be the child of <Top> even though its being created inside the <PrimeConcept> template.So how can I create the element <SubConcepts> below <Top> and not <PrimeConcept> ? incidentally This looks neat. Will refine my code. Thanks Rahil
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|