You could use SAX, create a content handler and load some sort of object up with the values(hashmap works ok for this) as the SAX parses the document...then you just pass around your object instead of the DOM....I guess we only use DOM if we need to manipulate a document...otherwise it seems like an inefficient way to pass bits of data around inside your application.
hth Doug -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>