Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Fetch & Read XML Data into HTML File? >Thread Next - Re: Fetch & Read XML Data into HTML File? Re: Fetch & Read XML Data into HTML File?To: NULL Date: 9/8/2008 3:09:00 PM Richard In Va. wrote: > Would anyone know how I can fetch and read xml data to display in a html > file? > > I'm building a local (unpublished) webpage to be a personal homepage on my > PC. When I open/refresh the html file, I would like it to fetch an xml file > type <?xml version="1.0" encoding="ISO-8859-1" ?> from the internet and > parse/read some of the data to display in the webpage using standard > html/ccs. You could build a HTA (HTML application) on Windows and then use JavaScript and MSXML to load and parse the XML document. I suggest using a HTA instead of a normal web page as with normal web pages rendered in a browser you are not allowed to access domains other than the one your HTML document has been loaded from. HTAs are documented here: http://msdn.microsoft.com/en-us/library/ms536471(vs.85).aspx MSXML documentation is here: http://msdn.microsoft.com/en-us/library/ms763742(VS.85).aspx If you need help writing JavaScript using MSXML to parse your XML document then post the URL of the XML and tell us which elements and/or attributes you want to read. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
