xsl-list
[Top] [All Lists]

RE: Disable-output-escaping within attributes using Xalan-J 2.5.1+

2003-09-02 04:28:56
Hi,

The problem is that I need to be able to write JSP expressions within
attributes:

    <input type="text" value="<%= "Jsp Output Within Attribute" %>"/>

I'm using Xalan-J 2.5.1 and I can't seem to get it together.
I know that you can force saxon not to escape attributes
(saxaon:disable-output-escaping) and I'm looking for a 
similar solution for
Xalan.
Any solutions (preferably non-hairy)?

Instead of output "<%=" and "%>" as JSP delimiters, output &#xE000; and 
&#xE001; (from Private Use Area) and either extend a Xalan serializer to 
replace those characters in attributes with the JSP delimiters, or post-process 
with sed/perl/omnimark to replace them. Or switch to Saxon.

Cheers,

Jarno - Funker Vogt: Black Hole (Live Version)

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



<Prev in Thread] Current Thread [Next in Thread>