I don't know what else to tell you.

Using CDATA sections should work.  Put CDATA around certain pieces of the output and 
Cocoon will output "<" and ">" verbatim.  Omit them and Cocoon should replace them 
with "&lt;" and "&gt;".

At least that's how things work with the XML Serializer.  Are you using the XML 
serializer?  If not, then that explains it.  You'd either need to write a different 
serializer or use your XSP page to do the substitution from "<" to "&lt;".

Other debugging techniques to consider:

* Try using the LogTransformer to see if the correct output is getting generated

* Try changing your sitemap (temporarily) to use serialize type="xml".  Then use 
Microsoft Internet Explorer to view the page.  IE can display XML output, so you might 
be able to see what is wrong with the output.


Best I can do.


DR



At 08:23 PM 12/20/01 +0530, you wrote:
>I tell you our steps which we follow
>
>1)We have xsp which gives output as xml file.
>2)throw the appropriate xslt on that xml according to the
>User_Agent.----This will be done by Cocoon.
>3)Then the resulted output comes to the client.
>
>Thats what we do.
>
>Thanx with rgds
>Santhosh hegde A
>----- Original Message -----
>From: Adam Ambadas <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, December 20, 2001 8:03 PM
>Subject: Re: hdml
>
>
> > I think you are processing the output of this xslt by something else.
> >
> > If so, that is THE problem.
> >
> >
> > On Thursday 20 December 2001 11:37 pm, you wrote:
> > > What i mean is
> > >
> > > Do you have some technique so that i can pass entity references for
> > > characters like  "<"  and ">" to the client. i.e "&lt;"  and  "gt".
> > >
> > > Thanx with rgds
> > > Santhosh hegde A
> > > ----- Original Message -----
> > > From: Adam Ambadas <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, December 20, 2001 7:57 PM
> > > Subject: Re: hdml
> > >
> > > > :-((  :-((
> > > >
> > > > dunno what you mean
> > > >
> > > > On Thursday 20 December 2001 11:12 pm, you wrote:
> > > > > hahahahah  :-(:-(:-(
> > > > >
> > > > > Adam do you some trick so that i can bring reference values to the
> > >
> > > browser.
> > >
> > > > > Thanx with rgds
> > > > > Santhosh hegde A
> > > > > ----- Original Message -----
> > > > > From: Adam Ambadas <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Thursday, December 20, 2001 7:32 PM
> > > > > Subject: Re: hdml
> > > > >
> > > > > > Santhosh,
> > > > > >
> > > > > > I think the emulator doesnt like <?san>> :-(
> > > > > >
> > > > > > What does UP.browser cry about btw?
> > > > > >
> > > > > > Adam
> > > > > >
> > > > > > On Thursday 20 December 2001 11:02 pm, you wrote:
> > > > > > > Hi Adam,
> > > > > > >
> > > > > > > I have seen the UP.browser emulator debugging window. There the
>wml
> > > > > > > code contains the character < and >  as it is like
> > > > > > >
> > > > > > > <hdml>
> > > > > > > <?san>>
> > > > > > > </hdml>
> > > > > > > not as
> > > > > > > <hdml>
> > > > > > > &lt;?san&gt;&gt;
> > > > > > > </hdml>
> > > > > > >
> > > > > > > Or do you feel that it is the problem of emulator??
> > > > > > >
> > > > > > >
> > > > > > > Thanx with rgds
> > > > > > > Santhosh hegde A
> > > > > > > ----- Original Message -----
> > > > > > > From: Adam Ambadas <[EMAIL PROTECTED]>
> > > > > > > To: <[EMAIL PROTECTED]>
> > > > > > > Sent: Thursday, December 20, 2001 7:20 PM
> > > > > > > Subject: Re: hdml
> > > > > > >
> > > > > > > > Santhosh,
> > > > > > > >
> > > > > > > > I assume you are getting past the cocoon processing and only
>get
> > >
> > > an
> > >
> > > > > error
> > > > >
> > > > > > > in
> > > > > > >
> > > > > > > > the emulator. You get a dump of source and the problem
>location
> > > > > > > > in the
> > > > > > >
> > > > > > > debug
> > > > > > >
> > > > > > > > window of UP browser emulator. You can also see what exactly
>the
> > > > > > > > phone
> > > > >
> > > > > is
> > > > >
> > > > > > > > getting.
> > > > > > > >
> > > > > > > > Please check what is the phone cribbing about.
> > > > > > > >
> > > > > > > > Adam
> > > > > > > >
> > > > > > > > On Thursday 20 December 2001 10:37 pm, you wrote:
> > > > > > > > > Yes David  i am doing like how you told.  Still its giving
>me
> > >
> > > the
> > >
> > > > > > > > > error.
> > > > > > > > >
> > > > > > > > > As i mentioned whatever inside the CDATA or any text inside
>the
> > > > > > > > > main element its sending as it is.
> > > > > > > > >
> > > > > > > > > do you have some other way to that?
> > > > > > > > >
> > > > > > > > > Thanx with rgds
> > > > > > > > > Santhosh hegde A
> > > > > > > > > ----- Original Message -----
> > > > > > > > > From: David Rosenstrauch <[EMAIL PROTECTED]>
> > > > > > > > > To: <[EMAIL PROTECTED]>
> > > > > > > > > Sent: Thursday, December 20, 2001 6:58 PM
> > > > > > > > > Subject: Re: hdml
> > > > > > > > >
> > > > > > > > > > Maybe something like this, then:
> > > > > > > > > >
> > > > > > > > > > <![CDATA[
> > > > > > > > > > <hdml>
> > > > > > > > > > ]]>
> > > > > > > > > > my name is santhosh<<hegde>>
> > > > > > > > > > <![CDATA[
> > > > > > > > > > </hdml>
> > > > > > > > > > ]]>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > DR
> > > > > > > > > >
> > > > > > > > > > At 07:00 PM 12/20/01 +0530, you wrote:
> > > > > > > > > > >Hi Adams,
> > > > > > > > > > >
> > > > > > > > > > >Thanx for you reply,
> > > > > > > > > > >
> > > > > > > > > > >I am using TextFormatter. What it will do is whatever the
> > >
> > > text
> > >
> > > > > > > > > > > inside the main element it will send as it is.
> > > > > > > > > > >
> > > > > > > > > > >for example
> > > > > > > > > > >
> > > > > > > > > > ><hdml>
> > > > > > > > > > >my name is santhosh<<hegde>>
> > > > > > > > > > ></hdml>
> > > > > > > > > > >
> > > > > > > > > > >So what happens here is textformatter send it as it is.
>But
> > > > > > > > > > > Hdml browser needs it in its reference  like
> > > > > > > > > > >
> > > > > > > > > > ><hdml>
> > > > > > > > > > >my name is santhosh &lt;&lt; hegde &gt;&gt;
> > > > > > > > > > ></hdml>
> > > > > > > > > > >
> > > > > > > > > > >otherwise browser throws exception.
> > > > > > > > > > >
> > > > > > > > > > >I am using UP.Browser.
> > > > > > > > > > >
> > > > > > > > > > >I wil attached my xslt page.  Plaese go through that and
> > > > > > > > > > > tell
> > >
> > > me
> > >
> > > > > > > where i
> > > > > > >
> > > > > > > > > > >have done wrong if any.
> > > > > > > > > > >
> > > > > > > > > > >Thanx with rgds
> > > > > > > > > > >Santhosh hegde A
> > > > > > > > > > >----- Original Message -----
> > > > > > > > > > >From: Adam Ambadas <[EMAIL PROTECTED]>
> > > > > > > > > > >To: <[EMAIL PROTECTED]>
> > > > > > > > > > >Sent: Thursday, December 20, 2001 6:47 PM
> > > > > > > > > > >Subject: Re: hdml
> > > > > > > > > > >
> > > > > > > > > > > > Hi Santhosh,
> > > > > > > > > > > >
> > > > > > > > > > > > that should not be a problem since you are putting
> > >
> > > everything
> > >
> > > > > in
> > > > >
> > > > > > > > > > > > CDATA section.
> > > > > > > > > > > >
> > > > > > > > > > > > I am also doing same thing. But I dont get any
>problem.
> > > > > > > > > > > >
> > > > > > > > > > > > btw, which emulator are you using?
> > > > > > > > > > > >
> > > > > > > > > > > > If you could share the xsl file, it would be easy to
>tell
> > >
> > > if
> > >
> > > > > > > anything
> > > > > > >
> > > > > > > > > is
> > > > > > > > >
> > > > > > > > > > > > missing. Also, I need to patch my xsl ;-)  yours would
>be
> > >
> > > of
> > >
> > > > > > > > > > > > great
> > > > > > > > >
> > > > > > > > > help!
> > > > > > > > >
> > > > > > > > > > > > cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > Adam
> > > > > > > > > > > >
> > > > > > > > > > > > On Thursday 20 December 2001 08:07 pm, you wrote:
> > > > > > > > > > > > > I am wtiting xslt for hdml. I am writing all the
>hdml
> > >
> > > tags
> > >
> > > > > > > inside
> > > > > > >
> > > > > > > > > CDATA.
> > > > > > > > >
> > > > > > > > > > > > > I am using TextFormatter.  But the problem here is
> > >
> > > whenever
> > >
> > > > > > > angle
> > > > > > >
> > > > > > > > > > >brackets
> > > > > > > > > > >
> > > > > > > > > > > > > i.e "<"  ">"  comes in the text node part
> > > > > > > > > > > > > textformatter
> > > > >
> > > > > sends
> > > > >
> > > > > > > it
> > > > > > >
> > > > > > > > > > > > > as
> > > > > > > > >
> > > > > > > > > it
> > > > > > > > >
> > > > > > > > > > >is
> > > > > > > > > > >
> > > > > > > > > > > > > which hdml browser cant support . Its giving error.
> > >
> > > Hdml
> > >
> > > > > > > browser
> > > > > > >
> > > > > > > > > wants
> > > > > > > > >
> > > > > > > > > > >it
> > > > > > > > > > >
> > > > > > > > > > > > > like "&lt".
> > > > > > > > > > > > >
> > > > > > > > > > > > > do you have any mechanisn so that i can overcome
>that
> > > > >
> > > > > problem??
> > > > >
> > > > > > > > > > > > > waiting for suggestions.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanx with rgds
> > > > > > > > > > > > > Santhosh hegde A
> > > > > > > > > > > >
> > > > > > > > > > > > ----------------------------------------
> > > > > > > > > > > > Content-Type: text/html; charset="iso-8859-1";
> > > > >
> > > > > name="Attachment:
> > > > > > > 1"
> > > > > > >
> > > > > > > > > > > > Content-Transfer-Encoding: quoted-printable
> > > > > > > > > > > > Content-Description:
> > > > > > > > > > > > ----------------------------------------
> > > >
> > > > ---------------------------------------------------------------------
> > > >
> > > > > > > > > > > > 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]>
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > >
> > > > > > > > > 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]>
> > > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > > 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]>
> > >
> > > ---------------------------------------------------------------------
> > > 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]> 


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

Reply via email to