|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML Schema and XPointer
Something like this, maybe ? :
<xsd:complexType name="MyLexiconType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded"
namespace="//mylexiconserver/mylexicon.xsd" processContents="lax">
<LexName>LexValue</LexName> <!-- all content here must be defined
in 'mylexicon.xsd' -->
</xsd:any>
</xsd:sequence>
</xsd:complexType>
The content of the 'minOccurs' and 'maxOccurs' are there for
completeness... ;)
</pff>
-----Original Message-----
From: Shlomo Yona [mailto:shlomo@c...]
Sent: Wednesday, May 28, 2003 6:01 AM
To: xml-dev@l...
Subject: XML Schema and XPointer
Hello,
I have an XML Schema that represents some sort of a lexicon.
In this lexicon there are items which can be referred using an ID.
I am now defining another XML Schema and need to express a method of
pointing
to an item in a lexicon (that is written in an instance of this lexicon
schema).
What would be a good way to point there and still get some sort of
validation
and enforcement from an XML Parser?
For example, would XPointer be a good solution?
If so, how to represent it in the XSD? And how to represent it in the
XML
instance?
Thanks.
--
Shlomo Yona
shlomo@c...
http://cs.haifa.ac.il/~shlomo/
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








