Inconsistent XML structure for some database

49 views
Skip to first unread message

Michele Renda

unread,
Jun 26, 2017, 6:56:40 AM6/26/17
to lxcat
Hello everybody

I am working for a C++ binding library for LxCat and I found that XML has not the same structure when taking data from two different databases.

For example, in Biagi database we have:

<Groups>
<Group id="Ar">
<Description>...</Description>
<Processes>
<Process>
...
</Process>
</Processes>
</Group>
</Groups>


While in BSR database we have:

<Groups>
<Group>
<Description>...</Description>

<Process>
...
</Process>

</Group>
</Groups>

When parsing XML this can be a problem. I can apply a workaround to my code, but before I want to be sure it is not a problem on your side that can be easily fixed.

As I undestand you have a different DB for every group, but I suppose the XML structure should be common to all.

Best regards
Michele Renda

Bang-Shiuh Chen

unread,
Oct 17, 2018, 2:55:39 AM10/17/18
to lxcat
Michele,

I am having the issues with the xml too. <Group id="Ar"> is very useful to me, because it can let me find the specie. Did you have the workaround? Thank you.

Bang

Michele Renda

unread,
May 15, 2019, 11:01:25 AM5/15/19
to lxcat

Hello Bang

Sorry for very late answer (I was not notified by Google Group). If the question is still relevant, I can help you.

By the way, I noticed there was some update and now most of the problems were resolved for most DB.

Regards
Michele
Reply all
Reply to author
Forward
0 new messages