I tried descendant::title. It put all titles together before contents of all <p>. I also tried to add
<center><font color="blue">
<br/><xsl:apply-templates select="sec/title"/>
</font></center>
<br/>
it wrote out all sub sec titles before contents of all <p>.
Thanks!!
Ok. I took the nested xsl:template out. My code is
<xsl:template match="/">
<html>
<body bgcolor="#FFFFFF">
<xsl:apply-templates select="//body/sec"/>
</body>
</html>
</xsl:template>
<xsl:template match="//body/sec">
<center><font color="blue">...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.