claire rand
01-05-2005, 09:56 PM
ok another probably daft question, hopefully as easy to solve as the last one..
i hope the code snippet below shows what i'm trying to do.
<faq>
<question>
<p>this is some <b>text</b></p>
</question>
</faq>
what i'm then doing is extracting the <question> element, ala the <p> .. </p> string display it, so far so good.. xsl:value-of gets it fine, but is displays as raw text, the <html> tags are ignored.
Now i've tried setting the css page up with infomation about these tags, i can format the stuff in the xsl file, but each <question> .. </question> element can contain any amounb of basic html code, typically paragraphs and links, no actual formatting info is here, just teh tags.
Is this actually possible? of does the <question> .. </question> element need breaking down a hell of a lot more?
i hope the code snippet below shows what i'm trying to do.
<faq>
<question>
<p>this is some <b>text</b></p>
</question>
</faq>
what i'm then doing is extracting the <question> element, ala the <p> .. </p> string display it, so far so good.. xsl:value-of gets it fine, but is displays as raw text, the <html> tags are ignored.
Now i've tried setting the css page up with infomation about these tags, i can format the stuff in the xsl file, but each <question> .. </question> element can contain any amounb of basic html code, typically paragraphs and links, no actual formatting info is here, just teh tags.
Is this actually possible? of does the <question> .. </question> element need breaking down a hell of a lot more?