Re: XML Parsing

<[email protected]> 27 Mar 2014 04:54:26 -0700
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
Hi Dimitris,
Thanks for the quick reply.
The idea with the treeview is not bad at all, I will have a look at that. I'll just have to check to see how many different tags there are in all the different commands to see whether it is easily realisable.
Best regards,
Paul
 

---In [email protected], <gui4cli@...> wrote :

 Hi Paul, 

 Short answer, no, there is no DLL for xml parsing that I know of.
 

 It could also be done with gui4cli itself, specially if you know the <tags> used. I had done something like this a long time ago, parsing a file into a treeview, but I no longer have that gui.
 

 If, as you say, you have a huge amount of data, it would of course be much faster with a dedicated dll.

 

 All the best,
 Dimitris
 

 

 On Wed, Mar 26, 2014 at 11:22 AM, <thepauladams@... mailto:thepauladams@...> wrote:
   Hi,
Has anyone done any xml parsing with GUI4CLI?
I have a lot of GUI4CLI apps that use the CLI from MKS (Now PTC) Integrity. The main problem that I have is the huge amount of text parsing that I have to do to retrieve the information that I need. However, there is an undocumented parameter for the CLI commands that results in the command output being generated as xml. If I had an xml parser that I could use in GUI4CLI, this would be a much quicker and safer way of getting the information that I require.
 There seem to be a number of xml parser dlls around, but I was hoping that someone already had some experience in using them and could give me some hints or details of any success they have had.
Thanks in advance.
Paul