Hi Ernie,
eostic wrote:scroll to the right on the link... add "text()" to the end of each of the strings....
Ernie
Will that work for a parent element which don't have any text.
Below is the XML I have used
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
when I appended text() to /note/test(), I got the bellow error
DataStage Job 19 Phantom 3740
Program "DSP.ActiveRun": Line 51, Exception raised in GCI subroutine:
Unknown exception code.
Attempting to Cleanup after ABORT raised in stage LMC..XMLInput
DataStage Phantom Aborting with @ABORT.CODE = 3
I have handled the xml fragments in the Transformer stage. It worked fine. But please guide me if there is any way to handle this on XPath or I'm making a wrong move
Many Thanks
MSR
The minute you start talking about what you're going to do if you lose, you have lost