OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Varying the attlist for an element depending on the element's parent

[ Lists Home | Date Index | Thread Index ]
  • From: "Eric A. Stephens" <estephen@appliedtheory.com>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 3 Dec 1998 17:05:40 -0500 (EST)

In a DTD that I am developing, I have the same "primitive" element defined
in two different parent element. For example:

<emp>
        <type val="x">
</emp>

<skr>
        <type val="1">
</skr>

What I'm looking to do is have different ATTLIST defs for the element TYPE
depending on the element that TYPE is contained within.

I've looked at the spec and some examples and its not clear to me at this
point. If anyone has an answer or pointers to where I can get the answer
please let me know.


Eric A. Stephens                      estephen@AppliedTheory.com
Software Engineering Group          http://www.AppliedTheory.com
AppliedTheory Communications, Inc.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS