|
Subject: Re: [xsl] dynamic node access From: RQamar <qamar_rahil@xxxxxxxxxxx> Date: Mon, 21 Feb 2005 17:19:41 +0000 |
Then you might need something
<xsl:template match="/"> <Top> <PrimeConcept><xsl:apply-templates select="something"mode="top"/></PrimeConcept> <SubConcept><xsl:apply-templates select="something else "mode="somethingelse"/></SubConcept> </Top> </xsl:template>
or you might not.
-------------------
<TopNode id="10180" name="Car">
<Child>
<Concept name="Toyota" ref="10235"/>
</Child>
</TopNode>
<TopNode id="10235" name="Toyota">
<Child>
<Concept name="Corolla" ref="10279"/>
</Child>
</TopNode >
<TopNode id="10279" name="Corolla"/>Thanks Rahil
but only you know what your input looks like or what transformation you are trying to do.
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] OT (browser standards), Mukul Gandhi | Thread | Re: [xsl] dynamic node access, David Carlisle |
| Re: [xsl] OT (browser standards), David Carlisle | Date | Re: [xsl] dynamic node access, David Carlisle |
| Month |