473,382 Members | 1,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

xml parser

Hello,

I want to know if I can modify a xml-file with a xml-parser or can I
only read the information out of it.

If it is possible, I searching for xml-Parser for c++ (win32). I tried
with xerxes. But I didn't find how to access to existing "const"
Methods. I also don't know if I can modify?

Thanks very much!

May 12 '06 #1
3 2194

Harry wrote:
Hello,

I want to know if I can modify a xml-file with a xml-parser or can I
only read the information out of it.

If it is possible, I searching for xml-Parser for c++ (win32). I tried
with xerxes. But I didn't find how to access to existing "const"
Methods. I also don't know if I can modify?

Thanks very much!


Even if the given XML parser is written in C++, this is off topic
because it doesn't contain a question about the C++ LANGUAGE, which is
what is discoussed here.

I'd suggest you read the documentation for your parser.

May 12 '06 #2
Harry wrote:
If it is possible, I searching for xml-Parser for c++ (win32). I tried
with xerxes.
Xerxes is hard to install and use. Search for TinyXML. It does exactly what
you need, without runaway dependencies.
But I didn't find how to access to existing "const"
Methods. I also don't know if I can modify?


Assuming Xerxes isn't completely useless, you are trying to use it wrong. If
you have a question about how 'const' works, post it here, with a small
sample of code that doesn't assume any of us know Xerxes.

If you have a question about Xerxes, post it to a forum that covers Xerxes.
Posting to the narrowest technical newsgroup always has better odds of a
good response.

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
May 12 '06 #3
Hello Harry,

On Fri, 12 May 2006 11:29:08 UTC, "Harry" <hx*******@web.de> wrote:
Hello,

I want to know if I can modify a xml-file with a xml-parser or can I
only read the information out of it.
An XML Parser generally means a tool to read XML formatted information.

An XML Generator would by used to create an XML Document.

Most packages, such as Xerces are XML Tools. That is they can both
read and write XML documents. Some have an ability to edit documents.
If it is possible, I searching for xml-Parser for c++ (win32). I tried
with xerxes. But I didn't find how to access to existing "const"
Methods. I also don't know if I can modify?
Think of an XML document as a text file. You can only edit an unlimited
sized document in a couple ways. Since compressing or expanding a
document at a certain location may be impossible, the entire document
must be rewritten to make the change. A change that had sufficient
space, such as overwriting a field with the same size of data, could
be handled in place.

Some XML Tools generate in-memory copies of the document structure.
These tools allow a document to be read, modified, and written.

There are also XML Translation Tools (XLS? or XLT?) that allow you
to specify modification rules to make on a document.
Thanks very much!


David
May 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Paulo Pinto | last post by:
Hi, does anyone know of a Python package that is able to load XML like the XML::Simple Perl package does? For those that don't know it, this package maps the XML file to a dictionary.
11
by: Jean de Largentaye | last post by:
Hi, I need to parse a subset of C (a header file), and generate some unit tests for the functions listed in it. I thus need to parse the code, then rewrite function calls with wrong parameters....
1
by: Karalius, Joseph | last post by:
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c...
3
by: Himanshu Garg | last post by:
Hello, I am trying to pinpoint an apparent bug in HTML::Parser. The encoding of the text seems to change incorrectly if the locale isn't set properly. However Parser.pm in the directory...
2
by: Joel Hedlund | last post by:
Hi! I have a possibly dumb question about imports. I've written two python modules: parser.py ------------------------------------ class Parser(object): "my parser"...
5
by: thewarden | last post by:
I've come into a situation where I require to have BBCode parsed, this includes the standard tags supported by PEAR package HTML_BBCodeParser and custom BBCode tags I've added myself. My problem...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
0
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): ...
18
by: Just Another Victim of the Ambient Morality | last post by:
Is pyparsing really a recursive descent parser? I ask this because there are grammars it can't parse that my recursive descent parser would parse, should I have written one. For instance: ...
0
by: arvindkgs | last post by:
Iam using c lexer that is flex generated and a c++ parser that is bison generated. i have modified the parser to acccept only string input. I am calling the parser function yyparse in a loop and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.