hello,
i have been writing an XSL to
convert some XML files, and i encountered the following
problem:
this is part of the xml
file:
<book>
<date>.........</date>
<para>..........</para>
<history>
<para>..........</para>
<fact>............</fact>
<discussion>.......</discussion>
<para>..........</para>
<pageno>.......</pageno>
<para>..........</para>
<para>..........</para>
<pageno>.......</pageno>
</history> </book>
the problem i am facing is
that below the child node of history tag, I could display only the para tags,
the other tags like <facts>, <discussion> and <pageno> tags
doesn't get displayed.
The part of xsl below the history tag is like
this.
<xsl:for-each
select="case/history/para">
<p>
<xsl:value-of/>
</p> </xsl:for-each> <xsl:for-each
select="case/history/fact"> <DIV
STYLE="text-align:center">
<xsl:value-of/>
</DIV> </xsl:for-each> <xsl:for-each
select="case/history/discussion"> <DIV
STYLE="text-align:center">
<xsl:value-of/>
</DIV> </xsl:for-each>
Menon
|