‎2016 Jul 21 7:45 AM
Hello
I have to read an xml file and transform it.
I've created a simple transformation and it works fine.
Now I get the problem, the xml file looks not always the same,
some nodes exists sometimes, somethimes not.
If a node is missing, my simple transformation fails with the message "Node xx expected"
Is there a way to solve this problem?
Thanks in advance
Daniel
‎2016 Jul 21 11:40 AM
Hi,
Can you consider to use conditionals, e.g. assertions?
An assertion can be used to assign a value to a data node without the node being filled by the inbound stream.
Horst
‎2016 Jul 21 11:40 AM
Hi,
Can you consider to use conditionals, e.g. assertions?
An assertion can be used to assign a value to a data node without the node being filled by the inbound stream.
Horst
‎2016 Jul 21 4:45 PM
Hi Horst
Thanks for your help, now it works.
<tt:d-cond> in front of the node who can be missing
Best regard
Daniel