xsl-list
[Top] [All Lists]

Re: [xsl] copy-of XHTML replicates end-tag when xsl:output is HTML

2011-12-21 11:51:40
Hi,

On 12/21/2011 10:41 AM, Jirka Kosek wrote:
On 21.12.2011 16:34, Andrew Welch wrote:
Output  method "html" applies to elements in no namespace whereas
your elements are in the XHTML namespaces.

ahh, good spot.

Another good reason to finally introduce special HTML5 and XHTML5
ready output methods that will properly serializace both elements in
no-namespace and in XHTML-namespace.

All true enough, but if Peter is running under Cocoon (as I think he said), then Cocoon's serializer is the culprit and xsl:output is probably not being respected.

I think he needs to look at the serializer he is using in Cocoon. Assuming he wants XHTML, it's possible to construct one based on the XML serializer (if none is available out of the box: I can't recall).

Cheers,
Wendell

======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--