Subject: [xsl] FW: cdata-section-elements and HTML output method. From: "Sergey Dubinets" <sdub@xxxxxxxxxxxxx> Date: Fri, 23 Mar 2001 12:48:49 -0800 |
The question is should XSLT processor output CDATA sections when output method == html? For elements that have non null namespace? (in data island fro example) > 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. ..." (Nothing in spec points to ignore cdata for content of HTML elements (once with null ns) either, but this can be tricky because of case insensitivity of HTML.) > MSXML also ignores cdata-section-elements directive when generating > HTML output. > What should be the correct behavior for XSLT processor? > Sergey XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] grouping question, Blake, Stephen | Thread | RE: [xsl] FW: cdata-section-element, Michael Kay |
[xsl] grouping question, Blake, Stephen | Date | [xsl] document() function in XT wit, sara . mitchell |
Month |