Hi All,
I am working in DS 7.5.1. and Using the XML output stage.I have source file is sequencer file and I want to output is XML file.My job is running very well and There is not any error in log file.But i m not able to see the records in XML file.
Could any one guide me how to view the XML Output?
Thanks
Bikan
How to view the XML Output
Moderators: chulett, rschirm, roy
First off, there's no 'View Data' option in the stage. What do you mean when you say that you are "not able to see the records" in the XML file? Is it empty?
Unless you are outputting 'formated' XML then it will be one long record, essentially. You'll need to transfer it over to your PC and use an XML specific tool to view it properly, ideally one that can 'pretty print' it so it's easier for peoples to read.
![Confused :?](./images/smilies/icon_confused.gif)
Unless you are outputting 'formated' XML then it will be one long record, essentially. You'll need to transfer it over to your PC and use an XML specific tool to view it properly, ideally one that can 'pretty print' it so it's easier for peoples to read.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Charter Member
- Posts: 193
- Joined: Tue Sep 05, 2006 8:01 pm
- Location: Australia
----------------------------------------------------------------------------chulett wrote:First off, there's no 'View Data' option in the stage. What do you mean when you say that you are "not able to see the records" in the XML file? Is it empty?![]()
Unless you are outputting 'formated' XML then it will be one long record, essentially. You'll need to transfer it over to your PC and use an XML specific tool to view it properly, ideally one that can 'pretty print' it so it's easier for peoples to read.
Hi chulett,
I have done as per your Suggestion.But I am only able to see the size (1K) of file in unix.File is created but it's empty.
Thanks
Bikan
Ok... a 1K file isn't an empty file, what exactly is in it? If records aren't passing through the XML Output stage, then that usually means a problem with the XPath Expressions you are using there. Did you generate them from an xsd or were they manually created? Are there any messages in the log from that stage after the job completes?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Hi Chulettchulett wrote:Ok... a 1K file isn't an empty file, what exactly is in it? If records aren't passing through the XML Output stage, then that usually means a problem with the XPath Expressions you are using there. Did you generate them from an xsd or were they manually created? Are there any messages in the log from that stage after the job completes?
Thank you for help again.Actually i am new to XML ouput.
I am using a sequential file as a source and transforming that data into xml file.In the XML output in option setting i am giving the unix path.Some time file gets generated and some time it won't.When XML file is cretaing in unix environment it has a length of 1k and using ftp i transferred that file into local system and not able to see any record.
Please let me know your answer on the same.
Thanks
Bikan