cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OD" ...@feersumendjinns.com>
Subject Re: XInclude does not include :(
Date Thu, 05 Oct 2000 16:45:25 GMT
RE: XInclude does not include :(Hi,


Looks OK.
What version of Cocoon are you using?

Corey O'Donovan
  ----- Original Message ----- 
  From: Alejandro Raiczyk 
  To: 'cocoon-users@xml.apache.org' 
  Sent: Thursday, October 05, 2000 4:47 PM
  Subject: RE: XInclude does not include :(


  I used this sample, but it's not working for me. 
  Tomcat throws this: 

  basename: /home/alejandror/tomcat3.1/webapps/ROOT/societe/portal/ui/include.xml 
  Processing element: [x: null] 
  Name: x 
  URI: 
  Processing element: [include: null] 
  Name: include 
  URI: 

  include.xml: 

  <?xml version="1.0"?> 
  <?cocoon-process type="xinclude"?> 

  <x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"> 
   <include xinclude:parse="xml" xinclude:href="disclaimer.xml"/> 
  </x> 

  what am I doing wrong ? 

  -----Mensaje original----- 
  De: OD [mailto:od@feersumendjinns.com] 
  Enviado el: MiƩrcoles 4 de Octubre de 2000 8:36 AM 
  Para: cocoon-users@xml.apache.org 
  Asunto: Re: XInclude does not include :( 



  Try: 

  <?xml version="1.0"?> 
  <?cocoon-process type="xinclude"?> 

  <x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"> 
   <include xinclude:parse="xml" xinclude:href="test.xml"/> 
  </x> 

  Corey O'Donovan 

  ----- Original Message ----- 
  From: Peter Verhage <peter@ibuildings.nl> 
  To: <cocoon-users@xml.apache.org> 
  Sent: Wednesday, October 04, 2000 11:59 AM 
  Subject: XInclude does not include :( 



  > I've made a simple page which has to include another xml file. 
  > 
  > <?xml version="1.0"?> 
  > <?cocoon-process type="xinclude"?> 
  > <x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"> 
  >   <include xinclude:href="test.xml"/> 
  > </x> 
  > 
  > It does not use (as you can see) any xslt and does not use xsp. So the 
  > ouput in my browser will be just xml (of this file, and the other file) 
  > and probably a doctype html... So this is what I really get: 
  > 
  > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" 
  > "http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd"> 
  > <x xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"> 
  >     <myinclude xinclude:href="test.xml"></myinclude> 
  >   <!--Processed by XInclude--></x> 
  > <!-- This page was served from cache in 2 milliseconds by Cocoon 
  > 1.8.1-dev --> 
  > 
  > As you can see XInclude has processed it, but... where is the XML from 
  > the other file? The file is there, the XML is ok (no question about it), 
  > but it does not get included. What am I missing overhere? :) 
  > 
  > With best regards, 
  > 
  > Peter 
  > 
  > -- 
  > Peter Verhage       <peter@ibuildings.nl> 
  > ibuildings.nl BV - information technology 
  > http://www.ibuildings.nl -  0118 41 50 54 
  > 
  > --------------------------------------------------------------------- 
  > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org 
  > For additional commands, e-mail: cocoon-users-help@xml.apache.org 



  --------------------------------------------------------------------- 
  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