Results 1 to 7 of 7
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML in Win 2000 with Office 2000 and IE 5.5

    Using Win 2000 with Office 2000 and IE 5.5, which apps are supposed to be able to read a .XML file?

    What about with IE 6 and/or Office XP?

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: XML in Win 2000 with Office 2000 and IE 5.5

    You may find some answers here at <A target="_blank" HREF=http://www.xml.com/>http://www.xml.com/</A>

  3. #3
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    England
    Posts
    1,306
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: XML in Win 2000 with Office 2000 and IE 5.5

    Hi Howard
    (Win 2kP, or XPP and Office 2000)
    I could well have missed the significance of your question, but .xml - or any file containing xml code (e.g. *.cdf files) - is simple text. In Word 2000 they open like html files, provided you have the *.* 'All Files' option selected. In Excel, you may be asked for your conversion type (I use Unicode) but they open well enough. Notepad, though is perfectly adequate to edit them.

    Rgds

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: XML in Win 2000 with Office 2000 and IE 5.5

    The issue is reading a XML file, not opening as text.

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: XML in Win 2000 with Office 2000 and IE 5.5

    Reading for what purpose? Rendering a display? Consummating a transaction? Is this question limited to Office applications and IE? Each individual XML file may have a schema that only makes sense for a particular application. Most likely MS touts its support for XML - if indeed there is any - on its web site. But since I don't understand your question, you could try it again here.

  6. #6
    New Lounger
    Join Date
    May 2001
    Location
    New York City, NY
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: XML in Win 2000 with Office 2000 and IE 5.5

    All of the Office 2000 applications can use VBA to read XML files, parse them, and use the information contained in them. In Excel, for example, I start like this (assumes that MSXML 3.0 or up is installed):

    Set objDoc = CreateObject("Msxml2.DOMDocument")
    objDoc.Load "C:myXML.xml"

    I've now created an XML document and loaded an XML file into it. I can use all of the DOM methods to read the file.

    For IE, if you simple load the XML file, it applies its default XSL file against it, or applied the XSL reference contained in the file itself, to return a display. For more complex processing, you can use VBScript, JScript, or JavaScript to read an XML file and apply DOM methods. Using the same example as above, you would begin:

    var objDoc = new ActiveXObject("Msxml2.DOMDocument");
    objDoc.load("C:myXML.xml");

    If you can be more precise about what you're trying to do, we can try to answer more questions. I would definitely go to http://www.vbxml.com for some good XML tutorials, and to http://www.devguru.com for guidance on XML DOM.

    Hope this helps,

  7. #7
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: XML in Win 2000 with Office 2000 and IE 5.5

    I have MSXML, but I was seeking built-in solutions.

    Fo example, one can download an XML file from MSFT's web site that has the Win 2000 Software Compatibility List.

    User's cannot be expected to write their own code to open such a file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •