Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-16-2004, 12:58 PM   #1
Registered: Sep 2002
Posts: 184

Rep: Reputation: 30
anyone familiar with the xerces xml parser used by apache?

I have constructed a tree (using the CreatDOMDocument sample) and I wat to be able to save this tree in a simple string in order to cout it and pass it as a string.
I spent a lot of time and don't get anything usefull :\

here's what I do to try to have a a string:
DOMWriter *dw = impl->createDOMWriter();
XMLCh *xcXML = dw->writeToString(*doc);
char *cXML = XMLString::transcode(xcXML);
delete dw;

but cout prints "60" I don't know why and actually it make sens, that must be the ascii value of on of the char...

hell, I really don't know what to do

I hope someone already used that

any help appreciated thx


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 08:24 AM
errors building xerces xml parser on SLES 9 (i586) nkshirsagar SUSE / openSUSE 0 05-02-2005 09:12 AM
XML Parser bulkman Linux - Software 6 04-29-2005 08:01 AM
Galeon and XML::Parser virus2099 Slackware 1 01-20-2004 07:11 PM
Xerces, Xalan -- XML + XSL = HTML marktaff Linux - Software 1 10-15-2002 11:01 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration