xsl-list
[Top] [All Lists]

Re: Beginner: adding xmlns:mml attribute

2003-01-09 08:20:29
On Thu, Jan 09, 2003 at 01:37:13PM +0000, Jeni Tennison wrote:
Hi Daniel,

  I'm also surprized that Saxon indents HTML output by default in the
absence of an xsl:output directive asking for such a transformation.

Concerning the html output method, the XSLT Rec. says:

  If the indent attribute has the value yes, then the html output
  method may add or remove whitespace as it outputs the result tree,
  so long as it does not change how an HTML user agent would render
  the output. The default value is yes.

So I think that it's legal for Saxon to add indentation at this top
level; of course it's also legal not to.

  Okay, thanks Jeni and David, I missed that part !
I may switch that on if it is what is usually expected.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard(_at_)redhat(_dot_)com  | libxml Gnome XML XSLT toolkit  
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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