Hopefully, someone could point me in the right direction. I have web
services that takes a DataSet object and Transforms it into a
pre-defined XSD (outside of my organization's control). I have
successfully done everything, now I am at a point where I want to
verify that my XSLT logic is optimized. Since I am new to XSLT coding
logic, I want to make sure that my transformation from DataSet to new
XML format is optimal.
Basically, I want to find out any resources (website, books, etc.) that
you would highly recommend. There are alot of books out there, but I
wanted to "cut through the chase" and get your input.
Also, here is my implementation of the XMLTransform, if you see
anything that I could do to optimize the Transformation, please tell
me...
XmlDataDocument doc = new XmlDataDocument (<DataSet Object>);
XPathNavigator nav = doc.CreateNavig ator();
XmlDataDocument oDoc2 = new XmlDataDocument ();
XslTransform transForm = new XslTransform();
transForm.Load( Server.MapPath( xsltFilePath));
MemoryStream oMem = new MemoryStream();
try
{
doc.PreserveWhi tespace = false;
xsl.Transform(n av,null,oMem,nu ll);
oMem.Flush();
oMem.Position = 0;
oDoc2.PreserveW hitespace = false;
oDoc2.Load(oMem );
return oDoc2;
}
catch(Exception )
{<exception logic>}
finally{<clean up>}
Thanks for your time!
--
rviray
------------------------------------------------------------------------
rviray's Profile:
http://www.msusenet.com/member.php?userid=4211
View this thread:
http://www.msusenet.com/t-1871129064