Paul Prescod | 16 Dec 06:54 2002
Picon

Re: [xml-dev] XML2002 Conference in Baltimore?

Tim Bray wrote:

>  Lots
> of: schema-languages, topic maps, databases, Web Services.  Not much of:
> graphics, RDF, publishing. -Tim

Actually, there was a lot of content management.

http://makeashorterlink.com/?F2E8218C2

  And electronic business  (UBL, ebXML, xBRL) as distinguished from web 
services.

The proceedings are available here:

  * http://www.idealliance.org/papers/xml02/dx_xml02/index.html

There is some good stuff in there. Worth browsing.

REST is also starting to get some representation. Tim talked about it 
somewhat in his plenary, and then there were these three regular talks:

  * 
http://www.idealliance.org/papers/xml02/dx_xml02/papers/03-02-03/03-02-03.html

  * 
http://www.idealliance.org/papers/xml02/dx_xml02/papers/06-00-13/06-00-13.html

  * http://makeashorterlink.com/?P3F8528C2

(Continue reading)

Alessandro Di Bella | 17 Dec 16:02 2002
Picon

IDREF constraint


Hi,
does anyone know if there is a way of constraining the value if an IDREF
attribute in order allows as values only IDS of specified elements ? For
example:
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="e1">
        <xsd:complexType>
            <xsd:attribute name="id" type="xsd:ID"/>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="e1">
        <xsd:complexType>
            <xsd:attribute name="id" type="xsd:ID"/>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="e1">
        <xsd:complexType>
            <xsd:attribute name="id" type="xsd:ID"/>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="choice1">
        <xsd:complexType>
            <xsd:sequence>
                I WANT THIS TO BE ABLE TO POINT ONLY TO IDS IG <e1> OR
<e2> ELEMENTS
                <xsd:element name="target" type="xsd:IDREF"/>
            </xsd:sequence>
        </xsd:complexType>
(Continue reading)


Gmane