Re: Reading Third Party XML Using Generator
Gaurav Kalia <[email protected]> Thu, 05 May 2011 20:51:04 +0530
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
> a) Use the XML in pipelines – easy: > <map:generate src="http://…"/> I have tried this but i did not get anything. I have checked the logs as well and i can not see any exception. May be i am missing something, will recheck and try to debug. Regards Gaurav On Thursday 05 May 2011 07:09 PM, Andreas Hartmann wrote: > Hi Gaurav, > > Am 05.05.11 10:40, schrieb Gaurav Kalia: >> I want to read an XML which is a part of some other application. I have >> the HTTP URL for the XML document. >> >> What i want to achieve here is -- Read the XML and want to add the >> content to my own application. > > what exactly do you want to achieve? > > a) Use the XML in pipelines – easy: > <map:generate src="http://…"/> > > b) Use the XML as if it was a Lenya document: > For this purpose I would consider creating a custom resource type > which stores only the external URI and includes the content using the > Cocoon include transformer. > > HTH, > > -- Andreas > > > -- Gaurav Web Development Techblue Softwares& Technology Blueprint Ltd T : 08450047142 Extn: 5102 E : [email protected] W : www.techblue.co.in www.technologyblueprint.co.uk Confidentiality Notice The contents of this email are confidential and may be privileged, and are intended only for the use of the person or company named herein. Any views or opinions presented are solely those of the author and do not necessarily represent those of Techblue software or Technology Blueprint Limited. If you are not the intended recipient of this email or a person responsible for delivering it to the intended recipient, you are hereby notified that any distribution, copying or dissemination of the information herein is strictly prohibited.