Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider.
Augustose_at_gmail.com
Date: 01/25/05
- Previous message: Danny: "Re: Object reference not set to an instance of an object"
- Next in thread: AlanGLLoyd: "Re: Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider."
- Reply: AlanGLLoyd: "Re: Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Jan 2005 06:06:38 -0800
>>From few days ago I have a problem working with an XML DOCUMENT,
ClientDatasets and XMLProvider.
The same problem occur in the XML Mapper provided with Delphi 7.
the situation is:
I have the following XML DOCUMENT
<a a1="1" a2="2">
<b b1="1" b2="2">
<c c1="1" c2="2"/>
<c c1="2" c2="2"/>
<d d1="1" d2="2"/>
<d d1="2" d2="2"/>
</b>
<b b1="2" b2="2">
<c c1="1" c2="2"/>
<c c1="2" c2="2"/>
<d d1="1" d2="2"/>
<d d1="2" d2="2"/>
</b>
</a>
I suppose that it has to be parsed in a way, but not.
The road map I do to get the problem is :
1 - I got a file called test.xml with the content described before.
2 - I open the XML Mapper provided with Delphi 7.
3 - I go to the file open, and select TEST.XML .
4 - inside the DOCUMENT window(left side) click right button and
chose "SELECT ALL" option in the pop up menu.
5 - against over the DOCUMENT window (left tree view) click right
button and chose "CREATE DATA PACKET PROM XML"
6 - In the mapping tab, click on CREATE AND TEST TRANSFORMATION
button.
7 - it appear the window called TEST TRANSFORMATION XMLDOCUMENT ->
DATAPACKET,
click in the firs cell of "B" column, just where say DATASET.
8 - It appear a button with tree points and i clickit
9 - then appear a second window without title where we can see the
problem.
The "b1" collumn has value only for it firs row and I suppose all
the row have to got value.
Why not every cells have it's values ?
That is my question
best regards and thank's you for your time
Augusto
- Previous message: Danny: "Re: Object reference not set to an instance of an object"
- Next in thread: AlanGLLoyd: "Re: Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider."
- Reply: AlanGLLoyd: "Re: Problem working with an XML DOCUMENT, ClientDataSets and XMLProvider."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]