logo       

Re: Error message- ParserDetails.ini?: msg#00057

lang.perl.xml

Subject: Re: Error message- ParserDetails.ini?

Patrick

The sample XML you provided should certainly work well with XML::Simple.

The biggest problem people have with using XML::Simple is that they're not comfortable with Perl references. If you can read and understand the output of Data::Dumper then XML::Simple should be fine.

I'd recommend this article for starters:

http://www.perlmonks.org/index.pl?node_id=218480

Make sure you have a recent version of XML::Simple installed.

Regards
Grant

Sullivan, Patrick wrote:
We will receive a file from a 3rd party vendor contain New Hire(s) and the Job Requisition for that New Hire. The deepest it get is 5 with only one CDATA entry but no PCDATA and a max of one attrib per tag.
I need to create a CSV file that our ERP's COBOL program will process that will have one line for each <RequisitionCandidate>.
Which API would you use?
<?xml version="1.0" encoding="UTF-8"?><VisionDataExchange xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance";>
<Credentials>
<Client>Client40_CenturaHealth</Client>
<Version>4.3</Version>
</Credentials>
<ExportData>
<RequisitionCandidate>
<Candidate refCode="">
<FirstName>Josh</FirstName>
....
<Field fldCode="FLD_SIGNATURE_FIELD"></Field>
</CustomInfo>
</Profile>
</Profiles>
</Candidate><Requisition clientReqId="54">
<Title>RN</Title>
...
</Requisition>
</RequisitionCandidate>
<RequisitionCandidate>
<Candidate refCode="">
<FirstName>Cand</FirstName>
...
</RequisitionCandidate>
</ExportData></VisionDataExchange>

Thank you,

Patrick Sullivan



_______________________________________________
Perl-XML mailing list
Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise