Hiya, I'm using dom4j to load up an XML file and do some parsing on various elements/attributes, and want to report to the user when theirs a problem in the file.
Now, I can easily just say "parse error in foo.xml", but what I'd love to do is include the line number of the element that caused the error, so that I can output a message in a way picked up by ide's, like: foo.xml:65: Parse error in file. Is this somehow possible, givin an Element object? Mark -- \m/ -- "...if I seem super human I have been misunderstood." (c) Dream Theater [EMAIL PROTECTED] - ICQ: 1934853 JID: [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Bringing you mounds of caffeinated joy. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user