Hi,
i'm working with CR Professional 8.5.
I need to read data from a XML file that is not RAW, ADO, Data Island...
The format is the following:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE database SYSTEM "..\..\..\te_repository\database.dtd">
<!-- time and expenses database table -->
<!-- last update: [Tue Mar 12 09:53:37 CET 2002] -->
<!-- by user: [d023066] -->
<!-- release: [2001/10/31 v1.00] -->
<database name="tande">
<table name="TRAVEL_COUNTRIES">
<row>
<field name="COUNTRY">AD</field>
<field name="COUNTRYTXT">Andorra</field>
</row>
<row>
<field name="COUNTRY">AE</field>
<field name="COUNTRYTXT">United Arab Emirates</field>
</row>
<row>
<field name="COUNTRY">AE</field>
<field name="REGION">DUBAI</field>
<field name="COUNTRYTXT">United Arab Emirate,Dubai</field>
</row>
</table>
</database>
I used the CR XML v3.6 driver and tried with Table/Row hints to get the data I need (...I need to rebuilt the table!!). The problem is that I cannot distinguish, into ROW tag, between the different FIELD tags. So when the query is fired, only data from FIELD "COUNTRY" will be retrived.
I know that this is a stupid question (sorry but I'm working with CR since yesterday), but I absolutely need to import that file in CR...
Could anyone help me??
Thanks a lot.
i'm working with CR Professional 8.5.
I need to read data from a XML file that is not RAW, ADO, Data Island...
The format is the following:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE database SYSTEM "..\..\..\te_repository\database.dtd">
<!-- time and expenses database table -->
<!-- last update: [Tue Mar 12 09:53:37 CET 2002] -->
<!-- by user: [d023066] -->
<!-- release: [2001/10/31 v1.00] -->
<database name="tande">
<table name="TRAVEL_COUNTRIES">
<row>
<field name="COUNTRY">AD</field>
<field name="COUNTRYTXT">Andorra</field>
</row>
<row>
<field name="COUNTRY">AE</field>
<field name="COUNTRYTXT">United Arab Emirates</field>
</row>
<row>
<field name="COUNTRY">AE</field>
<field name="REGION">DUBAI</field>
<field name="COUNTRYTXT">United Arab Emirate,Dubai</field>
</row>
</table>
</database>
I used the CR XML v3.6 driver and tried with Table/Row hints to get the data I need (...I need to rebuilt the table!!). The problem is that I cannot distinguish, into ROW tag, between the different FIELD tags. So when the query is fired, only data from FIELD "COUNTRY" will be retrived.
I know that this is a stupid question (sorry but I'm working with CR since yesterday), but I absolutely need to import that file in CR...
Could anyone help me??
Thanks a lot.