To follow up. I can confirm that using cocoon:// instead of http:// 
resolves the issue.

John

I have just experienced the same problem when I tried using multiple
xincludes:
The following styleshhet works fine with the first xinclue only but
throws out "Failed to execute pipeline.: org.xml.sax.SAXParseException:
Premature end of file." which is probably caused by some sort of problem
with flow control between the two xinclude's

John_

_

<xsl:template match = "/dailycollection">
         <xsl:for-each select = "//@src:key">
                 <xsl:element name="a">
                         <xsl:attribute name="href">
                                 <xsl:value-of select="."/>
                         </xsl:attribute>
                         <table width="100%" border="1"><tr>
                                 <td><xi:include
href="http://kun.rte.ie:8080/cocoon/{.}#xpointer(//NewsLines/HeadLine)"/></td>
                                 <td><xi:include
href="http://kun.rte.ie:8080/cocoon/{.}#xpointer(/NewsML/NewsItem/NewsComponent/NewsItem/NewsComponent/NewsComponent/Metadata/Property[@FormalName='MediaName']/@Value)"/></td>
                         </tr></table>

                 </xsl:element>
         </xsl:for-each>

</xsl:template>


******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee.  Access to this e-mail by anyone else
is unauthorised.  If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to