Hi,
A look at the current code gives this:
// We always print out the xmldecl no matter whether it is
// present in the original XML instance document or not.
//
const XMLCh* versionNo = (docu->getVersion()) ?
docu->getVersion() : gXMLDecl_ver10;
*fFormatter << gXMLDecl_VersionInfo << versionNo <<
gXMLDecl_separator;
and in my experience I always get an XML decl. What version are you using?
If it is the most recent would you post a snippet of your code?
Gareth
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]