On Fri, Mar 01, 2002 at 05:21:43PM +0600, ������ �������� wrote:
> hi, all
>
> I tried use XInclude example, which was in "AxKit Users Mailing
> List". All OK.
> But my own examples doesn't work.
As i tested xinclude, it seems ok. Ok, i have not tested your example -- which
looks odd to me.
> <xi:include href="data/company.xml#xpointer(//*[@id="name"]"/>
^^^^^
i am not shure, if this the correct syntax (at least it does not look
like it does).
there are three possibilities then:
1. you found the broken part of XML::LibXMLs xinclude implementation
(which is fixed in CVS already and will be released soon)
2. your version of libxml2 is broken (to ashure that not, get the latest one)
3. your href is broken.
to me it looks like (3) is for your case (try using single quotes (') instead).
if your problem still appears i think it's a problem in libxml2 (since
XML::LibXML uses the library calls to include the data). it is possible
that several parts of the xinclude document are not implemented as
found at w3c (http://www.w3.org/TR/xinclude/), since it's still not a
recommendation yet. you can find out if you run libxml2's xmllint with
your document.
> Could anybody give some (more then one) working examples using XInclude ?
check the w3c xml pages, there are tons of examples :)
christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]