Hi,

> > 3. What is the advantage of creating your own XML
> > document using the Xerces CreateDocument API
> versus
> > just encoding the XML string manually?  I'm new to
> > XML, and to be honest, I don't quite see the
> advantage
> > of creating your own document.  It seems much
> easier
> > to encode the string manually.  In both cases, you
> > would need to know the structure of the tree.
> 
> If I follow you correctly here then I think you are
> suggesting just
> building a string up that is XML. If this is the
> case then you would not
> be able to call any of the methods that DOm supports
> on this string. It
> would be hard to ensure the XML is well formed and
> very hard to manipulate
> it.

I'm new to the Xerces parser, so I was just wondering
what other methods the DOM supports and would I want
to perform on the XML string?  So far, I've simply
taken the XML string and performed schema validation
and parsing on it.  So, I haven't manipulated it.  If
this is the case, isn't it simpler to encode the
string manually?

Thanks for your help and quick response.

Monica


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to