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

Subject: Re: [xsl] copy-of XHTML replicates end-tag when xsl:output is HTML
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 21 Dec 2011 12:51:28 -0500
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@xxxxxxxxxxxxxxxx
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
======================================================================

Current Thread