User 9fa69eb201
31-10-2006 08:54:37
Dear All,
I have an RDF which is needed to convert into SDF. I dont have any problem in converting the root fields in RDF but when it comes to fields in table part i am facing with the problem of how to loop the program so that all fields in table are read.
I am describing the problem below
1) This i don't have any problem with the following one
$DTYPE ROOT:ID
$DATUM 1
2) I want solution for the following one
$DTYPE ROOT:INVENTORY(1):NAME
$DATUM XYZ
$DTYPE ROOT:INVENTORY(1):QUANTITY
$DATUM 10gm
$DTYPE ROOT:INVENTORY(2):NAME
$DATUM ABC
$DTYPE ROOT:INVENTORY(2):QUANTITY
$DATUM 50gm
I want to know how many times each field in a table is present in RDF and loop it so many times to get data to write in the following format
> <NAME_1>
XYZ
> <QUANTITY_1>
10gm
> <NAME_2>
ABC
> <QUNATITY_2>
50gm
Thanking you in Advance
Anil
I have an RDF which is needed to convert into SDF. I dont have any problem in converting the root fields in RDF but when it comes to fields in table part i am facing with the problem of how to loop the program so that all fields in table are read.
I am describing the problem below
1) This i don't have any problem with the following one
$DTYPE ROOT:ID
$DATUM 1
2) I want solution for the following one
$DTYPE ROOT:INVENTORY(1):NAME
$DATUM XYZ
$DTYPE ROOT:INVENTORY(1):QUANTITY
$DATUM 10gm
$DTYPE ROOT:INVENTORY(2):NAME
$DATUM ABC
$DTYPE ROOT:INVENTORY(2):QUANTITY
$DATUM 50gm
I want to know how many times each field in a table is present in RDF and loop it so many times to get data to write in the following format
> <NAME_1>
XYZ
> <QUANTITY_1>
10gm
> <NAME_2>
ABC
> <QUNATITY_2>
50gm
Thanking you in Advance
Anil