This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mystery #3: rendering embedded HTML


>>>>> "J" == Julian Reschke <julian.reschke@gmx.de> writes:

    J> You can use disable-output-escaping in this situation.
    >>  Not quite.  doe works for inline literal markup chars:
    >> 
    J> <envelope> <![CDATA[ <p>My mal-formed HTML.<br> ]]> </envelope>
    >>  My situation is the inverse of doe. What I have is
    >> 
    >> <envelope>&lt;p&gt;My mal-formed HTML
    >> escaped.&lt;br&gt;</envelope>

    J> No, that's the same thing -- at least as far the XPath/XSLT
    J> data model is concerned.

Hmmm ... well, if it is, it doesn't work.  The output from
disable-output-scaping of

    <envelope>&lt;p&gt;My mal-formed HTML escaped.&lt;br&gt;</envelope>

is

    <envelope>&lt;p&gt;My mal-formed HTML escaped.&lt;br&gt;</envelope>

and gets rendered in the browser as literals.

-- 
Gary Lawrence Murphy <garym@teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]