[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML Schema and XPointer

  • To: <xml-dev@l...>
  • Subject: RE: XML Schema and XPointer
  • From: "Phil Fuhlman" <pfuhlman@D...>
  • Date: Wed, 28 May 2003 10:43:47 -0500
  • Importance: normal
  • Priority: normal
  • Thread-index: AcMlCJc4AzwxryHwTxS4RtcNqHIT1AAJr6DQ
  • Thread-topic: XML Schema and XPointer

xml schema 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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.