[jdom-interest] Help with xsl:text disable-output-escaping="yes"
laurent.bihanic at atosorigin.com
Thu Sep 12 07:52:12 PDT 2002
Actually I was requesting opinions about modifying XMLOutputter to recognize
some PIs to drive output generation.
Bradley S. Huffman wrote:
> Would using javax.xml.transform.stream.StreamSource (included in JDK1.4)
> instead of JDOMResult me your needs.
> "Emmett McLean" writes:
>>As Laurent asked ...
>>Any opinions or suggestions?
>>---- Laurent Bihanic <laurent.bihanic at atosorigin.com> wrote:
>>>disable-output-escaping only applies when the XSLT processor outputs
>>>result as XML ou HTML. It does not apply when the output is a SAX event
>>>as it is the case when you use JDOMResult.
>>>JDOM receives a sequence of characters and, when requested to ouput
>>>document as XML, performs the escaping so that the output XML represents
>>>actual JDOM document content. In your case, this content is text.
>>>The only way JDOM could reproduce Xalan behaviour would be for XMLOutputter
>>>interpret the <?javax.xml.transform.disable-output-escaping?> PI.
More information about the jdom-interest