Page 1 of 1

What is wrong with my XML?

Posted: Sat Jan 02, 2016 1:19 am
by dikan
Here is an example. Simplified but exactly as it is in my xml.
<root>
<head>
<fld1>val1</fld1>
<fld2>val2</fld2>
</head>
<details>
<fld3>val3</fld3>
<fld4>val4</fld4>
</details>
<details>
<fld3>val5</fld3>
<fld4>val6</fld4>
</details>
</root>
I want to associate <details> with my data band and <head> with my page header band. For details it works with no problem but for page header it does not work. I have no data in my fields.
When I try to view my data head data shows like this
fld1 val1
fld2 val2
and that is odd to me and details data shows like I expect
fld3 fld4
val3 val4
val5 val6

Where did I go wrong?

Best regards,

Dikan

Re: What is wrong with my XML?

Posted: Sun Jan 03, 2016 9:40 am
by dikan
Found solution. XML is Ok but XSD must be formatted as ADO.NET.XML. I am not using ADO.NET so it was unnecessary task but never mind, just to know.

Best regards,

Dikan

Re: What is wrong with my XML?

Posted: Mon Jan 04, 2016 5:29 am
by HighAley
Hello.

Yes, by default you should use ADO.NET XML.

Thank you.