DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
This topic has been marked "Resolved."
Author Message
India2000
Participant



Joined: 22 Aug 2010
Posts: 274

Points: 2793

Post Posted: Mon May 06, 2013 8:39 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Unix
Hi,

I have a scenario where I need to decode a .xsd which is refering to another xd in it. I used xml stage with schema library to decode the outer xsd. in tabular form.Inner xsd is decoding as xml message in the output.
I tried to decode this xml message again with the same processes..I dont get any rows in the out of the second xml stage. Can any one direct me how to resolve this issue?


<Schema1>
<NAME>xyz</NAME>
<NAME1>abc</NAME1>

<Schema2>

<Name>xyz</Name>
<Name2>zzzz</Name2>

</Schema2>

</Schema1>

Thanks
eostic

Premium Poster



Group memberships:
Premium Members

Joined: 17 Oct 2005
Posts: 3836

Points: 30974

Post Posted: Tue May 07, 2013 5:18 am Reply with quote    Back to top    

Could be lots of things, but the example here would indicate that the xsd for "schema1" actually contains (at least) the element for "schema2" (with the rest being undefined... often xs:any ). L ...

_________________
Ernie Ostic

blogit!
Open IGC is Here!
Rate this response:  
Not yet rated
India2000
Participant



Joined: 22 Aug 2010
Posts: 274

Points: 2793

Post Posted: Tue May 07, 2013 6:23 pm Reply with quote    Back to top    

Thanks Eostic, and what you're saying is correct.. What I did is separately decoded the innner xml response. I could extract all the elements.
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours