Hi All,
I have to remove the empty tags in XML. My parent tag in the xsd has the min occurs =0 and child tag associated with the parent has min occurs =1.
If I don' t receive parent value then i should not send the child tag . Since the min occurs for the child tag =1 , the tag is getting populated.
Is there a way i can discard these tags?
Please Advice.
Thanks,
Kumar66
How to remove the empty tags in Hierarchical Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
When one of our Treasury feeds went through a major overhaul of their XML, they sent us not quite valid xsd files for the new version that apparently no-one else had pointed out to them yet. They were quite helpful in getting us new versions even if it did take more than a couple of tries.
Of course, for something simple like that, you could always "fix" it yourself.
Of course, for something simple like that, you could always "fix" it yourself.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Also, while its hard to determine your problem by just reading your symptom, be sure you have your Composer step settings established correctly, and that you are passing in true "null values" for any elements you don't want to be written into the document.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>