Page 1 of 1

Reading a simple XML File

Posted: Fri Apr 29, 2011 4:37 pm
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:

Posted: Mon May 02, 2011 10:25 am
by arunkumarmm
How have you defined your xPath and what is your repetition element?