You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by re...@de.TRUMPF.com on 2003/09/03 08:13:13 UTC

update from xerces 1.7.0 to 2.3.0

Hello,

I am updating from Xerces 1.7.0 to 2.3.0.
In 1.7.0 I could create a XML-Declaration Node with

m_Dokument.createXMLDecl( S_xmlDeclVersion,  "UTF-8", S_xmlDeclStandalone ).

Now, how can I do this in 2.3.0, as DOMDocument no longer has a similar
method ?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: update from xerces 1.7.0 to 2.3.0

Posted by Gareth Reakes <ga...@decisionsoft.com>.
Hi,
	the serilizer does this now. Try and use DOMWriter.

Gareth

On Wed, 3 Sep 2003, regine.bauer@de.TRUMPF.com wrote:

> 
> Hello,
> 
> I am updating from Xerces 1.7.0 to 2.3.0.
> In 1.7.0 I could create a XML-Declaration Node with
> 
> m_Dokument.createXMLDecl( S_xmlDeclVersion,  "UTF-8", S_xmlDeclStandalone ).
> 
> Now, how can I do this in 2.3.0, as DOMDocument no longer has a similar
> method ?
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> 
> 
> 

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org