on 05-11-2006 1:43 PM
hi,
Source Structure:
<root>
<a>
<a1>test1</a2>
<a2>test2</a2>
<a3>test3</a3>
</a>
<b>
<b1>beta1</b1>
<b2>beta2</b2>
</b>
<c>
<c1>ctest1</c1>
</c>
</root>
based on a condition i do not want to display the entire <a> tag
Target Structure:
<root>
<b>
<b1>beta1</b1>
<b2>beta2</b2>
</b>
<c>
<c1>ctest1</c1>
</c>
</root>
How can achieve this?
Thanks,
Tirumal
hi,
check the condition for existance of the element(<a>) and use createif function for creating the element(<a>) in target structure.This might solve the issue
Thanks and Regards
kausik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use the If function.
If the condition is satisfied, then map source <a> to target.
This will create a <a> tag in the target only if the condition is true. If the condition is not satified, the target <a> would not be created.
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Whats the minimum occurence of <a> ??? Is it 0.
Then give your condition on that node.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.