Hi All,
I have one situation...where we have to take some data from a HTML page and transform it to an XML output....how can we do that in server job....
i have DS version as 7.5.1.A..
Thanks in advance
HTML to XML transform
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 221
- Joined: Fri Feb 17, 2006 3:38 am
- Location: India
- Contact:
HTML to XML transform
Thanks & Regards
Parag Saundattikar
Certified for Infosphere DataStage v8.0
Parag Saundattikar
Certified for Infosphere DataStage v8.0
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DataStage is really row-oriented. Perhaps you could re-format the page into a single row (or at least some appropriate chunk between starting and ending tags) then use appropriate techniques (for example lots of Ereplace() invocations in a routine) to substitute tags and the like.
Do you have the conversion fully specified?
Do you have the conversion fully specified?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 221
- Joined: Fri Feb 17, 2006 3:38 am
- Location: India
- Contact:
Hi All,
Thanks for the reply.....
I've found afreeware that converts HTML to XML.....now i'll need to transform this XML as per my need and again generate a XML...
I just wanted to know that...in my server edition i do not have a folder stage...so by using XML input, XML transformer, and XML Output can i do this...
Thanks in Advance
Thanks for the reply.....
I've found afreeware that converts HTML to XML.....now i'll need to transform this XML as per my need and again generate a XML...
I just wanted to know that...in my server edition i do not have a folder stage...so by using XML input, XML transformer, and XML Output can i do this...
Thanks in Advance
Thanks & Regards
Parag Saundattikar
Certified for Infosphere DataStage v8.0
Parag Saundattikar
Certified for Infosphere DataStage v8.0
You have a Folder stage - or you sure should have as it's not one of the optional plug-in stages. Should be under the File section of the Designer palette and under Stage Types / Server / File via the Manager.parag.s.27 wrote:I just wanted to know that...in my server edition i do not have a folder stage...so by using XML input, XML transformer, and XML Output can i do this...
![Confused :?](./images/smilies/icon_confused.gif)
And no, you don't 'need' the Folder stage to do this, the XML Input stage could happily use the URL method to read a single file if needed.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers