Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Defining composed keys [XSD]

Reply
Thread Tools

Defining composed keys [XSD]

 
 
Francesc Guim Bernat
Guest
Posts: n/a
 
      07-29-2003
Dear collegues,

I've this XML:

<?xml version="1.0"?>
<model>
<entity id="1">
<object id="1"></object>
<object id="2"></object>
</entity>
<entity id="2">
<object id="1"></object>
<object id="2"></object>
</entity>
</model>

I want to define a "composed" primary key for identify an element
object, where the identifiers of this object are the id of the entity
and the id of the object. But as i can't define a selector that point
to objects parent i'm not able to check this property throught an XML
Schema.

How i can define an XML schema that verify this property ?
any idea?


Thanks,

Francesc Guim Bernat




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xsl totals composed from variables the_jos XML 5 11-06-2006 04:04 AM
Matrix composed by two matrix lvcargnini VHDL 3 07-05-2006 07:21 AM
Using protected with composed class in an implented interface? iksrazal Java 2 03-08-2005 11:37 AM
defining or not defining destructors johny smith C++ 8 07-02-2004 08:51 AM
Smallville not composed for widescreen Waterperson77 DVD Video 67 12-16-2003 03:16 AM



Advertisments