Xml tag instead of empty value
Moderators: chulett, rschirm, roy
Xml tag instead of empty value
Hi,
I am reading xml file
Folder --> XML Input --> Transformer --> Sequential File
At the end for fields (which are empty in source xml file) in targert txt file I am getting xml tag (for instance <firstName/>) instead of empty value.
Any idea how to get rid of such feature?
Regards
Marcin
I am reading xml file
Folder --> XML Input --> Transformer --> Sequential File
At the end for fields (which are empty in source xml file) in targert txt file I am getting xml tag (for instance <firstName/>) instead of empty value.
Any idea how to get rid of such feature?
Regards
Marcin
Hi,
Since you are using Transformer stage next to XML INPUT, i guess you would be in the positon to eliminate this.
Try this post. It might help you.
-Kumar
Since you are using Transformer stage next to XML INPUT, i guess you would be in the positon to eliminate this.
Try this post. It might help you.
-Kumar
I don't think that it is the best solution to use basic function for each tag.kumar_s wrote:Hi,
Since you are using Transformer stage next to XML INPUT, i guess you would be in the positon to eliminate this.
Try this post. It might help you.
-Kumar
The problems is:
- I have well formed source xml
- some of the tags are empty and represented as <tag/> for example <firstName/>
- in target file after transformation, instead of having empty values I have the tag itself..
Thanks
Marcin
-
- Participant
- Posts: 145
- Joined: Fri May 02, 2003 9:59 am
- Location: Seattle, Washington. USA
-
- Participant
- Posts: 84
- Joined: Thu Dec 04, 2003 9:55 pm
-
- Premium Member
- Posts: 108
- Joined: Sat Feb 05, 2005 6:52 pm
- Location: US