cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: [C2] XIncludeTransformer
Date Fri, 21 Sep 2001 13:10:04 GMT
Yeah, me too, but I'm going to want to do xpath on the end...

> -----Original Message-----
> From: Sergio Carvalho [mailto:sergio.carvalho@acm.org]
> Sent: Friday, 21 September 2001 2:03 pm
> To: cocoon-dev@xml.apache.org
> Subject: Re: [C2] XIncludeTransformer
> 
> 
> 
> I don't know about the Xinclude transformer, but the Cinclude 
> one surely can.
> I've been using it regularly that way.
> 
> 
> On Fri, 21 Sep 2001 13:43:53 +0100, Morrison, John wrote:
> From: "Morrison, John" <John.Morrison@uk.experian.com>
> --
> 
> > Hi all,
> > 
> > Does anybody know if the XIncludeTransformer can cope with 
> the cocoon:/
> > protocol?
> > 
> > I'm trying to get:
> > 
> > <xsl:template match="f">
> >     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
> >       parse="xml">
> >       <xsl:attribute name="href">cocoon:/src/<xsl:value-of
> > select="geography"/><xsl:value-of select="name"/></xsl:attribute>
> >     </xi:include>
> > </xsl:template>
> > 
> > to work.  The log looks like:
> > 
> > DEBUG   (2001-09-21) 13:34.16:546   [cocoon  ] (/eg/c.xml)
> > HttpProcessor[8080][4]/XIncludeTransformer: Processing 
> XInclude element:
> > href=cocoon:/src/c2.xml, parse=xml
> > DEBUG   (2001-09-21) 13:34.16:546   [cocoon  ] (/eg/c.xml)
> > HttpProcessor[8080][4]/AbstractXMLPipe: Exception in endDocument
> > java.lang.RuntimeException
> > 	at
> > 
> org.apache.xalan.transformer.TransformerImpl.run(TransformerIm
> pl.java:3170)
> > 	at
> > 
> org.apache.xalan.transformer.TransformerHandlerImpl.endDocumen
> t(TransformerH
> > andlerImpl.java:433)
> > 	at
> > 
> org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLP
> ipe.java:49)
> > 	at
> > 
> org.apache.xalan.transformer.ResultTreeHandler.endDocument(Res
> ultTreeHandler
> > .java:190)
> > 	at
> > 
> org.apache.xalan.transformer.TransformerImpl.transformNode(Tra
> nsformerImpl.j
> > ava:1182)
> > 	at
> > 
> org.apache.xalan.transformer.TransformerImpl.run(TransformerIm
> pl.java:3135)
> > 	at
> > 
> org.apache.xalan.transformer.TransformerHandlerImpl.endDocumen
> t(TransformerH
> > andlerImpl.java:433)
> > 	at
> > 
> org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLP
> ipe.java:49)
> > 
> > Thanks,
> > 
> > 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
> > 
> 
> 
> --
> Sergio Carvalho
> ---------------
> sergio.carvalho@acm.org
> 
> If at first you don't succeed, skydiving is not for you
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message