A
Ariana
I have the following situation for an ASP.NET 2.0 web site:
- Data is in one XML file
- I want to transform the data using an XSLT file before using it
- The data is hierarchical
- The data will change only occasionally but is quite large and needs
to be up to date when it does change
- The data will be used to display information in a standard format on
every page, but will be filtered on different pages
Basically, what I'm looking for are suggestions and discussions on the
best way to:
- Cache the data but update it when necessary
- Create reusable code to display the data
- Filter the data when necessary
- Sort the data without reapplying an XSL template
So far, I've got a DataList control bound to an XmlDataSource which
does everything except sorting, but I can envisage solutions involving
DataSets, user controls etc, and I wanted to see what the best options
were in everyone's opinion...
Thanks!
- Data is in one XML file
- I want to transform the data using an XSLT file before using it
- The data is hierarchical
- The data will change only occasionally but is quite large and needs
to be up to date when it does change
- The data will be used to display information in a standard format on
every page, but will be filtered on different pages
Basically, what I'm looking for are suggestions and discussions on the
best way to:
- Cache the data but update it when necessary
- Create reusable code to display the data
- Filter the data when necessary
- Sort the data without reapplying an XSL template
So far, I've got a DataList control bound to an XmlDataSource which
does everything except sorting, but I can envisage solutions involving
DataSets, user controls etc, and I wanted to see what the best options
were in everyone's opinion...
Thanks!