Ok, I added x = Nothing, but it doesn't seemed to have made much of a difference (which makes sense, because since it's not writing the whole file on the save line right before it). This site is hosted by Brinkster so they have control of the server.
What about using the XPath in the Gridview...
Alright, well I'm not using the memorystream now (I decided just to write the file) but now I'm getting "Exception of type 'System.OutOfMemoryException' was thrown. " Does this mean my xml file is just too big for it, or what? It seems to be writing the temp file ok (removing the proper nodes)...
Very cool, thanks! However, I am still a little confused about how to get it from the xmlDocument to a DataSet out to a GridView. Rather than
x.Save("modified.xml")
I need to just throw it in a dataset. I don't really see a property of xmlDocument with which I can do this, so I'm guessing I...
JohnH,
Thanks for the reply. I had kind of tried that but had been having troubles there too. In fact, see the other thread I started here: http://www.vbdotnetforums.com/showthread.php?p=44581 for more on that. In case you couldn't tell, I'm kind of new to the xml scene, so I'm probably just...
How would it know what to delete though? I'm displaying it as html, not xml, so the tags won't show up anyway, only what's in between them. And I don't know how to tell it to delete something that I don't know the value of (since it's variable).
Hello all...
I am creating a web service that pulls xml files from a website and puts the data in a dataset. At least that's what it's supposed to do. Instead, I'm only getting this:
My code from the function in the .asmx file looks like this:
<WebMethod()> Public Function GetDataXML() As...
Hi all,
I am parsing an xml file (long story) and was wondering if there was a way to easily delete content between certain tags. For example, let's say I want to not display a "speed" column, I can do a replace statements such as:
strData = replace(strData, "<speed>", "") and strData =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.