[Home] [By Thread] [By Date] [Recent Entries]
--On Wednesday, September 05, 2007 02:31:22 PM -0400 Lou Iorio wrote:
I'd rather not have the xhtml name stuff in the output. Is there a way around this? Since you are using XSLT 2 and the HTML output method you should look at what that means: <http://www.w3.org/TR/xslt-xquery-serialization/#html-output> In particular "The HTML output method MUST NOT output an element differently from the XML output method unless the expanded QName of the element has a null namespace URI." If you intend the output to be HTML and the input is XHTML (and so in the XHTML namespace) you have to convert those input elements to elements with a null namespace URI. The "Removing Namespaces" FAQ entry shows how to do that: <http://www.dpawson.co.uk/xsl/sect2/N5536.html#d7594e1750> Note that the "<p>other stuff</p>" in the transform is already in the null namespace so should work as it is. -- Owen Rees ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN
|

Cart



