On Thu, 19 Sep 2002, Daniel Spangler wrote: > It seems as though the methods for selecting nodes assume that the node has > a document associated with it. This is a valid assumption for DOM but JDOM > doesn't force you to have a Document in order to create an Element. It > would be nice to allow an Element to be used as the parameter for these > methods without that Element having to have a Document.
Unless you're doing absolute xpaths, I don't think you have to have a Document. I could easily be wrong, though. Do your paths start with a '/'? If so, that's an absolute path which indeed do require a document. Otherwise, use a relative path, and just knock that / off the front. -bob ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest