Sounds like fun.

-=Ivelin=-
----- Original Message -----
From: "Josema Alonso" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 6:32 PM
Subject: Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]


> Ivelin,
>
> I got reply from Dmitri. I'm copying it below. Unfortunately I was right
and
> there's not better way of making it with Containers other that the casting
I
> proposed. Maybe when updating to 1.1.
>
> I'll rewrite the how-to tomorrow if I can find a couple hours and put it
in
> the Wiki so you could see it all. If you feel it's ok, then we'll talk
about
> how to make it available for the official docs, ok?
>
> Thanks for your help.
>
>
> ----- Original Message -----
> From: "Dmitri Plotnikov"
> To: "Josema Alonso"
> Sent: Monday, January 27, 2003 11:19 PM
> Subject: Re: please help about a problem using JXPath Containers in Cocoon
>
>
> > Josema,
> >
> > I think your solution is fine with JXPath 1.0, despite all the type
> > casts.
> >
> > With JXPath 1.1 I could recommend this to extract the document element:
> >
> > Element root = (Element)context.getPointer("/*").getNode();
> >
> > Unfortunately the getNode() method was not introduced until after 1.0
> > was released.  If you call getValue(), the Element is converted to
> > string by stripping all tags and keeping all textual contents - that's
> > not what you need.
> >
> > - Dmitri
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to