Thread: XML Parser
View Single Post
  #1 (permalink)  
Old 07-10-2007, 06:12 PM
samfuerte samfuerte is offline
Member
 
Join Date: Jul 2007
Posts: 1
samfuerte is on a distinguished road
Send a message via ICQ to samfuerte Send a message via MSN to samfuerte
XML Parser
Hello,

First of all I would like to send greetigs to every member of this forum and to any other member in any other forum.
Now to my subject:

I have made a parser that reads an XML file and sends the output in a txt or xml form. So far so good.
Now I want to use a datasource file (txt file) and compare it with the parser's output just to get some specific attributes that are (or are not) in xml file.
i.e. I have a datasource file like this:

Procedure: web.ifc_print.print_car_loan_package
Columns:
pIdEmp [NUMBER]
pPackageCode [VARCHAR2]
pPackageNumCredit [VARCHAR2]
pIdCreditArr [VARCHAR2]
pCursor [REF CURSOR]

JasperReports XML document fields:

<field name="name1" class="java.lang.String"/>
<field name="name2" class="java.lang.String"/>
<field name="status" class="java.util.Date"/>
<field name="employeename" class="java.lang.String"/>
.................................................. ..

So, I want to find out which variables in datasource are not used in given templates, and other like this.

Any idea on how will I compare the two files?

Thanks a lot in advance
Reply With Quote
Sponsored Links