LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-16-2004, 11:58 AM   #1
zovres
Member
 
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;
XERCES_STD_QUALIFIER cout << *xcXML << XERCES_STD_QUALIFIER endl;

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
 
  


Reply


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 07:24 AM
errors building xerces xml parser on SLES 9 (i586) nkshirsagar Suse/Novell 0 05-02-2005 08:12 AM
XML Parser bulkman Linux - Software 6 04-29-2005 07:01 AM
Galeon and XML::Parser virus2099 Slackware 1 01-20-2004 06:11 PM
Xerces, Xalan -- XML + XSL = HTML marktaff Linux - Software 1 10-15-2002 10:01 PM


All times are GMT -5. The time now is 02:24 PM.

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