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

Re: Repost: DOM XML Level 1 question

  • From: "Don Park" <donpark@q...>
  • To: <xml-dev@i...>
  • Date: Fri, 24 Apr 1998 14:51:18 -0700

traverse dom xml
Siping,

>> I'm trying to implement the DOM interface on the listener side of the
>> SAX interface. The
>> DOM Core Level 1 interface looks clear enough to me. But I get confused
>> by the
>> definition in DOM XML Level 1, especially "XMLNode" -- why isn't it
>> derived from
>> "Note"? Can I traverse a tree with this interface and how? Why does it
>> have
>> this "getEntityReference()"  method, I don't see the concept of having
>> an "entity reference"
>> attached to each node (such as an element) in XML spec.

XMLNode is probably not derived from Node because there was no need to.

You traverse via its methods which allows you to get its parent, siblings,
and children.

EntityReference, when expanded, could result in multiple XMLNodes, so each
of the XMLNodes in the expanded view will return the original
EntityReference if getEntityReference is invoked.

Like wise, getEntityDeclaration will return the definition of the entity.

If I am vague it is because I have little details myself.

Good luck,

Don Park
http://www.docuverse.com/personal/index.html



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/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.