> more elegant ???
> you mean the first ??
> the first is also compatible with c2 and not the second
mmm... that's true,
But I think you could return a XMLFragment instead of a DOM Nodes, and stay
C2 forwad compatible.
Let's stay elegant!
- Tony
>
>
> Jaroslaw Kutylowski a écrit :
> >
> > There are 2 possibilities for you (as always :)). The first is
> you use the
> > <util:include-expr><util:expr>mymethod()</util:expr>
> </util:include-expr>
> > which automatically converts a string that contains html/xml
> tags into a DOM
> > structure or, the better way,
> > you make a function that directly outputs a DOM Node.
> >
> > The choice is yours, but we encourage you to use the second,
> more elegant,
> > method.
> >
> > Jaroslaw Kutylowski
> > AxIT Poland
> >
> > -----Original Message-----
> > From: Sharief Chandler [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 08, 2001 1:09 AM
> > To: [EMAIL PROTECTED]
> > Subject: My HTML tags in XML page are escaped
> >
> > When I type:
> > ......
> >
> > <xsp:content>
> > <xsp:expr>
> > myHtmlAsStringMethod()
> > </xsp:expr>
> > </xsp:content>
> >
> > ...
> >
> > The page will actually show <select>...
> >
> > and when I view source it shows <select> in my page.
> >
> > How do I get the returned string of HTML tags to become a part
> of my page?
> >
> > Sharief
> >
> > Sharief Chandler
> > REDKNEE Inc.
> > [EMAIL PROTECTED]
> > Phone: +19056255072
> >
> > ---------------------------------------------------------------------
> > 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]>