Re: [xsl] Beginner: adding xmlns:mml attribute

Subject: Re: [xsl] Beginner: adding xmlns:mml attribute
From: Daniel Veillard <daniel@xxxxxxxxxxxx>
Date: Thu, 9 Jan 2003 16:20:29 +0100
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@xxxxxxxxxx  | 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


Current Thread