olofk / ipyxact

Python-based IP-XACT parser
MIT License
121 stars 47 forks source link

Cannot obtain both attribute and value for a tag #20

Closed solmartin closed 8 months ago

solmartin commented 5 years ago

This is a completely arbitrary example, but take the following:

  <ipxact:tagOne>
    <ipxact:tagTwo name='a name'>0</ipxact:tagTwo>
  <ipxact:tagOne>

There's no way to get both the name attribute and the 0, as tags designated as CHILD or CHILDREN in the yaml override MEMBERS of the same name.

solmartin commented 5 years ago

@cdietschrun

olofk commented 8 months ago

The new API introduced in Ipyxact 0.3.0 should handle this.