Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Joerg Heinicke
Hi Justin, isn't adding a non-breaking space to the textarea (as default text) the best solution? Joerg Justin Fagnani-Bell wrote: > Hmmm... well I'm getting some strange things happening now. The cdata > section is no longer working (i swear it worked :), and Chimera is not > rendering thin

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Justin Fagnani-Bell
Hmmm... well I'm getting some strange things happening now. The cdata section is no longer working (i swear it worked :), and Chimera is not rendering things correctly anymore, it's acting like Mozilla. When it was working the textarea tags were not escaped. For now, I made a small hack (inser

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Joerg Heinicke
I wonder that this is working. The will be escaped because of CDATA section to when it's parsed and it shell be shown in the browser as text - but it should not work. That was what I expect. I tried to test it, but it was not possible for me with the current Cocoon fro

RE: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Geoff Howard
Original Message- > From: Luca Morandini [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 1:19 PM > To: [EMAIL PROTECTED] > Subject: RE: Keeping HTMLSerializer from altering markup? > > > Justin, > > could you please summarize your problem (and the solutio

RE: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Luca Morandini
GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - > -Original Message- > From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 6:59 PM > To: [EMAIL PROTECTED] > Subje

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Justin Fagnani-Bell
Yes! finally. Here's what I did. I added a tag around my tags in my stylesheet, then put cdata in my serializer definition. Now even when the textarea has no text the tag doesn't get touched. The browser just ignores the made up cdata tag and everythings fine. I tried what you suggested, (a

RE: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Geoff Howard
> method, but what is cdata-section-elements? Could it be of use to me > here? cdata-section-elements is a declaration in xsl:output element of xsl which allows you to cause the contents of an element to be surrounded by a block, which causes the character data to pass through transformation un

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Justin Fagnani-Bell
Thanks for the replies guys, unfortunately I'm still kinda stuck. I tried the xhtml serializer (which is really an xml serializer) and the xml serializer They almost work, but not quite. First, Mozilla 1.0 won't render tables correctly ( bgcolor attribute, though Chimera renders fine) for some

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread Joerg Heinicke
KOZLOV Roman wrote: > Hi, > > Just a question, if XHTML is XML then is it possible to use XML serializer? > If not, why? > > Roman Yes, it's possible of course. When serializing a document as XHTML instead of XML, the doctype declaration for XHTML will be added. Regards, Joerg -- Syst

Re: Keeping HTMLSerializer from altering markup?

2002-08-09 Thread KOZLOV Roman
Hi, Just a question, if XHTML is XML then is it possible to use XML serializer? If not, why? Roman Vadim Gritsenko wrote: > > From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]] > > > > Hi list, > > > > I have a page with a form generated by Cocoon. There's a textarea in > > the form where

RE: Keeping HTMLSerializer from altering markup?

2002-08-08 Thread Vadim Gritsenko
> From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]] > > Hi list, > > I have a page with a form generated by Cocoon. There's a textarea in > the form where you can edit some xml (possibly xhtml). Because the form > is an HTML form I'm using an HTMLSerializer. But I want to keep the > seriali