Hi

Just started working with Xindice - a convert already, but one question ....

If I query a simple xml document like this:

<?xml version="1.0"?>
<root>

.... more tags here

</root>

everything works fine.

But if I include support for namespaces and schemas like this:

<?xml version="1.0"?>
<root xmlns="http://www.imsglobal.org/xsd/imscp_v1p1";
    xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1
imscp_v1p1p3.xsd">

.... more tags here

</root>

The the query fails.

I feel like I am mising something obvious, but cannot spot it in the
documentation, other than support for schemas is in future Xindice versions.

Please comment! - how can I query XML documents that include the support for
namespaces and schemas?

With kind thanks

Warwick


Warwick Bailey
Senior Software Developer
Centre for Applied Research in Education Technologies (CARET)
16 Mill Lane
Cambridge CB2 1SB
England

www.caret.cam.ac.uk

[EMAIL PROTECTED]
0044 (0) 1223 765361

Reply via email to