xsl-list
[Top] [All Lists]

Re: Re: [xsl] XML Namespaces and <xsl:output> don´t work

2008-10-15 16:19:08


xsl:output dont´t work.

Most likely because the result tree is not being serialised by the XSLT
engine. It appears that you are using cocoon which as I recall allows the
result to be passed as an in-memory tree on through a pipeline and
serialisation is handled by cocoon rather than the XSLt engine.

I i put **** <map:serialize type="xml"/>  then xsl:output work, and Doctype 
is added but the result is xml, don´t html

what can i do?
That's a cocoon question not an XSLt one, and it's been many years since
I used cocoon sorry, perhaps someone else can tell you how to get html
serialisation. It's off topic for this list though, really.

However

I i put **** <map:serialize type="xml"/>  then xsl:output work, and Doctype 
is added but the result is xml, don´t html

You have put your elements in the xhtml namespace and specifid the xhtml
doctype, so you should want xml serialisation not html. Using the xhtml
doctype with html (should) just lead to parse errors 9although of curse
browsers don't report errors). If you want html you should use
no-namepsae and use html serialisation.


David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--