Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-08 Thread Stephan Michels
On 7 Jul 2002, Andrew C. Oliver wrote: xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ does this for me: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-08 Thread Michael Wechner
oh, I am sorry, I made another mistake, you can't use the cocoon protocol (or any) within the href. You have to do it as follows: xi:include href=/action/categories_combo.xml#xpointer(/xformcategories/*) xml:base=cocoon:/ or for instance: xi:include xml:base=http://www.cmswatch.com;

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-08 Thread Andrew C. Oliver
Humm. I'll try that. I still hope someone will look at my patch to CInclude as: 1. I imagine that its faster 2. I like the syntax better 3. I don't know why it shouldn't support some form of element selection. -Andy Stephan Michels wrote: On 7 Jul 2002, Andrew C. Oliver wrote:

XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Ivelin Ivanov
We could use some help from the XInclude/Cinclude experts for the problem Oliver is trying to solve. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Sunday, July 07, 2002 12:17 PM Subject: Re: including dynamic data with XMLForm

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread WeikelQ
Pleae change Neil Weikel's e-mail to [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:

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Stephan Michels
On Sun, 7 Jul 2002, Ivelin Ivanov wrote: We could use some help from the XInclude/Cinclude experts for the problem Oliver is trying to solve. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Sunday, July 07, 2002 12:17 PM

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Stephan Michels
On 7 Jul 2002, Andrew C. Oliver wrote: Hi, Thanks for your reply. This is very close to what I want. So I'm almost there, but I have to have a root element on the categories_combo.xml page. Its xmlformcategories. I only want whats in between the root element. CInclude appears to not

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Michael Wechner
xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ Perhaps you forget the 'parse' attribute? XInclude supports the cocoon protocol and XPointer. As I know CInclude does not support XPointer (which you already said, sorry), which would mean you have to