RE: XML Xinclude example

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 UTC