Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
xs:import problem|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
Hi,
I am having a problem when I'm trying to import schema from an imported schema: main.xsd <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.sample.org/sa" elementFormDefault="qualified" targetNamespace="2" xmlns:a="http://www.sample1.com/two/a" xmlns:b="http://www.sample1.com/two/b" xmlns:c="2"> <xs:import namespace="1" schemaLocation="d.xsd"/> <xs:include schemaLocation="e.xsd"/> <xsl:element .. ref="a:test" d.xsd <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.sample.org/sa" elementFormDefault="qualified" targetNamespace="1" xmlns:a="http://www.sample1.com/two/a" xmlns:b="http://www.sample1.com/two/b" xmlns:c="1"> <xs:import namespace="2" schemaLocation="e.xsd"/> <xsl:element .. ref="a:test" NOTE: can't use <xs:include since d.xsd and e.xsd have different target namespace. e.xsd <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.sample.org/sa" elementFormDefault="qualified" targetNamespace="2" xmlns:a="http://www.sample1.com/two/a" xmlns:b="http://www.sample1.com/two/b" xmlns:c="2"> <element test type=xs:string I'm having an error in d.xsd that the element in e.xsd can't be access. |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
xs:import problem
