Hi Richard,

the namespace for the sunShine transformer is:
http://cocoon.apache.org/sunshine/1.0

Have a look at

http://xml.apache.org/cocoon/developing/webapps/sunshine.html

Carsten

-----Original Message-----
From: Richard Reyes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 10:27 PM
To: C2 Users
Subject: Re: SunRise - Valid User Data


Hi Guys / Carsten,

I still cant get the data on the foo-resource.xml...

Here's my sub-sitemap...

   <map:components>

        <map:generators default="file"></map:generators>

        <map:transformers default="xslt">
            <map:transformer name="sunShine"
src="org.apache.cocoon.sunshine.transformation.SunShineTransformer"/>
        </map:transformers>
        .
        .
        .
        <map:actions>
            <map:action name="sunRise-login"
src="org.apache.cocoon.sunshine.sunrise.acting.LoginAction"/>
        </map:actions>
    </map:components>
    <!-- =========================== Pipelines
================================= -->
    <map:pipelines>
        <map:pipeline>
            <map:match pattern="foo-protected">
                <map:act type="sunRise-auth">
                    <map:parameter name="handler" value="foo-handler"/>
                    <map:generate src="foo-resource.xml"/>
                    <map:transform type="sunShine" />
                </map:act>
                <map:serialize type="xml" />
            </map:match>

and  heres my foo-resource.xml


        <?xml version="1.0" ?>

        <document xmlns:session="http://cocoon.apache.org/session/1.0"; >
            <message> YOU ARE LOGGED!!!</message>
            <session:getxml context="authentication"
path="/authentication/ID" />
        </document>


I am not having any error its jujst that the session:getxml is not even
changed. The output is thesame as my foo-resource.xml.
I dont think that there is a authentication context.

Any Ideas?

Thanks

Richard


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