Even in het Nederlands ,
Is het mogelijk om voor mij een aanpassing te maken zodat ik het onxi (xml) bestand kan inlezen zonder veel hoofdpijn.
Regelmatig voegen ze er regels aan toe en dan klopt mijn schema niet meer. Ik wil graag een fijnere selectie kunnen maken in het xlm bestand
zoals
Veldnaam Product_sku = ProductIdentifier/ ProductIDType>=03/IDValue
Veldnaam Product_name = DescriptiveDetail/TitleDetail/TitleElement/<TitleElementLevel>02/TitleText
Veldnaam Cattegorie = DescriptiveDetail/Subject/<SubjectSchemeIdentifier>32SubjectCode
En zo verder
Ik ben mij er van bewust dat het een beetje rommelig aandoet.
Wel wat gevonden op internet "Lastly we find the bit in the ONIX tagged up as “ProductIdentifier[ProductIDType = ’03’]/IDValue” and set that as the variable called “isbn”. That last one is a bit complicated but if I show you the ONIX, it’ll make more sense."
"There’s two ProductIdentifier tags here. Oh no – which IDValue should we select? Ah, it’s the one with ProductIDType 03. (A lot of learning programming is about getting familiar with the syntax – the particular way that the programming language is laid out. Here, we’re using square brackets to nest ProductIDType after ProductIdentifier. Don’t fret about learning syntax– that’s the easy bit. Understanding the actual logic is the thing to really master. It’s why kids’ learn-to-code tools such as Scratch are so great – they teach the principles and the logic, not one language’s particular way of writing them.)"