Menu

#11 output methods html and xhtml: preserve whitespace

open
nobody
None
5
2012-10-08
2003-03-18
Anonymous
No

Hi

I'm using Saxon 7.4, and I would like to have something
like
http://lists.w3.org/Archives/Public/public-qt-comments/2003Feb/0023.html

I think I would change

"(c) whitespace must not be added inside a formatted
element, the formatted elements being pre, script,
style, and textarea"

to s.th. like

"(c) whitespace must be preserved inside a formatted
element, the formatted elements being pre, script,
style, and textarea"

"preserving whitespace" means that no whitepsace is to
be added or removed.

P.S.

I'd like to vote for the following RFEs:

524227 source xml via stdin

Very useful (when there are no external entities or
relative paths eg to a DTD), if it will work smoothly
on Win/Lin/Mac/etc.

510067 Allow source validation
509824 URIResolver for output docs

This would be very useful if Saxon would provide full
catalog support.
There could be commandline switches for both input and
output docs.
Default (for validate=yes) could look like this:
The input specified on the commandline, or via stdin,
and all output documents (xsl:result-document),
are automatically validated if they have a DTD doctype
declaration.
(User options could include RNG/WXS, and validation of
multiple input docs (document())).

Tobi

Discussion


Log in to post a comment.