[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Disable-output-escaping within attributes using Xa

Subject: RE: Disable-output-escaping within attributes using Xalan-J 2.5.1+
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 2 Sep 2003 14:28:56 +0300
jsp delimiters
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.