Hello,
I have a XML document which is typically :
<course>
<section>
<title>Foo</title>
There comes the text
</section>
<section>
<title>Foo</title>
There comes the text
</section>
</course>
I'd like to indent the "There comes the text" part, but not the title.
This is what I tried, but unfortunately it doesn't work :
<xsl:template match="course/section">
<xsl:apply-templates select="title"/>
<ul>
<xsl:apply-templates select="*[not(title)]"/>
</ul>
</xsl:template>
Could someone give me advice on this. I'd like to avoid the for-if
combination if possible.
Thanks in advance,
--
_|_|_| CnS
_|_| for(n=0;b;n++)
_| b&=b-1; /*pp.47 K&R*/