C
ChrisEvans
Hi there,
I've got an XML file which uses an XSL stylesheet. Problem is:
<br />
tags don't work for me when the content is gathered from the xml.
Example:
<main>
<title>Hi</title>
<content>Hello, how are you?<br /><br />I'm fine.</content>
</main>
Then in the stylesheet its positioned in the correct place etc and
using <xsl:value-of select="content" /> - trouble is the <br /> doesn't
do anything.
Help would be appreciated!
Thanks,
Chris
I've got an XML file which uses an XSL stylesheet. Problem is:
<br />
tags don't work for me when the content is gathered from the xml.
Example:
<main>
<title>Hi</title>
<content>Hello, how are you?<br /><br />I'm fine.</content>
</main>
Then in the stylesheet its positioned in the correct place etc and
using <xsl:value-of select="content" /> - trouble is the <br /> doesn't
do anything.
Help would be appreciated!
Thanks,
Chris