Derek,

thank you for the additions. 

> I'm not quite sure what is meant by "where the URI-valued attributes are
> [should be]
> detected automatically?"  I'm still a little new at this:)  Only certain
> stings need to be
> url/html/javascript/etc encoded, the processor would not know which ones...

Here's what section 16.2 of the XSLT spec says:

"The html output method should escape non-ASCII characters in URI
attribute values using the method recommended in Section
B.2.1 of the HTML 4.0 Recommendation."

...which is that method with percent signs. So there's a fixed list of
attributes which hold a URI value in HTML 4.0. For these (and only for
these) the URI escaping will be done.

The extra functions will be handy if someone needs to do the escaping on
a different attribute.

Sablotron has the code to do the escaping, but not yet to detect the URI
attributes when using the HTML output method.

Tom



Reply via email to