Hi all, I d/l'ed a couple of XML files last night. What do I have to do to read these durn things? I used Mozilla and all I got was one huge paragraph, no formating at all. Thanks JIM -- Jim Hatridge Linux User #88484 ------------------------------------------------------ BayerWulf Linux System # 129656 The Recycled Beowulf Project Looking for throw-away or obsolete computers and parts to recycle into a Linux super computer
Jim Hatridge wrote:
I d/l'ed a couple of XML files last night. What do I have to do to read these durn things?
Use the application for which the XML file was designed. Essentially, an XML file is a file that is written to conform to a syntax defined in its document type definition DTD, which should appear at the top of the file. For example: <!DOCTYPE html PUBLIC "XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> is the correct reference for the XHTML DTD. An XML file must reference its DTD so that you can check it is syntactically correct (well-formed and valid). However, you may have no information about what the elements and attributes mean to help an application like Mozilla to interpret how it should display the content. That information may be published or encoded in an application.
I used Mozilla and all I got was one huge paragraph, no formating at all. You might find the DOM Inspector of Mozilla useful.
JDL -- Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
participants (2)
-
Jim Hatridge
-
John Lamb