W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > June 2000

RE: XML Xinclude example

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Wed, 28 Jun 2000 09:54:58 -0700
Message-ID: <116DFD732FA92E4D9B647C8EEF6DAF101559E3@red-pt-02.redmond.corp.microsoft.com>
To: "'BAWA,ARVINDER'" <BAWAA@apci.com>, "'www-xml-xinclude-comments@w3.org'" <www-xml-xinclude-comments@w3.org>
The example is a small but complete example of a correctly processed
XInclude.  Is there something incoherent about the example, or is this a
question about a specific implementation?  (Although I'm not aware of any
implementations at this time...)

- Jonathan Marsh
  Microsoft

> -----Original Message-----
> From: BAWA,ARVINDER [mailto:BAWAA@apci.com]
> Sent: Tuesday, June 20, 2000 1:24 AM
> To: 'www-xml-xinclude-comments@w3.org'
> Subject: XML Xinclude example
> 
> 
> Anyone who reads this
> 
> I have tried to follow the Infoset inclusion example on the 
> document at
> http://www.w3.org/TR/xinclude
> but I can not make it work.
> Am I missing something? Will this example work as described in the
> mentioned
> document or is this just illustrative at this stage.
> 
> Is there an easy alternative to include a second xml file in 
> a xml or html
> environment?
> I appreciate your help.
> 
> Arvinder Bawa
> Air Products
> Hersham, UK.
> bawaa@apci.com
> 
> 
> Infoset inclusion example
> 
> first.xml
> 
> <?xml version='1.0'?>
> <document xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
>   <p>120Mz is adequate for an average home user.</p>
>   <xinclude:include href="disclaimer.xml"/>
> </document>
> 
> disclaimer.xml
> 
> <?xml version='1.0'?>
> <disclaimer>
>   <p>The opinions represented herein represent those of the individual
>   and should not be interpreted as official policy endorsed by this
>   organization.</p>
> </disclaimer>
> 
> Result
> 
> <?xml version='1.0'?>
> <document xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
>   <p>120Mz is adequate for an average home user.</p>
>   <disclaimer>
>   <p>The opinions represented herein represent those of the individual
>   and should not be interpreted as official policy endorsed by this
>   organization.</p>
> </disclaimer>
> </document>
> 
> 
> 
Received on Wednesday, 28 June 2000 12:55:55 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:07 GMT