W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2003

Defining Xlink

From: C Baines <cbaines@westroadchurch.org.uk>
Date: Tue, 13 May 2003 14:49:50 +0100
Message-ID: <002201c31956$9cec0060$67c628c3@brianwas>
To: <xmlschema-dev@w3.org>


I have included some xlinks within the text content of an XML document e.g:

<rhyme>The <link xmlns:xlink="http://www.w3c.org/1999/xlink"
xlink:href="cat.gif" xlink:show="new">cat</link> sat on the mat</rhyme>

1.    Presumably <rhyme> and any other elements containing <link> need to be
mixed elements declaring <link> as a child?

2.    Is there any way of declaring <link> just once in the schema so that
it can be used within any elements at random?

3.    Presumably because I have declared the xlink namespace within <link>
in the XML document, I don't have to declare all the xlink attributes in the
schema? Or do I?


Received on Tuesday, 13 May 2003 10:32:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:01 UTC