[Portfolio] XSL displaying HTML code in presentation
sean at keesler.org
Wed Jul 15 10:53:30 PDT 2009
If you provide the passthrough XML and your stylesheet, it would be a
little easier to help!
130 Academy Street
Manlius, New York 13104 USA
sean.keesler at threecanoes.com
On Wed, Jul 15, 2009 at 12:10 PM, Noah Botimer<botimer at umich.edu> wrote:
> I would try value-of in both places and do the output escaping only
> where you output it (not when declaring the variable). Also, it looks
> like that XPath is a bit complicated. You should verify that it's
> hitting the right element.
> On Jul 15, 2009, at 10:46 AM, Jon Wheat wrote:
>> I thought I had this working, but it seems I do not.
>> I have a richtext editor in a form for reflection (pretty standard,
>> I have this code in my stylesheet to render it -
>> <xsl:variable name="reflection" ><xsl:copy-of select="/*/*[name(.)
>> = $node-name]/artifact/structuredData/document/docReflection"
>> <xsl:copy-of select="$reflection" />
>> which I thought would render the html as html, not text. I've also
>> tried value-of ... which also renders the code to the screen.
>> like this : <p><strong>There and Back Again</strong></p> <p>Lorem
>> ipsum dolo</p>
>> any ideas what I might be doing wrong ?
>> portfolio mailing list
>> portfolio at collab.sakaiproject.org
>> TO UNSUBSCRIBE: send email to portfolio-
>> unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> portfolio mailing list
> portfolio at collab.sakaiproject.org
> TO UNSUBSCRIBE: send email to portfolio-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the portfolio