![]() |
|
|
|
#1
|
||||
|
||||
|
XML files contain a Document Type Descriptor (DTD) which defines its type. Evidently, the DTD for your xml file says it's type isn't one Word can open. One could open it as a plain text file, but all you'd see is the xml code - which I don't suppose would be very useful. You need to use whatever application this xml file type is supposed to be opened with.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Quote:
Okay got it. Thank you again for all your help. |
|
#3
|
|||
|
|||
|
Quote:
One last question regarding my other XML files that I had and weren't working do you know of this code within an xml. When I delete the !DOCTYPE ddn the macro works, not 100% because it doesn't display it neatly but it does work. Do you know of a work around from the !doctype command that these xmls file have. "<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ddn> " EDIT* Now I'm noticing a trend. It always displays an error as shown above the picture I posted yesterday when it has the " !DOCTYPE " But when I delete it off the code on the XML it converts it into a word document but it doesn't convert it perfectly. Any idea of how to get the macro working with this type of XML code? XML file.txt If it helps I attached the code of the XML file you just have to convert it back to XML format. Thank you |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| open custon files, convert to Word, print/save to PDF | mgl_8 | Word VBA | 6 | 04-13-2018 03:38 PM |
| How can convert MSOffice .xml files to .doc or .pdf? | FelipeGar | Word VBA | 5 | 06-05-2015 04:51 AM |
| Convert old PowerPC file to Intel-based files in Word? | walmar | Word | 0 | 06-12-2013 07:07 AM |
Convert word files to html including hyperlink file types
|
MikS | Word | 3 | 06-12-2012 05:39 AM |
| Convert JML files | Lundberg | Word | 5 | 09-11-2010 11:05 AM |