Jump to content

Referencing foreign namespace in XML schema


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...