Z
ziondreams
I've got a couple of very simple web services that query a MSSQL
database, filling a DataSet with the data, applying an XSLT stylesheet
to the data, then returning an XmlDocument (as an XmlNode). I'd also
add that I'm using C#. I've recently been told by my company that I
won't be able to use DataSets as they have a very large memory
footprint and the possibility of pulling back very large amounts of
data is pretty large.
Therefore, I need some other way to get the data from the database and
get it into a form that I can apply an XSLT stylesheet to it. I've been
messing with XmlReader and actually calling a
[SqlCommand].executeXmlReader() but then I can't get that into anything
else to work with it (for example, a XmlDocument, etc.) I would prefer
to have the final result (before the stylesheet transformation) in an
XmlDataDocument, as that's what I pass to my Transform call.
I'm pretty new to WebServices in .Net (month or so) and I'm sure I'm
just missing something minimal. I scoured the newsgroups and couldn't
find anything related so I thought I'd post here. Thanks in advance for
any replies!!
database, filling a DataSet with the data, applying an XSLT stylesheet
to the data, then returning an XmlDocument (as an XmlNode). I'd also
add that I'm using C#. I've recently been told by my company that I
won't be able to use DataSets as they have a very large memory
footprint and the possibility of pulling back very large amounts of
data is pretty large.
Therefore, I need some other way to get the data from the database and
get it into a form that I can apply an XSLT stylesheet to it. I've been
messing with XmlReader and actually calling a
[SqlCommand].executeXmlReader() but then I can't get that into anything
else to work with it (for example, a XmlDocument, etc.) I would prefer
to have the final result (before the stylesheet transformation) in an
XmlDataDocument, as that's what I pass to my Transform call.
I'm pretty new to WebServices in .Net (month or so) and I'm sure I'm
just missing something minimal. I scoured the newsgroups and couldn't
find anything related so I thought I'd post here. Thanks in advance for
any replies!!