Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

possible to have multiple datasources in a single XML file?

Status
Not open for further replies.

misterstick

Programmer
Apr 7, 2000
633
GB
could someone point me at a resource that tells me how to set an XML file to have multiple record formats so that these and the relationship between them can be read by SSRS?

i have two problems.

1. i need to pass the parameters used to create the dataset as part of the dataset. there may be any number of these with arbitrary names and datatypes. i'd like to do this generically so that i don't have to code them all individualy. an array of name, value pairs would be jim-dandy.

2. i need to pass master/detail record sets to reports. given that there may be large numbers of records, passing the master once for each detail is not an option.

many thanks in advance,


mr s. <;)

 
unfortunately, it's a pile of crap: flaky, ornery, much too simplistic.

what i'd like is this kind of structure:

<xml...>
<datafile>
<parameters><parameter...</parameters>
<master key=1><field...</master>
<detail key=2><field...</detail>
<master key=2><field...</master>
<master key=3><field...</master>
<detail key=1><field...</detail>
<detail key=2><field...</detail>
</datafile>
</xml>

and refer to an outside schema to specify how master and detail are linked to each other.

i'm not holding my breath...



mr s. <;)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top