Search results for query: *

  1. R

    Deleting portions of a string - wildcards in replace statements

    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...
  2. R

    Deleting portions of a string - wildcards in replace statements

    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)...
  3. R

    Deleting portions of a string - wildcards in replace statements

    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...
  4. R

    Deleting portions of a string - wildcards in replace statements

    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...
  5. R

    Deleting portions of a string - wildcards in replace statements

    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).
  6. R

    Root element is missing - Stream xml to dataset

    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...
  7. R

    Deleting portions of a string - wildcards in replace statements

    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 =...
Back
Top