What is wrong with my XML?

Stimulsoft Ultimate discussion
Post Reply
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

What is wrong with my XML?

Post 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
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Re: What is wrong with my XML?

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: What is wrong with my XML?

Post by HighAley »

Hello.

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

Thank you.
Post Reply