You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Shenxue Zhou <sh...@bea.com> on 2005/10/12 23:28:35 UTC

Does Xmlbeans api support schemaLocation?

I have an xml document which contains the following schema declaration
on the root element:

 

<?xml version="1.0" encoding="UTF-8"?>

<MyApp xmlns="http://MyNamespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://MyNamespace MyNamespace/myschema.xsd">

....

</MyApp>

 

Besides using cursor to parse the attributes on the root element, is
there an easier way to get the schema source(myschema.xsd)? 

 

Thanks,

 

Shenxue