Hello all,
I have an XmlException being thrown trying to use XslCompiledTran sform while
using the google api. My suspicion is there is some html decoding happening
that I want to prevent...
something like this
being changed into this
here is the code being used...
XmlReaderSettin gs readerSettings = new XmlReaderSettin gs();
//works fine when using this ATOM 1.0//
XmlReader reader =
XmlReader.Creat e("http://www.nfl.com/rss/rsslanding?sear chString=home",
readerSettings) ;
XslCompiledTran sform transform = new XslCompiledTran sform();
transform.Load( @"C:\\myformat. xslt");
StringWriter writer = new StringWriter();
transform.Trans form(reader, null, writer);
mydataset.ReadX ml(new StringReader(wr iter.ToString() ));
//xmlexception using results from google api//
XmlReader reader =
XmlReader.Creat e("http://www.google.com/reader/atom/feed/http%3A%2F%2Fne ws.google.com%2 Fnews", readerSettings) ;
If anyone has run across this, any help would be appreciated.
I have an XmlException being thrown trying to use XslCompiledTran sform while
using the google api. My suspicion is there is some html decoding happening
that I want to prevent...
something like this
><a href="http://news.google.com/news/url?sa=T&ct =us/2i-0&fd=A& url=http://www.boston.com/news/nation/washington/articles/2008/02/26/senate_advances _bill_to_cut_wa r_funding&c id=1137103998&a mp;ei=Q77ER6-vMY7eqgPA1vGqAQ "><img
><a href="http://news.google.com/news/url?sa=T&ct=us/2i-0&fd=A&url=http ://www.boston.com/news/nation/washington/articles/2008/02/26/senate_advances _bill_to_cut_wa r_funding&c id=1137103998&e i=Q77ER6-vMY7eqgPA1vGqAQ "><img
XmlReaderSettin gs readerSettings = new XmlReaderSettin gs();
//works fine when using this ATOM 1.0//
XmlReader reader =
XmlReader.Creat e("http://www.nfl.com/rss/rsslanding?sear chString=home",
readerSettings) ;
XslCompiledTran sform transform = new XslCompiledTran sform();
transform.Load( @"C:\\myformat. xslt");
StringWriter writer = new StringWriter();
transform.Trans form(reader, null, writer);
mydataset.ReadX ml(new StringReader(wr iter.ToString() ));
//xmlexception using results from google api//
XmlReader reader =
XmlReader.Creat e("http://www.google.com/reader/atom/feed/http%3A%2F%2Fne ws.google.com%2 Fnews", readerSettings) ;
If anyone has run across this, any help would be appreciated.
Comment