You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Andrew C. Oliver" <ac...@apache.org> on 2002/07/08 13:53:30 UTC

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLFo rm)

Morrison, John wrote:

>>From: Andrew C. Oliver [mailto:acoliver@apache.org]
>>
>>Np.  I'm 1/4 cocoon-developer (I've submitted several patches 
>>including
>>SQLTransformer, ESQL and of course the HSSFSerializer).  I just don't
>>happen to fit in because I don't like Avalon too much. 
>>    
>>
>
>:)
>  
>
(small brains can only can keep 3-4 layers of inheritance in mind at once)

>  
>
>>XInclude seemed insistent on real Files.  CInclude looked newer and
>>more....avalonistic (which cocoon developers seem to like).  
>>So CInclude
>>started working for me immediately but was including too 
>>much.  XInclude
>>didn't work at all (kept trying to find a real file).  
>>    
>>
>
>I use this snippet:
>
>    <xi:include
>      xmlns:xi="http://www.w3.org/2001/XInclude"
>      parse="xml"
> 
>href="cocoon:/src{$geoLevel}/{$content/@name}#xpointer(//properties)"/>
>  
>
>and it works for me.  Of cause, I've not tested this on head for a while...
>  
>
now it would fail to find the file named

"/opt/tomcat/webapps/cocoon/samples/bringmethis/action/cocoon:/src...."

-Andy

>J.
>
>
>=======================================================================
>Information in this email and any attachments are confidential, and may
>not be copied or used by anyone other than the addressee, nor disclosed
>to any third party without our permission.  There is no intention to
>create any legally binding contract or other commitment through the use
>of this email.
>
>Experian Limited (registration number 653331).  
>Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
>For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org