[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New 'gb.xml2' component
[Thread Prev] | [Thread Next]
- Subject: Re: New 'gb.xml2' component
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Sun, 8 Nov 2026 01:03:32 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Am 07.11.26 um 10:29 schrieb Claus Dietrich:
I took a project published long time ago in the Gambas-Buch (https://gambas-buch.de/doku.php?id=k27:k27.1:start&s[]=gb&s[]=xml)Am 07.11.26 um 09:38 schrieb Benoît Minisini:Le 06/11/2026 à 20:18, Claus Dietrich a écrit :Am 06.11.26 um 17:07 schrieb Benoît Minisini:I think people can start to use it to test it, report problems, questions and suggest features.Regards,Hi BenoîtMy test app is about scraping data within a HtmlDocument class object. So its using gb.xml.html which inherits gb.xml. Are we going to have a gb.xml2.html as well?Best regards ClausI don't know, the new component API is not compatible with the old ones.What do you need in this 'gb.xml.html' component that you can't do with 'gb.xml' ?There is a 'FromHTML()' method in the 'XmlDocument' class. But this class can only read XML data, it cannot modify it at the moment.Regards, -- Benoît MinisiniI am referring to bug report #3047 https://gambaswiki.org/bugtracker/edit?object=BUG.3047&from=aHR0cHM6Ly9nYW1iYXN3aWtpLm9yZy9idWd0cmFja2VyL21haW4.dGFiPTEmdXBkYXRlPS5tZW51JnNjcm9sbD0wand the demo project provided by Lee. Its about faulty reading of xml-elements in a HtmlDocument class object.Best regards Claus
Download link: https://gambas-buch.de/lib/exe/fetch.php?media=k27:k27.1:xmldom.read.addresses.tar.gz
and found that nothing works.It seems that gb.xml2 is pretty different and can't be used easily as a replacement for gb.xml. Methods have partially changed and essential classes like XMLElement are not available any longer. I do not see myself in a position to rewrite the project and test the new component without further documentation or information.
Best regards Claus
| Re: New 'gb.xml2' component | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: New 'gb.xml2' component | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| New 'gb.xml2' component | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: New 'gb.xml2' component | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: New 'gb.xml2' component | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: New 'gb.xml2' component | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: New 'gb.xml2' component | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |