FoI have something like this in my xml file
<tutor>
<heading>tutor</heading>
<p>paragraph</p>
<p>paragraph one two <a href="http://three.com">three</a> four give</p>
<ul>
<li>item</li>
<li>item</li>
<li>item</li>
</ul>
<p>paragraph</p>
<p>paragraph<a href="http://acho.com">test</a> one two two three</p>
<p>paragraph</p>
<p>paragraph</p>
</tutor>
how can I output the links correctly using xsl? I tried applying templates and using for-each but just couldn't do it correctly I have something like this in my xsl file
<xsl:template match="tutor">
<h4><xsl:value-of select="./heading" /></h4>
<p><xsl:value-of select="./p" /></p>
<a href="{./p/a/@href}"><xsl:value-of select="./p/a" /></a>
</xsl:template>
but and something similar but just couldn't get it right. Can someone please give me a hand? Thanks
my output that I want is something like....
tutor
paragraph
paragraph one two three four give
the bullet lists and so on
and where three is will be a link just like how things are outputted in html