|
Subject: [xsl] macthed element lost structures? From: "lech" <lechaelnah@xxxxxxxxxxx> Date: Sat, 27 Mar 2004 10:59:24 -0800 |
my xsl lost all marks of matched elements
I want the output to be <FirstStream><name> TheFirstName </name>
<data> TheFirstData </data> /FirstStream>....
But the output I got is: <FirstStream> TheFirstName TheFirstData
</FirstStream>....
the" <name>" and "<data>"is lost, does anybody have some idea why?
here is my input streams, transformer, thanks for your time and help
ve~~~~~~~~ry much indeed
//lechael
<xsl:template match="overall">
<FirstStream><xsl:apply-templates select="stream1"/>
</FirstStream>
<SecondStream>
<xsl:apply-templates select="stream2|stream3"/>
<SecondStream></xsl:template>
<overall>
<stream1>
<name>
TheFirstName
</name>
<data>
TheFirstData
</data>
</stream1>
<stream2>
<despt>
here is the descript
</despt>
<remark>
Here is the remark
</remark>
</stream2>
</overall>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] this is only a test, lech | Thread | Re: [xsl] macthed element lost stru, J.Pietschmann |
| [xsl] this is only a test, lech | Date | Re: [xsl] macthed element lost stru, J.Pietschmann |
| Month |