Expand my Community achievements bar.

need help on XSD mapping for multiple objects

Avatar

Level 2

Hi All,

I am having a table in which row1.column1 data is mapped with xyz atttribute from XSD which is having multiple occuraces.

Same attribute is mapped with row2.column1.

But ro3.column1 data is not getting displayed completly only few data is gettin displayed.

Example

<MYXML>

     <EMP>

          <name>a1</name>

          <address>usa</address>

          <age>20</age>

     </EMP>

     <EMP>

          <name>a2</name>

          <address>canada</address>

          <age>21</age>

     </EMP>

     <EMP>

          <name>a3</name>

          <address>india</address>

          <age>22</age>

     </EMP>

</MYXML>

here row1.column1 mapped with name

row1.col2 mapped with address

row2.col1 mapped with name

row2.col2 mapped with age

Please help for the same.

2 Replies

Avatar

Level 10

Mohit,

     Here is a sample file for your use..

https://acrobat.com/#d=urni5MvK7Fx87liMbRpPgQ

    I used the below XML as data connection as well as Preview Data..

<?xml version="1.0" encoding="UTF-8"?>
<MYXML>

     <EMP>

          <name>a1</name>

          <address>usa</address>

          <age>20</age>

     </EMP>

     <EMP>

          <name>a2</name>

          <address>canada</address>

          <age>21</age>

     </EMP>

     <EMP>

          <name>a3</name>

          <address>india</address>

          <age>22</age>

     </EMP>

</MYXML>

Thanks

Srini

Avatar

Level 2

Hi Srini,

thanks for it....

Could you please give a sample to achieve the same through scriping instead of data binding,

As I need to display  the data on some business condition.

Thanks,

Abhijit