Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: ExtensionData display html tags

  1. #1
    jamotion is offline Senior Member
    Join Date
    Jul 2007
    Posts
    215

    Default ExtensionData display html tags

    Does anyone know how do I render html tags in the xml file for extension data? Im showing "<br>" in an extension field when it should actually line break.

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Are you rendering this to a page using an xmlpackage? Did you make sure to add disable-output-escaping="yes" as an attribute to the line that you are using to pull the extension data...e.g.
    Code:
    <xsl:value-of select="ExtensionData" disable-output-escaping="yes"/>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    jamotion is offline Senior Member
    Join Date
    Jul 2007
    Posts
    215

    Default

    Perfect, I had disable-output-escaping="yes" in the wrong field.