Isn't it a serios bug if you can't use xhtml-documents as a source? Why isn't it
possible to configure the file-generator to not include the DTD?
/Joel
> solution was provided. Is following simple solution an option for you?
>
> Add a to the pipeline.
> The co
let through.
Joerg
Joel Ekstrand wrote:
I have problems reading xhtml-files. The problem occours when I have a
DTD specified. I tried this just to see what is going on:
I then request test.xml and I have a file like this in documents/test.html:
http://www.w3.org/TR/xhtml1
I have problems reading xhtml-files. The problem
occours when I have a DTD specified. I tried this just to see what is going
on:
I then request test.xml and I have a file like this
in documents/test.html:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http:
WHAT I WANT
serialize XHTML in ISO-8859-1
encoding
PROBLEM
Even if I tell the serializer to
use ISO-8859-1 encoding, it keeps generating UTF-8 encoding
WHAT I DID
1) Sitemap: Configured a XHTML
serializer
name="xhtml"
pool-grow="2" pool-
all
right it's working perfectly now !
Thanks
a lot !
-Original Message-From: Nesto
[mailto:[EMAIL PROTECTED]Sent: lundi 10 mars 2003
17:15To: [EMAIL PROTECTED]Subject: Re: XHTML
Mobile profile
Try adding this to your MAIN sitemap.xmap in the
serializers se
Try adding this to your MAIN sitemap.xmap in the
serializers section:
http://www.wapforum.org/DTD/xhtml-mobile10.dtd
ISO-8859-1
You may change the doctype or encoding if you
want.
And then in your sitemap, you refer to this
serializer writing:
Hope this helps!
Nesto
does a xHTML Mobile profile SERIALIZER exists for cocoon ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
WHICH
error do you get?
-Ursprüngliche Nachricht-Von:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]Im
Auftrag von NestoGesendet: Freitag, 7. März 2003
17:12An: [EMAIL PROTECTED]Betreff: xhtml
serializers
Hi!
How can I define a set of serializers in the
Hi!
How can I define a set of serializers in the
sitemap, with which I can deliver xhtml basic or xhtml transitional or xhtml
strict?
I want to write in my pipelines somthing like
this:
I get an error If I write in the MAIN sitemap this
3 serializers
And if you want to remove in general, I think a
template
is the best solution.
Regards,
Joerg
This works (without html: namespace) if the input doesn't have xhtml
doctype
and xmlns.
But when I put those, the output is not affected, i.e. the nodeset
above is
printed out as is.
move in general, I think a template
is the best solution.
Regards,
Joerg
This works (without html: namespace) if the input doesn't have xhtml doctype
and xmlns.
But when I put those, the output is not affected, i.e. the nodeset above is
printed out as is.
What am I doing wrong with na
nside div
the output should be
Text inside div
This is the template that I wrote:
This works (without html: namespace) if the input doesn't have xhtml doctype
and xmlns.
But when I put those, the output is not affected, i.e. the nodeset above is
printed out as is.
What am I doing
n not
simply declare it in the XSL, the matching won't work. You *must* bind
it to a prefix. So changing your stylesheet to the following should
solve your problem:
http://www.w3.org/1999/XSL/Transform";
xmlns:html="http://www.w3.org/1999/xhtml";>
Regards,
Hi all.
This is not really a Cocoon problem, but maybe
you can help me with this.
I have the following XHTML
page:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
>
Page>
/>
>
>
Some
content
On Thu, 19 Sep 2002 [EMAIL PROTECTED] wrote:
> well, thank you, I basically know this, but to come back to the point:
>
> I DO NOT want to learn how to make correct XHTML, what I want is, that
> Cocoon renders correct HTML.
>
> *that* is the point!
>
> any suggestion
ot the xhtml
serilizer, so it SHOULD work. no matter what output is set in the document, btw.
however: it does not work!
alex
--
DI Alexander Schatten
Institute for Software Technology
Vienna University of Technology
[EMAIL PROTECTED]
Werden Sie mit u
Once upon the time Cocoon ignored ;-)
Regards,
Joerg
Emmanuil Batsis (Manos) wrote:
> [EMAIL PROTECTED] wrote:
>
>> I DO NOT want to learn how to make correct XHTML, what I want is, that
>> Cocoon renders correct HTML.
>>
>> *that* is the point!
>>
>&
[EMAIL PROTECTED] wrote:
> I DO NOT want to learn how to make correct XHTML, what I want is, that
> Cocoon renders correct HTML.
>
> *that* is the point!
>
> any suggestions?
Hmmm. Well, whatever you are doing produces XML. If you are using XSLT,
try changing the out
>
> Probably because what you have there is not XHTML. You don't have a
> DOCTYPE declaration. For more information about how Mozilla chooses
> between the XHTML and HTML display modes (using MIME, DOCTYPE and file
> extentions), see [1].
>
> Your markup, is not X
Probably because what you have there is not XHTML. You don't have a
DOCTYPE declaration. For more information about how Mozilla chooses
between the XHTML and HTML display modes (using MIME, DOCTYPE and file
extentions), see [1].
Your markup, is not XHTML; a namespace alone is not e
Greg Jones wrote:
> How are you creating your HTML. This looks like the issue might be in
> your .XSL file that is creating the tag. The two tags
> XHTML and HTML should work the same.
>
how could this be an issue of the XSL file??? the xsl file has to be XML
well-formed, he
How are you creating your HTML. This looks like the issue might be in
your .XSL file that is creating the tag. The two tags
XHTML and HTML should work the same.
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 2:30 PM
To: [EMAIL
Alexander Schatten wrote:
> Vadim Gritsenko wrote:
>
>> Alexander Schatten wrote:
>>
>>> I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have
>>> to detect, that the output is *not* HTML as expected, but XHTML,
>>> which makes sever
Vadim Gritsenko wrote:
> Alexander Schatten wrote:
>
>> I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have to
>> detect, that the output is *not* HTML as expected, but XHTML, which
>> makes several problems, e.g. with Mozilla.
>
>
>
>
Alexander Schatten wrote:
> I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have to
> detect, that the output is *not* HTML as expected, but XHTML, which
> makes several problems, e.g. with Mozilla.
I use HTML serializer and it outputs HTML. This can be confirm
Hello,
I'm evaluation Cocoon as a possible platform for our new website.
The contents will be entirely stored in xml files,
and (you guessed it !) be transformed into html via xslt.
So finaly I thought it would be a fine thing, to get every html - page
automagically as a
PDF, *without* the need
Try setting the output method appropriately:
Hth,
Manos
> -Original Message-
> From: Arje Cahn [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: RE: HTML Serializer Problems: xhtml instead of html?!
>
>
-Oorspronkelijk bericht-
Van: Alexander Schatten [mailto:[EMAIL PROTECTED]]
Verzonden: 03 July 2002 00:25
Aan: [EMAIL PROTECTED]
Onderwerp: HTML Serializer Problems: xhtml instead of html?!
Problem: (Win 98 Tomcat 4.04, Cocoon 2)
I perform a XML/XSLT transformation with HTML serializer
Problem: (Win 98 Tomcat 4.04, Cocoon 2)
I perform a XML/XSLT transformation with HTML serializer.
unfortunately, the result is not html but xhtml, which is not so good
when the client is e.g. netscape 4.7, who does not recognize for
example.
in my understanding, the html serializer should
If you put the XHTML namespace inside the tag, the XSL
transformer will output XHTML for you:
http://www.w3.org/1999/xhtml";>
The HTML serializer will leave your 's intact as long as the
namespace is provided.
Regards
Arjé
You can just use the XML serializer.
> -Original Message-
> From: Istvan Beszteri [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: XHTML
>
>
> Hi All,
>
> What is the easiest way to generate XHTML
Hi All,
What is the easiest way to generate XHTML output?
I have an XSL which transforms XML to XHTML, but it seems the serializer
converts it to simple HTML. (I have some tags and it convert them to
)
Br,
Istvan
build :-(
Wyona has moved to Cocoon 2.1-dev yesterday!
From the links I have received I think my original editor is the easiest
to implement at the moment. I'll try to use JTidy to convert the received
String to XHTML. It's already included in Cocoon anyways. Since I'll be
wr
r
(meaning not based on java or activeX). Have some patience please, I
already feel guilty about folks waiting for this project on XML-Doc...
Manos
> -Original Message-
> From: Derek Hohls [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 12:25 PM
> To: [EMAIL PROTECTED]
e,
> diversity is needed, but for something so basic...?
> Would we not be better off if the 'gurus' pooled ideas
> and developed *the best* open-source XML/XHTML editor
> available (or I am I still living in cloud-cuckoo land??)
The absolutely best browser-based XML edito
some patience please, I
already feel guilty about folks waiting for this project on XML-Doc...
Manos
> -Original Message-
> From: Derek Hohls [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 12:25 PM
> To: [EMAIL PROTECTED]
> Subject: RE: XHTML browser based edit
we not be better off if the 'gurus' pooled ideas
and developed *the best* open-source XML/XHTML editor
available (or I am I still living in cloud-cuckoo land??)
>>> [EMAIL PROTECTED] 16/05/2002 11:12:23 >>>
I've been preparing one for some time with very goo
er work to make a living. There's also a java port[3].
However, you can use HTMLTidy[2] as a server side converter (from HTML
to XHTML).
[1] http://sourceforge.net/projects/bb-xedit/
[2] http://sourceforge.net/projects/tidy/
[3] http://sourceforge.net/projects/jtidy/
HTH,
Manos
> ---
I'm looking for a good open source xhtml browser based editor. I have been
looking at XS-DHEdit from SourceForge
(http://sourceforge.net/projects/xsdheditor/) but this one only supports
html. Catching the HTML and converting it to xhtml need some coding I'd
like to avoid.
Any in
, some as
XHTML. In all cases, the HTMLSerializer was used, and XML output was
created. Removing the entire output-method declaration from the XSLT
sheets resulted in the correct behavior.
For example:
http://www.w3.org/TR/html4/loose.dtd";
omit-xml-declaration="yes"
indent
As it turns out, the XSLT sheets in the pipeline before the
HTMLSerializer where, themselves, setting the output to be HTML and
XHTML (via output method and namespace mappings.) I removed the NS
mappings and output elements from them, and am now seeing correct
serialization of HTML and XHTML
not.
>
> I just tested this, Yuri (I'm using 2.0.2 with xerces/xalan as provided). Put
> in xsl file. With html serializer, it outputs ; with xhtml
> serializer, it outputs (that's with a space). This is surely exactly
> what you want, isn't it?
Precisely. T
ded). Put
in xsl file. With html serializer, it outputs ; with xhtml
serializer, it outputs (that's with a space). This is surely exactly
what you want, isn't it?
-
Please check that your question has not alread
> I thought was the classic tric for all elder browsers?
Yes, per the XHTML spec itself:
http://www.w3.org/TR/2001/WD-xhtml1-20011004/#guidelines
> in every case I do live under the impression that the html serializer will
> create for you instead of did you check your sitemap?
It
ignored)
[2]
as for you remark to 'easier' I guess the serializer idea comes from the
separation of concerns philosophy... the one that writes an XSLT can not be
sure that it will (at all times) be the last step in the show, not even if
it's output is XHTML
(think about post-processing wi
>
>
>
>ciao
>ciao
>
>
> in Netscape 4.7 I get:
>
> ciaociao
>
> but if I write this:
>
>
>
>ciao
>ciao
>
>
> I get:
>
> ciao
> ciao
>
> I can also write and it's the same, the
&
ciao
ciao
in Netscape 4.7 I get:
ciaociao
but if I write this:
ciao
ciao
I get:
ciao
ciao
I can also write and it's the same, the trick
is putting in an attribute.
In this way Netscape 4 can show valid XHTML, which is IMHO better anyways
than .
Just write a styles
> Try with
If you mean an XSLT using that syntax (otherwise, I guess I'm missing
something), I'm afraid that doesn't help. Once the elements get in the
SAX stream, how they got there (except in the case of CDATA of course)
is lost. They're all just start/endElement pairs to the HTMLSerializer.
M
From: "Yuri Gadow" <[EMAIL PROTECTED]>
> Indeed that is the question, unfortunately NS 4.X is still in common use
> and does not understand tags written as or , (as do
> many, still common, versions of IE.) I could certainly roll my own
> serializer, wrapped around SAXON or something, but it s
e instead of ?
>
> -Original Message-
> From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
> Sent: 10 April, 2002 16:01
> To: [EMAIL PROTECTED]
> Subject: RE: How to get HTML (not XHTML) from the HTMLSerializer
> (C2.0.1)
>
>
> At 15:52 10/04/2002 +0200, you wrote:
&
Title: RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)
How does one get the HTMLSerializer to produce instead of ?
-Original Message-
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: 10 April, 2002 16:01
To: [EMAIL PROTECTED]
Subject: RE: How to get HTML (not
accepted by most old browsers (as opposed to without the space)
Bert
>-Original Message-
>From: Yuri Gadow [<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]]
>Sent: 10 April, 2002 01:01
>To: Cocoon Users
>Subject: How to get HTML (not XHTML) from the HTMLSerial
Title: RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)
I don't think all members of the group were able to read your signed message.
AFAIK is valid HTML unless you have a very old browser.
Maybe serializing as text may help but if that changes the mime/type you are ba
Specifically, how can one prevent empty tags (such as br or input) from
being serialized as and ? Seems that HTMLSerializer
utilizes a null transform for serialization, and passes in "html" as an
OutputMethod, but Xalan kicks out the tags regardless. There was
some discussion on the Xalan list a
On Tue, 5 Mar 2002 [EMAIL PROTECTED] wrote:
> I want to use Cocoon to generate XHTML pages that pass the validation test
> at W3C. Unfortunately, Cocoon (or rather, the XML Serializer in Xerces, if
> I understand the interdependencies correctly) always emits a doctype
> declaratio
From: "Johannes Koch" <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] schrieb:
> >
> > "Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote on 05.03.2002
12:08:34:
> >
> > >
> > > Is the main tag in your document "HTML" or "html" ?
> > >
> >
> > Thanks for the answer, but it's "html", and the W3C validator exp
[EMAIL PROTECTED] schrieb:
>
> "Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote on 05.03.2002 12:08:34:
>
> >
> > Is the main tag in your document "HTML" or "html" ?
> >
>
> Thanks for the answer, but it's "html", and the W3C validator explicitly
> comlains about the doctype declaration. If I cha
aration. If I change "HTML" to "html" in the
doctype decl of the saved copy of the generated XML, it validates OK.
But I have played around a little bit more, and have changed my
sitemap.xmap entry to be
-//W3C//DTD XHTML 1.0 Transitional//EN
DTD/xhtml1-transitiona
n having one like this:
>
> "DTD/xhtml1-transitional.dtd">
>
> i.e., "html" in lower case.
>
Is the main tag in your document "HTML" or "html" ?
In xhtml "HTML" is not valid:
http://www.w3.org/TR/xhtml1/#diffs";>
XHTML docu
Sorry if this has been answered somewhere, but I have searched the FAQ,
several mailing list archives and other sites, and have tried to figure
this out myself for several hours. So finally I give up and hope that
somebody on the list can help me.
I want to use Cocoon to generate XHTML pages
oes* excat in a performance penalty, so if you are sure that your
html is xhtml, you should go with the default (xml)file Generator.
> I would like to do something like the opposite of that. I believe my
> code already generates valid xhtml, and don't need to take the extra
> processing
Tidy does a pretty good job of it
Caros
On 02/28/02 16:03, "Colm O'Riordan" <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> I was wondering whether anyone knows of an effective way of converting
> old html content, from a content management system into Valid XM
Right now Cocoon takes (possibly malformed?) html, and runs it through a
program to tidy up the html before shooting it to the browser.
I would like to do something like the opposite of that. I believe my
code already generates valid xhtml, and don't need to take the extra
processing ti
dering whether anyone knows of an effective way of converting
>old html content, from a content management system into Valid XML /
>XHTML ? I know its slightly outside the biref of this list but it
>relates to using old content within a Cocoon project and I need to find
>the most cost effe
Take a look at the HTML generator.
"The html generator reads an html document from the local file system or
from any url. It acts similar to the file generator with the difference that
it reads html documents and converts them using jtidy to xhtml."
-Mensagem original
Colm O'Riordan wrote:
>Hi Guys,
>
>I was wondering whether anyone knows of an effective way of converting
>old html content, from a content management system into Valid XML /
>XHTML ? I know its slightly outside the biref of this list but it
>relates to using old content
Hi Guys,
I was wondering whether anyone knows of an effective way of converting
old html content, from a content management system into Valid XML /
XHTML ? I know its slightly outside the biref of this list but it
relates to using old content within a Cocoon project and I need to find
the most
I believe that you should serialise with type="xml"
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 11 January 2002 08:47
> To: [EMAIL PROTECTED]
> Subject: XHTML
>
>
> How do I output XHTML from cocoon? Is it a m
How do I output XHTML from cocoon? Is it a matter of changing the
serializer?
Bobby Koya
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html&g
is. It could be
WML, XHTML, HTML, or even plain text. It is up to you to decide what to
do.
HTH,
-B
-Original Message-
From: Pedro [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: How to xhtml?
Hello, sorry for the inconvenience, but
Hello, sorry for the inconvenience, but i don't anyother place to ask this
I want to make xhtml pages width cocoon2 ¿It's posible?¿How do i do that?
Thanks
-
Please check that your question has not already been answe
] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 17. Dezember 2001 18:06
> An: [EMAIL PROTECTED]
> Betreff: [C2] Newbie: Adding doctype to xhtml output?
>
>
>
> Hi,
>
> I was wondering what the correct way add a doctype to xhtml output is?
> Right now my xsl looks like
Hi,
I was wondering what the correct way add a doctype to xhtml output is?
Right now my xsl looks like this:
http://www.w3.org/1999/XSL/Transform";
xmlns="http://www.w3.org/TR/xhtml1/strict";>
...
which results in output:
http://www.w3.org/TR/xhtml1
I don't have any problems outputting the actual XHTML code the problem
lies that XHTML must use the XHTML doctype but I can't seem to get
cocoon to realise this using . It simply returns HTML
4.0 doctype.
Thanks
Sharat
I am attempting to send XHTML files (as is) through C2. To do this I
created a match pattern in sitemap as follows:
---excerpt from sitemap.xmap
This should match any pattern of an xhtml file extension, generate it from
ttp://www.w3.org/1999/xhtml";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:ns1="http://namespace1";
xmlns:ns2="http://namespace2";
exclude-result-prefixes="ns1 ns2">
...
Notice that I declare the namespaces
paces, it produces the same output
>>as the code i used i think. Anyone know how to get rid of the namespaces?
>>
>>Colin Paul Adams wrote:
>>
>>>>>>>>"Martin" == Martin Kavalar <[EMAIL PROTECTED]> writes:
>>>>>>>>
f the namespaces?
>
> Colin Paul Adams wrote:
>
> >>>>>>"Martin" == Martin Kavalar <[EMAIL PROTECTED]> writes:
> >>>>>>
> >
> >Martin> I was wondering why there is no XHTML serializer in
> >Martin> c2. When de
that still doesnt get rid of any namespaces, it produces the same output
as the code i used i think. Anyone know how to get rid of the namespaces?
Colin Paul Adams wrote:
>>>>>>"Martin" == Martin Kavalar <[EMAIL PROTECTED]> writes:
>>>>>>
>>>>> "Martin" == Martin Kavalar <[EMAIL PROTECTED]> writes:
Martin> I was wondering why there is no XHTML serializer in
Martin> c2. When defining my own i use the XML serializer and set
Martin> the content type to text/html. Unfortunatly i
I was wondering why there is no XHTML serializer in c2. When defining my
own i use the XML serializer and set the content type to text/html.
Unfortunatly i then get all the namespaces from previous documents in my
xhtml which keeps it from validating as XHTML 1.0. Can anyone help?
thanks
81 matches
Mail list logo