cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doan-tin...@sharing.com
Subject Réf. : RE: Xinclude + cocoon pseudo protocol
Date Tue, 05 Mar 2002 08:49:38 GMT

Sorry

the problem is that the stylesheet doesn't seem to be able to interpret the
xinclude command.
here is the IE error message I get :
                                            
 La page XML ne peut pas être affichée      
                                            
                                            
 Impossible d'afficher l'entrée XML en      
 utilisant la feuille de style XSL.         
 Corrigez l'erreur, puis cliquez sur le     
 bouton Actualiser ou réessayez             
 ultérieurement.                            
                                            
                                            
 Un seul élément de niveau supérieur est    
 autorisé dans un document XML. Erreur de   
 traitement de la ressource                 
 http://localhost:8080/ome-xinc/gogo/.      
 Ligne 6, Position 4                        
                                            





  <xinclude:include xmlns:xinclude="http://w3.org/2001/XInclude" href
="xincludetest/foo" base="cocoon:/"/>
---^


sorry, the message is in french.


I don't know if it is the stylesheet or if it is a bad declaration of the
xinclude command.


I can send a piece of my sitemap and my stylesheet.





Thanks





                                                                                         
      
                    "Vadim Gritsenko"                                                    
      
                    <vadim.gritsenko@ve        Pour :  <cocoon-users@xml.apache.org>
           
                    rizon.net>                 cc :                                   
         
                                               Objet :      RE: Xinclude + cocoon pseudo 
      
                    04/03/2002 23:49           protocol                                  
      
                    Veuillez répondre à                                                
        
                    cocoon-users                                                         
      
                                                                                         
      
                                                                                         
      




> From: doan-tin.le@sharing.com [mailto:doan-tin.le@sharing.com]
>
> Hi,
>
> I need to perform some inclusions into an XSL stylesheet using the
cocoon
> pseudo-protocol.
> what i've tried to do is have two pipelines in my sitemap.
> The main pipeline generates a XML file, which is transformed with an
XSL
> stylesheet, then serialized into XML.
> In the stylesheet, i'm trying to include some XML which is coming from
the
> second pipeline.
>
> <xsl:template match="whatever">
>    <xinclude:include base="cocoon:/" href="xincludetest/"/>
> </xsl:template>
>
> My second pipeline is matching this pattern "xincludetest".
> it is generating a foo XML stream from a foo XML file then serializes
it in
> XML too.
>
> I just want to try to get this foo XML stream into my stylesheet.
>
> The aim of this test is to be able to call a XMLDB query on a XMLDB
> database through this second pipeline.
>
> if anybody could help .... :))

... you just forgot to mention what's the problem, otherwise I sure help
would be under way ;)

Vadim

>
>
> Tin
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>





---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message