Using XSP Pages and ESQL logicsheet to generate XML Streams results in
putting several namespaces used for internal XSP processing in the final
stream, i.e.:
xmlns:xsp="http://apache.org/xsp";
xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";

This is very ugly becaucse i have no need of these namespaces in the
final XML stream. In some cases i use ESQL to get XML fragments to
database fields with formatte XHTML-Paragraphs; in this case these
namespaces appear on every paragraph in the resulting HTML page
increasing the size and decreasing source-readability.

Is there any possibility to suppress this? I tried combinations of
"exclude-result-prefixes" in XSLT but this does not work for namespaces
resultet from XSP generation.

Another note: This problem was not there with the early betas of cocoon
2 and slipped in some time afterwards.

Stefan

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to