Re: [xslt] xinclude



On Friday 10 August 2001 18:09, you wrote:
> I tried to use xinclude -> does not work
>
> Example: (from http://www.w3.org/TR/xinclude/#example1)
The example is wrong !
>
> Is there a working example?
>
> main.xml
> =======
>
> <?xml version='1.0'?>
> <document xmlns:xi="http://www.w3.org/1999/XML/xinclude">
>   <p>120 Mz is adequate for an average home user.</p>
>     <xi:include href="disclaimer.xml"/>
> </document>

This works:  !!!
==========

<?xml version='1.0'?>
<document>
  <p>120 Mz is adequate for an average home user.</p>
    <xi:include href="sub.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</document>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]