I
Iain Robinson
Hi all,
I'm pretty new to schemas and i've been using Oxygen XML editor to
generate and associate XSD files from my own XML files. The results are
pretty simple but there is one aspect thats confusing me.
In my sample xml file i have certain elements that i wish to be treated
as xhtml by a browser (<title> tags are 1 example) and xlinks -- I've no
trouble about associating these with the relevant namespaces but when i
generate a schema file i get the lines
<xsd:import namespace="http://www.w3.org/1999/xhtml"
SchemaLocation="xhtmlxsd"/>
<xsd:import namespace="http://www.w3.org/1999/xlink"
schemaLocation="xlinkxsd"/>
where xhtmlxsd and xlinkxsd are local files on my pc - containing
schemas for the parts of the xhtml and xlink (libraries?) i've used.
My question is - can i not refer to a non-local version of the full
xhtml and xlink libraries and how would i do this (i.e what are the
correct urls) -- or -- have i got totally the wrong idea?
cheers
P@
I'm pretty new to schemas and i've been using Oxygen XML editor to
generate and associate XSD files from my own XML files. The results are
pretty simple but there is one aspect thats confusing me.
In my sample xml file i have certain elements that i wish to be treated
as xhtml by a browser (<title> tags are 1 example) and xlinks -- I've no
trouble about associating these with the relevant namespaces but when i
generate a schema file i get the lines
<xsd:import namespace="http://www.w3.org/1999/xhtml"
SchemaLocation="xhtmlxsd"/>
<xsd:import namespace="http://www.w3.org/1999/xlink"
schemaLocation="xlinkxsd"/>
where xhtmlxsd and xlinkxsd are local files on my pc - containing
schemas for the parts of the xhtml and xlink (libraries?) i've used.
My question is - can i not refer to a non-local version of the full
xhtml and xlink libraries and how would i do this (i.e what are the
correct urls) -- or -- have i got totally the wrong idea?
cheers
P@