cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/samples/xinclude foo.txt foo.xml xinclude.xml xincludeptr.xml
Date Sat, 20 May 2000 04:40:46 GMT
balld       00/05/19 21:40:46

  Added:       samples/xinclude foo.txt foo.xml xinclude.xml
                        xincludeptr.xml
  Log:
  added xinclude examples
  
  Revision  Changes    Path
  1.1                  xml-cocoon/samples/xinclude/foo.txt
  
  Index: foo.txt
  ===================================================================
  foo
  
  
  
  1.1                  xml-cocoon/samples/xinclude/foo.xml
  
  Index: foo.xml
  ===================================================================
  <?xml version="1.0" encoding="utf-8"?>
  <root>
  	<message>This is a message</message>
  	<message>This is another message
  		<message>and a third one</message>
  	</message>
  </root>
  
  
  
  1.1                  xml-cocoon/samples/xinclude/xinclude.xml
  
  Index: xinclude.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <?cocoon-process type="xinclude"?>
  <?cocoon-format type="text/xml"?>
  
  <page 
  	xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"
  >
  <xinclude:include parse="text" href="foo.txt"/>
  <xinclude:include parse="xml" href="foo.xml"/>
  </page>
  
  
  
  1.1                  xml-cocoon/samples/xinclude/xincludeptr.xml
  
  Index: xincludeptr.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <?cocoon-process type="xinclude"?>
  <?cocoon-format type="text/xml"?>
  
  <page 
  	xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"
  >
  <xinclude:include parse="xml" href="foo.xml#xpointer(//message)"/>
  </page>
  
  
  

Mime
View raw message