You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Rosenstrauch <da...@dti.net> on 2001/12/04 20:03:53 UTC
Cocoon ignoring xsl:output ident?
Having a problem.
My stylesheet starts with:
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xalan="http://xml.apache.org/xslt"
>
<xsl:output
indent="yes"
xalan:indent-amount="4"
/>
But Cocoon seems to be ignoring the <xsl:output indent="yes" ...>. All of the output is coming out on the same line.
Ideas? Suggestions? Do I need to somehow tell cocoon to turn on Xalan indent processing some other way?
TIA!
DR
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon ignoring xsl:output ident?
Posted by David Rosenstrauch <da...@dti.net>.
At 01:02 AM 12/5/01 +0100, you wrote:
>In the default-sitemap there are a few examples:
>
><map:serializers default="html">
> <map:serializer name="html" mime-type="text/html"
>src="org.apache.cocoon.serialization.HTMLSerializer">
> <doctype-public>-//W3C//DTD HTML 4.01//EN</doctype-public>
>
><doctype-system>http://www.w3.org/TR/html4/strict.dtd</doctype-system>
> <encoding>iso-8859-1</encoding>
> </map:serializer>
></map:serializers>
>
>Like encoding is specified here, everything else of <xsl:output> has to be
>specified too. I don't know whether there are any limitations in comparison
>with <xsl:output>.
>
>Regards,
>
>Joerg
Looks like there are limitations. I can't specify the Xalan extension "xalan:indent-amount", for example.
Oh well. Thanks for the info.
DR
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon ignoring xsl:output ident?
Posted by Jörg Heinicke <jo...@gmx.de>.
In the default-sitemap there are a few examples:
<map:serializers default="html">
<map:serializer name="html" mime-type="text/html"
src="org.apache.cocoon.serialization.HTMLSerializer">
<doctype-public>-//W3C//DTD HTML 4.01//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/html4/strict.dtd</doctype-system>
<encoding>iso-8859-1</encoding>
</map:serializer>
</map:serializers>
Like encoding is specified here, everything else of <xsl:output> has to be
specified too. I don't know whether there are any limitations in comparison
with <xsl:output>.
Regards,
Joerg
----- Original Message -----
From: "David Rosenstrauch" <da...@dti.net>
To: <co...@xml.apache.org>
Sent: Tuesday, December 04, 2001 8:33 PM
Subject: Re: Cocoon ignoring xsl:output ident?
> Thanks for the RTFM! :-)
>
> But how does this work in C2?
>
>
> Thanks!
>
> DR
>
>
> At 08:22 PM 12/4/01 +0100, you wrote:
> >http://xml.apache.org/cocoon1/faqs.html#faq-xsloutput
> >
> >Regards,
> >
> >Joerg
> >
> >
> > > But Cocoon seems to be ignoring the <xsl:output indent="yes" ...>.
All of
> >the output is coming out on the same line.
> > >
> > > Ideas? Suggestions? Do I need to somehow tell cocoon to turn on
Xalan
> >indent processing some other way?
> > >
> > >
> > > TIA!
> > >
> > > DR
> >
> >
> >
> >---------------------------------------------------------------------
> >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: <co...@xml.apache.org>
> >For additional commands, e-mail: <co...@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon ignoring xsl:output ident?
Posted by David Rosenstrauch <da...@dti.net>.
Thanks for the RTFM! :-)
But how does this work in C2?
Thanks!
DR
At 08:22 PM 12/4/01 +0100, you wrote:
>http://xml.apache.org/cocoon1/faqs.html#faq-xsloutput
>
>Regards,
>
>Joerg
>
>
> > But Cocoon seems to be ignoring the <xsl:output indent="yes" ...>. All of
>the output is coming out on the same line.
> >
> > Ideas? Suggestions? Do I need to somehow tell cocoon to turn on Xalan
>indent processing some other way?
> >
> >
> > TIA!
> >
> > DR
>
>
>
>---------------------------------------------------------------------
>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: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon ignoring xsl:output ident?
Posted by Jörg Heinicke <jo...@gmx.de>.
http://xml.apache.org/cocoon1/faqs.html#faq-xsloutput
Regards,
Joerg
> But Cocoon seems to be ignoring the <xsl:output indent="yes" ...>. All of
the output is coming out on the same line.
>
> Ideas? Suggestions? Do I need to somehow tell cocoon to turn on Xalan
indent processing some other way?
>
>
> TIA!
>
> DR
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>