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 Susanna <su...@hi-teck.com> on 2001/10/15 14:26:11 UTC

DOMPrint

Dear Andreas!
Thank You for e-mail (and program). You help me.
 From my project I am use (like in  DOMPrint-  in line 464) command:

 parser->setValidationSchemaFullChecking(gSchemaFullChecking);

and when execute my program , I am receive message
"The procedure entry
poin?setValidationSchemaFullChecking@DOMParser@@QAEX_N@Z could not be
located in the dynamic link library xerces-c_1_5_1.dll"

I installed xerces C++ library  and PATH in  Control Panel (System)
How  can I correct this error?
Thanks, Susanna Harutyunyan

----- Original Message -----
From: <AK...@Speech-Design.de>
To: <xe...@xml.apache.org>
Sent: Wednesday, September 26, 2001 7:30 PM
Subject: Antwort: Output DOM Tree to a file.


>
> Hi Susanna,
>
> unfortunately, there is no simple function in xerces-c to serialize or
> print out a DOMDocument.
>
> The only way I know is given by the DOMPrint example, which parses a XML -
> File into a DOMDocument and afterwards prints the DOMDocument to the
> standard output (cout). By the way, I have derived my application form
this
> base.
>
> The sample CreateDOMDocument creates a new DOMDocument and fills it with
> some elements. To print it out to a file you need the 'second half' of the
> sample DOMPrint. Then change the output direction from cout to your file
> stream.
>
> I made an example, where I put together the both parts. You can test it in
> the DOMPrint sample workspace. Don't forget to adapt the output file's
name
> in line180. And: The transcoder needs an encoding declaration in the
> DOMDocument, which I put in by doc.createXMLDecl(...) in line 301.
>
> (See attached file: DOMPrint.zip)
>
> Bye, Andreas


----------------------------------------------------------------------------
----


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