Tim, Thanks for the info..
What is the root element of the stylesheet? If it is HTML then it is implicitly being set to HTML Todd >Hi Todd, > >Hmm no we donıt have that as I understand Cocoon does not support the >xsl:output...... Here is the snip from the faq > >The Cocoon project doesn't implement the xsl:output feature for XSLT because >we believe it breaks the separation of concerns and doesn't match the >internal Cocoon architecture > >But yes this would solve the problem I believe and thatıs why I am asking >the community for any ideas. We have the same problem with html entities >being parsed and then "reread" from a form text field back into a database >and then not being strict xml/xsl. > >FWIW >The only browser that outputs html entities in form text fields as they are >in the code is IE 5x on a mac and NOT the OSX version of the browser. We >have tested Opera, Netscape, Icab etc etc. > >So some how we have to disable output escaping on the data contained in text >fields that are in forms.... > >I have also tried to play with the PIs and still no success. > >Tim Cavanagh > > > >on 22/1/02 1:50 AM, Todd Wright at [EMAIL PROTECTED] wrote: > > > Tim, > > > > In the XSL do you have a xsl:output tag? It looks like the stylesheet is > > assuming html for the output type. > > > > Todd Wright > > > > At 10:56 AM 1/21/2002 +1030, you wrote: > >> Hi all, > >> > >> We have hopefully a simple problem using cocoon 1.8.2. I am editing > html in > >> a form field on a html page that is parsed by cocoon. > >> > >> The trouble is that cocoon is reading correctly formatted list items > >> <LI>blah</LI> and then parsing them back out as <LI>blah (no closing tag) > >> and then when I submit the form data back cocoon throws an error > because the > >> list tag is not closed. I have tried to change the DTD currently > >> REC-html40/strict.dtd to loose.dtd but this still wont output the closed > >> list item tags. What I really would like to do is to disable the output > >> escaping so that only raw code is output to the text field. > >> > >> The edit page is being with xsp and this is the code: > >> > >> <util:include-uri> > >> > <util:href><xsp:expr>"http://blah.com.au/blah.acgi$edit_Stories?"+<session:g > >> et-attribute name="loginPageQueryString" />+"&anid=" + > >> <session:get-attribute name="anid" /> + "&cachebuster=" + > >> <session:get-last-accessed-time as="long" /></xsp:expr></util:href> > >> </util:include-uri> > >> > >> And this page of xml is being parsed by an xsl stylesheet > >> > >> <?xml-stylesheet href="/ls/xsl_edit.xsl" type="text/xsl"?> > >> > >> Can anyone help? I hope this this is enough information. > >> > >> -- > >> > >> Regards > >> > >> Tim Cavanagh > >> MindMedia > >> Douglas Mawson Institute of Technology > >> > >> Phone +618 83032669 > >> Fax +618 83032667 > >> > >> "What can be done with fewer assumptions is done in vain with more" > >> William of Ockham > >> > >> > >> --------------------------------------------------------------------- > >> 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]> > > > > Todd Wright > > Software Developer / Technical Trainer > > > > www.jtconsult.com > > > > Supposing is good, but finding out is better. > > - Mark Twain > > > > > > --------------------------------------------------------------------- > > 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]> Todd Wright Software Developer / Technical Trainer www.jtconsult.com Supposing is good, but finding out is better. - Mark Twain --------------------------------------------------------------------- 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]>