Reading a simple XML File

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
datastage_lost
Participant
Posts: 21
Joined: Thu Nov 18, 2010 3:39 pm

Reading a simple XML File

Post by datastage_lost »

Hello

I'm starting to work with XML Files, and I tried to load but I can't, I did something like this..

Server Job

FOLDER Stage -> XML Input -> Secuential File

Parallel Job

External source -> XML Input -> Secuential file

These two ways don't work for me, I don't know What I do wrong, configuracion each stage...

This is my Test file

<LIBROS>
<LIBRO>
<AUTOR>STEVE MAY</AUTOR>
<TITULO>PROGRAMMING WITH C++</TITULO>
</LIBRO>
</LIBROS>

I was following this link
<< http://www.ibm.com/developerworks/data/ ... g/#step1.3 >>
but, still having this error..

Server_XML..XML_Input_24: XML input document parsing failed. Reason: Xalan fatal error (publicId: , systemId: , line: 5, column: 1): Expected comment or processing instruction


Please, could you help me with this, or give me an idea to fix this.. thank's
:roll:
gTy
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

How have you defined your xPath and what is your repetition element?
Arun
Post Reply