[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Viewing XML documents

  • From: "Ajay Gangwar" <majayg@i...>
  • To: <xml-dev@i...>
  • Date: Mon, 31 Aug 1998 13:00:54 +0530

viewing xml documents
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.