I have zero knowledge (well, very little) of the Sunrise process you're
trying to use, but it sounds like you should be able to place the
xmldocument into the session as a session attribute, and call the
SessionAttributeGenerator on it.  The javadocs are pretty good for that one.
For the xsl you may need to call it via cocoon:/ pseudo protocol from
another pipeline set up to use the same generator.  pretty sure that
protocol preserves all session info and attributes.

Be sure to let me know what happens.

By the way, I seem to recall that you are local to DC - did you notice the
DC CHUG information brewing earlier today?  Would you be interested in that
if it gets off the ground?

Geoff

> -----Original Message-----
> From: Ray Martin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 7:02 PM
> To: [EMAIL PROTECTED]
> Subject: handing an XML doc (in memory) to the sitemap
>
>
> Using the SunRise instructions found at
> http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunris
> eComponent
> s.html
>
> The example has a pipeline named foo-authuser
> In this pipeline, i call an action named checkCredentials.  This action
> accesses several tables in a database.  If a match is found, for username
> and password, a vector of roles available to that user is
> created.  Then an
> XML document is produced in the action that conforms to the Sunrise
> example's authentication XML.
>
> Now i want to hand that XML to the sitemap in place of foo-user.xml and
> foo-user.xsl
>
> Please help me.
>
> I will be glad to share how this entire process works after i bridge this
> final gap.  I will provide the action and all info how to set the
> database.
> You would be able to modify this process to meet your data store needs.
>
> Would anyone be so kind as to give me some assistance? please.
>
>
>
> ---------------------------------------------------------------------
> 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