Jump to content

Referencing foreign namespace in XML schema


Gargamel

Recommended Posts

Hello all, I have following XML structure:

<customlink xlink:href="anydoc.xml" xlink:title="a linked document">A document</customlink>

How should an XML schema xsd-file look like that allows the xlink attributes? I've tried something like this:

<complexType name="customlink" mixed="true">	<attribute name="xlink:href" /></complexType>

But it doesn't work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...