Re: xsl:output problem

2002-02-28 Thread Nicola Ken Barozzi

From: "Bartomeu Adrover" <[EMAIL PROTECTED]>

[...]
> I has a problem, because the serializer don't put the ISO-8859-1 encoding.
> My solution was put the encoding in the serializer definition:
> 
> logger="sitemap.serializer.xml.iso"
> src="org.apache.cocoon.serialization.XMLSerializer" pool-max="32"
> pool-min="16" pool-grow="4">
> iso-8859-1
>

Now you can also define default encoding in web.xml and have an Action set
it beforehand.

--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: xsl:output problem

2002-02-27 Thread Bartomeu Adrover

Hello, the xslt tranform xml to xml, but the HTML serializer transform the
result xml in html. If you tell to the sitemap that the serilizer is xml
then your result as xml.
For example:





I has a problem, because the serializer don't put the ISO-8859-1 encoding.
My solution was put the encoding in the serializer definition:

   
iso-8859-1
   
   
iso-8859-1
   
  

KOZLOV Roman wrote:

> Hello,
>
> Could somebody help me, please? Is it possible to use xsl:output in
> stylesheets processed by cocoon's xslt transformer? It seems that it has
> no effect.  Indeed, the problem is that I can't tell to xslt transformer
> that I need a pure XML as a result, but the xslt transformer always
> transforms  to  and it leads to crash of a pipeline.
> My xsl begins like this:
>
>   
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> 
> . . .
>
> Thank you in advance.
>
> -
> 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]>


begin:vcard 
n:Adrover;Bartomeu
x-mozilla-html:FALSE
org:UIB;Servei de Càlcul i Informatizació
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;Edifici Anselm Turmeda, Campus de la UIB=0D=0ACarretera de Valldemossa Km 7,5 ;Palma de Mallorca;Illes Balears;07071;Espanya
fn:Baromeu Adrover
end:vcard



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


xsl:output problem

2002-02-27 Thread KOZLOV Roman

Hello,

Could somebody help me, please? Is it possible to use xsl:output in
stylesheets processed by cocoon's xslt transformer? It seems that it has
no effect.  Indeed, the problem is that I can't tell to xslt transformer
that I need a pure XML as a result, but the xslt transformer always
transforms  to  and it leads to crash of a pipeline.
My xsl begins like this:

  
  http://www.w3.org/1999/XSL/Transform";>

. . .

Thank you in advance.


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




Re: Cocoon ignoring xsl:output ident?

2001-12-05 Thread David Rosenstrauch

At 01:02 AM 12/5/01 +0100, you wrote:
>In the default-sitemap there are a few examples:
>
>
> src="org.apache.cocoon.serialization.HTMLSerializer">
> -//W3C//DTD HTML 4.01//EN
>
>http://www.w3.org/TR/html4/strict.dtd
> iso-8859-1
> 
>
>
>Like encoding is specified here, everything else of  has to be
>specified too. I don't know whether there are any limitations in comparison
>with .
>
>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. 

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




Re: Cocoon ignoring xsl:output ident?

2001-12-04 Thread Jörg Heinicke

In the default-sitemap there are a few examples:



-//W3C//DTD HTML 4.01//EN

http://www.w3.org/TR/html4/strict.dtd
iso-8859-1



Like encoding is specified here, everything else of  has to be
specified too. I don't know whether there are any limitations in comparison
with .

Regards,

Joerg

- Original Message -
From: "David Rosenstrauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 .
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: <[EMAIL PROTECTED]>
> >For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> 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]>
>



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




Re: Cocoon ignoring xsl:output ident?

2001-12-04 Thread David Rosenstrauch

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 .  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. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]> 


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: Cocoon ignoring xsl:output ident?

2001-12-04 Thread Jörg Heinicke

http://xml.apache.org/cocoon1/faqs.html#faq-xsloutput

Regards,

Joerg


> But Cocoon seems to be ignoring the .  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. 

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




Cocoon ignoring xsl:output ident?

2001-12-04 Thread David Rosenstrauch

Having a problem.

My stylesheet starts with:

http://www.w3.org/1999/XSL/Transform";
xmlns:xalan="http://xml.apache.org/xslt";
 >



But Cocoon seems to be ignoring the .  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. 

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




xsl:output

2001-11-27 Thread Sharat Koya








I realise xsl:output
was disabled for various reasons in C1. Does it work in C2?

 

Thanks

Sharat Koya








[c2] xsl:output cdata-section-elements

2001-09-26 Thread Morrison, John

Hi All,

Has anybody gotten xsl:output cdata-section-elements to work under C2?

J.


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

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




Re: [C2] xsl:output ignored?

2001-07-15 Thread Colin Paul Adams

> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes:


Colin> Since I had specified the following in my transform, I
Colin> expected to get a DOCTYPE statment:

Colin>encoding="UTF-8" omit-xml-declaration="no"
Colin> doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";
Colin> doctype-public="-//W3C//DTD XHTML 1.1//EN" />

Colin> The output was indeed xhtml, but no doctype (or xml
Colin> declaration - I probably will need to omit the latter
Colin> anyway).
Colin> So why is there no 
-//W3C//DTD XHTML 1.1//EN
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd
UTF-8
yes
  

Where is this documented?
-- 
Colin Paul Adams
Preston Lancashire

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




[C2] xsl:output ignored?

2001-07-14 Thread Colin Paul Adams

I have just tried my first effort at producing a web page in cocoon 2
by transforming xml with xslt.

My relevant sitemap entry looks like this:

   



   


This actually works, but not 100% as I desired.

I use Opera as my browser, and I like to use Opera's built-in facility
to call the W3C's validation service, to check the validity of the
document I have produced.

I wasn't completely surprised when it failed to validate, but I was
surprised at the particular validation error I got: it was complaining
that the © entity wasn't valid.

When I viewed the source, I noticed that the first tag was the html
tag, so the W3C validator was unable to identify which level of HTML
it was supposed to be validating - this explains the validation error,
as I believe you need HTML 4 for such entities (?).

Since I had specified the following in my transform, I expected to get
a DOCTYPE statment:

  http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";
doctype-public="-//W3C//DTD XHTML 1.1//EN" />

The output was indeed xhtml, but no doctype (or xml declaration - I
probably will need to omit the latter anyway).

So why is there no http://xml.apache.org/cocoon/faqs.html>

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