![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Very basic question >Thread Next - Re: Very basic question Re: Very basic questionTo: NULL Date: 7/5/2005 12:32:00 PM Thanks, what namespace is SGMLReader... googled and found it. I guess what is going on is the HTML table is my data source. But OK, not having done it yet. I still need to define the node mapping no? How does one do this? Is it positional and iterative. That is, move to the second row first cell then <xs:simpleType name = lname>Miller</xs> Some of the words like "parse" are confusing me because that implies direction. and I'm not sure this HTML to XML is the usual direction for usefulness. "Martin Honnen" <mahotrash@y...> wrote in message news:edc65wXgFHA.2180@T...... > > > John Sitka wrote: > >> Given an html document that contains a single table. > >> How do I convert it to XML? Not just so it is valid, but so the first row are the element definitions. > > You need an SGML parser to parse HTML, then you can extract the information as needed, it seems you are only interested in the > table in the body so you could extract that. > .NET has an SGMLReader class that you could use with .NET to parse HTML. > > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
