Richard,

from the documentation:

>>
<sunshine:getxml context="sunRise" path="/authentication/ID"/> <!-- Get the
ID -->
<sunshine:getxml context="sunRise" path="/authentication/data/username"/>
<<

Note the "R" in sunRise.

Matthew


-----Original Message-----
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 12:44 AM
To: [EMAIL PROTECTED]
Subject: Re: SunRise - Valid User Data


Hi Carsten,

ah,

changed it to...

<?xml version="1.0" ?>

<document xmlns:session="http://cocoon.apache.org/sunshine/1.0"; >
    <message>
        YOU ARE LOGGED!!!
    </message>

    <session:getxml context="sunrise" path="/authentication/ID" />

</document>

and i got an error that the context sunrise does not exist......

i still am doing some reading on the url that you gave me.

THANKS

----- Original Message -----
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 12:39 AM
Subject: RE: SunRise - Valid User Data


>
>
> > -----Original Message-----
> > From: Richard Reyes [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 12:06 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: SunRise - Valid User Data
> >
> >
> >
> > Hi Carsten,
> >
> > I am getting an error that the context "authentication" does not
exist....
> >
> > this is my xml now...
> >
> > ===========================================
> > <?xml version="1.0" ?>
> > <document xmlns:session="http://cocoon.apache.org/sunshine/1.0"; >
> >     <message>
> >         YOU ARE LOGGED!!!
> >     </message>
> >     <session:getxml context="response" path="/authentication/ID" />
> > </document>
> > =========================================
> >
> Ehm, you invoke getxml with context="response". For Cocoon 2.0.x the
> context name is "sunrise"! See
>
> http://xml.apache.org/cocoon/developing/webapps/sunrise.html
>
>
> HTH
> Carsten
>
>
> ---------------------------------------------------------------------
> 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]>


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