[XML Records] XMLRecords - ignore case

Forge Component
(36)
Published on 21 May (yesterday) by João Melo
36 votes
Published on 21 May (yesterday) by João Melo

Is it possible to ignose case when converting my XML to a record list using XMLToRecordList action ?

Hi Stijn,

That i know off, with this component you can not filter the list on the conversion.

What you can do is after doing the conversion, you simply filter the solution.

Br

Hey Domingues,

Thnx for the reply 

I explain more in detail.  During XMLToRecordList my XML attributes are parsed and mapped to my structure BUT here I have the issue that the XML elementname must match case with my structure attribute.  Eg XML element locationComment must match to structure attribute locationComment and not locationcomment.  I would like to ignore the case sensitivity of xmlelement 

Grts

To My knowledge as is, the extension is case sensitive in that matter. 

So to avoid errors you can try and convert one example of the XML, convert it to JSON, and then create the structure from the JSON. 

Concluding,

If you don't want to open the extension and change it, you'll have to match the exact names on the fields. 

Br

that's what I thought.  Could be an improvement to add a parameter to it ;-)

Thnx for the quick reply

Grts

Stijn