Hi Jorg,

Thank you much for your suggestion. I will try with
WriteDomSessionTransformer.

Thanks & Regards,
Murthy

Jorg Heymans <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>
03/10/2005 19:29 CETPlease respond [EMAIL PROTECTED]

To   users@cocoon.apache.org
Subject  Re: How to pass an attaribute value from a resulting
transformedxml

Thanks for making your situation a bit more clear.
I had a look at the docs to find a component that might suit your needs.
Have you tried using the WriteDomSessionTransformer [1]? I have never
used it myself, but from the docs it seems like it could do the trick
for you :
<map:transform type="writeDOMsession">
   <map:parameter name="dom-name" value="DBresult"/>
   <map:parameter name="dom-root-element" value="rowset"/>
</map:transform>

Apparently, this transformer stores an object called "DBresult" in the
session, the object contains the DOM representation of your pipeline
encapsulated inside a root "rowset" element.

Inside the action that sets the response header you could fetch this
object, do some DOM searching until you find the title and voila!

HTH
Jorg

[1]http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transformer.html


Notice: The information contained in this e-mail message and/or attachments to 
it may contain confidential or privileged information.   If you are not the 
intended recipient, any dissemination, use, review, distribution, printing or 
copying of the information contained in this e-mail message and/or attachments 
to it are strictly prohibited.   If you have received this communication in 
error, please notify us by reply e-mail or telephone and immediately and 
permanently delete the message and any attachments.  Thank you

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

Reply via email to