RE: [xsl] FW: cdata-section-elements and HTML output method.

Subject: RE: [xsl] FW: cdata-section-elements and HTML output method.
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 26 Mar 2001 10:14:55 +0100
> > Michael Key in the "XSLT Programmer's Reference" writes that
> > cdata-section-elements is not applicable to HTML output. (page 260)
> > I can't find in XSLT spec anything that can motivate this
> conclusion.
> > Instead spec says in section 16.2 HTML Output Method:
> > "The html output method should not output an element
> differently from
> > the xml output method unless the expanded-name of the element has a
> > null namespace URI; an element whose expanded-name has a non-null
> > namespace URI should be output as XML. ..."

The spec also says "If the semantics of an [xsl:output] attribute are not
defined for an output method, then it is not applicable to that output
method". The semantics of cdata-section-elements are not defined for output
method "html".

Mike Kay


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


Current Thread