[xml] can't open a document with xmlReadFile



Hello,

        I tried to open a XML document with the function xmlReadFile to handle
the document. The function always returns null when opening the
following document.

<?xml version="1.0"?>
<tables>
  <original>
    <attr1 table=""
           attribut="attr1"
           id_table="id_original_modif"
           associated="original"
           tableLink=""
           table_tableLink_lk=""
           tableLink_associated_lk=""
           type="1"/>
    <attr2 table=""
           attribut="attr2"
           id_table="id_original_modif"
           associated="original"
           tableLink=""
           table_tableLink_lk=""
           tableLink_associated_lk=""
           type="1"/>
    <attr3 table=""
           attribut="anc_attr3"
           id_table="id_original"
           associated="original_modif"
           tableLink=""
           table_tableLink_lk=""
           tableLink_associated_lk=""
           type="1"/>  
  </original>
</tables>

Is the syntax bad ? Can you help me please ?

Thanks




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]