Subject: Re: [exslt] output methods (Was: Re: Twig::, Xalan, and Character Escaping)
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 21 Mar 2001 14:10:29 +0000
|
Jeni Tennison wrote:
>
>
> Absolutely. I think there are several output methods that might be
> useful to standardise on, so that you can get URL encoding and named
> entities rather than character entities where appropriate.
>
> For example:
>
> exslt:xhtml
> exslt:svg
> exslt:mathml
> ...
>
> Any other suggestions for standard output methods?
>
Aha! I'd been assuming the solution was to provide url-encode() and
url-decode() methods.
If we're going to provide an extensible list of alternative methods,
then maybe we need a way of expressing and implementing the rules
concerned. Possibly we start with phrasing similar to that for HTML
"The html output method may output a character using a character entity
reference, if one is defined for it in the version of HTML that the
output method is using."
for the character entities; and something rather like a transform for
specifying which elements or attributes get their text content encoded;
and finshing up with an exsl:<myOutput>-encode() function for actually
encoding them.
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Twig::, Xalan, and Character Escaping, (continued)
- Wendell Piez - Tue, 20 Mar 2001 12:32:24 -0500 (EST)
- Francis Norton - Tue, 20 Mar 2001 13:32:26 -0500 (EST)
- Jeni Tennison - Wed, 21 Mar 2001 04:14:14 -0500 (EST)
- David Carlisle - Wed, 21 Mar 2001 05:21:42 -0500 (EST)
- Francis Norton - Wed, 21 Mar 2001 09:11:02 -0500 (EST) <=
- Mike Brown - Wed, 21 Mar 2001 12:07:51 -0500 (EST)
- G. Ken Holman - Fri, 23 Mar 2001 10:14:13 -0500 (EST)
- Jeni Tennison - Mon, 26 Mar 2001 06:14:11 -0500 (EST)
Monte Hayward - Tue, 20 Mar 2001 13:03:00 -0500 (EST)
|
|