0
I’m working on a arquivo.xml
and I need to declare a property if the string I receive as parameter nay be empty.
<condition>
<property name="SHAZAM" value="Esse é o conteúdo ${env.SHAZAM}">
</condition>
How can I implement this?
0
I’m working on a arquivo.xml
and I need to declare a property if the string I receive as parameter nay be empty.
<condition>
<property name="SHAZAM" value="Esse é o conteúdo ${env.SHAZAM}">
</condition>
How can I implement this?
1
Using xml I found some answers here: Conditionals in XML (Stackoverflow English)
Or using xslt this way:
<xsl:if test="1 == 2">
<property name="SHAZAM" value="Esse é o conteúdo ${env.SHAZAM}">
</xsl:if>
Browser other questions tagged string xml condition
You are not signed in. Login or sign up in order to post.