Re: [Gambas-user] Edit XML

2010-11-22 Thread Benoît Minisini
> Hi Fabien > > The code I have written acts as a kind of generic interface between the > existing Gambas XMLReader and XMLWriter. The question is, does this go > some way to "completing xmldoc"? > > The code consists of: > XMLParserToModel > XMLContainer > XMLRewriter > > The important thing t

Re: [Gambas-user] Edit XML

2010-11-22 Thread Caveat
Hi Fabien The code I have written acts as a kind of generic interface between the existing Gambas XMLReader and XMLWriter. The question is, does this go some way to "completing xmldoc"? The code consists of: XMLParserToModel XMLContainer XMLRewriter The important thing to note here is that my X

Re: [Gambas-user] Edit XML

2010-11-21 Thread Fabien Bodard
In fact the problem is simple ... xmldoc is not finalized ... since many year. if someone have capabilities and times for it ... 2010/11/21 Mauricio Baeza : > El sáb, 20-11-2010 a las 13:54 +0100, Caveat escribió: > >> Hi Mauricio >> >> Sorry for the late reply, I was doing a lot of thinking. :-)

Re: [Gambas-user] Edit XML

2010-11-20 Thread Mauricio Baeza
El sáb, 20-11-2010 a las 13:54 +0100, Caveat escribió: > Hi Mauricio > > Sorry for the late reply, I was doing a lot of thinking. :-) > > Perhaps you might like something along these lines: > > XMLRewriter is a class in a little project I've been working on. The > idea of XMLRewriter is that i

Re: [Gambas-user] Edit XML

2010-11-20 Thread Caveat
Hi Mauricio Sorry for the late reply, I was doing a lot of thinking. :-) Perhaps you might like something along these lines: DIM rewriter AS NEW XMLRewriter ' Read the original input XML (See http://pastebin.com/aR11N5uc) rewriter.parseInput(User.home &/ "Heroes.xml") ' All existing Text

[Gambas-user] Edit XML

2010-11-15 Thread Mauricio Baeza
Hi all ... With the library for XML I can, without problems ... 1 .- Create new XML file 2 .- Read any XML file What I can not do is change just one attribute of an element of an existing file. Does anyone have a sample? Greetings -- Mauricio Baeza 10 años usando OpenOffice.org, libre, grat