Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Transformation - check tag existance

Former Member
0 Kudos
174

Hi,

i want to read data from an XML with the help of a ST. However, the XML has optional tags. In other words i do not always know the structure of the XML.

The ST i made is ok when all the tags are present.

How can I check if a tag is present or not?

Thank you

1 REPLY 1

Former Member
0 Kudos
75

It seems that it's enough to surround the tag in ST with <tt:cond > and </tt:cond>