<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Should I convert to/from org.jdom.Document</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have a quick design question for the group. When using an XML parser such as JDOM, is it better for the application to work directly with the document tree (such as org.jdom.Document) or should it use an application specific model and convert to/from the document tree? What are the pros/cons of the two approaches, where does one make sense over the other?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Naresh Bhatia</FONT>
</P>

</BODY>
</HTML>