[Home] [By Thread] [By Date] [Recent Entries]
> dubolc jean (xmlstat@y...) > hi, > > I am translating a UML chart into Xml with the IBM > parser XML4j and I've got a probleme: > > How can a Child Element have two Parents? XML files are structured as trees. Thus you cannot represent this in the structure of XML. > To make an element inheritate from another, is the > solution to put an attribute "inheritance" in the > Child with the value "yes" or "no". You are better off having some form of element representing each of your relations in a many to many scenario You might want to look at http://www.yy.cs.keio.ac.jp/~suzuki/project/uxf/uxf.html which contains some DTDs for representing UML, though these use some text matching or element contents for relations (such as source or target of state machine transitions) which might better be represented as an XLink attribute. Pete. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



