OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Viewing XML documents

[ Lists Home | Date Index | Thread Index ]
  • From: "Ajay Gangwar" <majayg@iitk.ac.in>
  • To: <xml-dev@ic.ac.uk>
  • Date: Mon, 31 Aug 1998 13:00:54 +0530

Hello,

1.     I am a new comer to the domain of XML. Can someone please
 tell me how I can view a XML document given an associated style
sheet. Are there any browsers yet that support viewing XML
documents?

2.     I have downloaded MSXSL, a command line utility from
Microsoft ,along with its sample .xml and .xsl files. But when I run
MSXSL on sample.xml and sample.xsl provided by Microsoft I get the
following error:

Error parsing document 'sample.xml'
Exception: hr = 0x80070057

The sample.xml is as follows:

<?XML VERSION='1.0'?>
<breakfast-menu>
 <food>
  <name>Belgian Waffles</name>
  <price>$6.95</price>
  <description>two of our famous Belgian Waffles with plenty of real
maple syrup</description>
  <calories>650</calories>
 </food>
 <food>
  <name>Strawberry Belgian Waffles</name>
  <price>$7.95</price>
  <description>light Belgian waffles coverred with strawberrys and
whipped cream</description>
  <calories>900</calories>
 </food>
 <food>
  <name>Berry-Berry Belgian Waffles</name>
  <price>$8.95</price>
  <description>light Belgian waffles coverred with an assortment of
fresh berries and whipped cream</description>
  <calories>900</calories>
 </food>
 <food>
  <name>French Toast</name>
  <price>$4.50</price>
  <description>thick slices made from our homemade sourdough
bread</description>
  <calories>600</calories>
 </food>
 <food>
  <name>Homestyle Breakfast</name>
  <price>$6.95</price>
  <description>two eggs, bacon or sausage, toast, and our ever-popular
hash browns</description>
  <calories>950</calories>
 </food>
</breakfast-menu>

I could figure out that line one has error and should read:
<?xml  version='1.0'?>

But even after correcting it, I get the same error. Can someone
please help me figure out as to what is going wrong? The document
seems to be well formed.
I am running win NT and IE 5.0(beta) if that is of any help.

-Ajay Gangwar


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS