hi all,
how can we take an HTML / XML page as an input in VB?
so that we can further process that?
Printable View
hi all,
how can we take an HTML / XML page as an input in VB?
so that we can further process that?
This is not an Application Deployment question...
Reading is the key to the Internet...
Thread moved from Application Deployment forum, which is for questions about installing/distributing your software
It depends on exactly what it is you want to do and where it's coming from. It's a good idea to post a few more details when asking questions. Post a clear and complete description of what you're doing and what you want and we don't have to guess or assume.
In brief, an XmlReader or XmlDocument will let you read an XML file and an XmlWriter or XmlDocument will let you write one. There's no specific support for HTML code in the .NET Framework so if it's XHTML you could read it as XML or else just read it as plain text and parse it yourself.
What do you want to do with the page? If it's going to be HTML and there's the possibility of malformed tags, consider loading it into a string and working to get the values out using regular expressions.
thanx all !
actually i want to develop an application in which i want to take input from Case Studio 2 (its a DB designing tool)
it generates scripts etc, n output is shown in XML and HTML as well
this out put is required for my application as an input
i think i can better take XML rather than HTML......
XML would be the safer option.