Jump to content

XML Tutorial


Guest JokerMyers

Recommended Posts

Guest JokerMyers

I am new to XML. I went through the tutorial on the site and viewed them as presented. What do I need in order to view these examples on my own computer after I have typed them in or cut/pasted them? I am running winXPsp2 and IE7 and they don't work. Could someone throw me a bone on this one? Thanks :)

Link to comment
Share on other sites

They should work. If you've copyed them from W3Schools, make sure you copy the source code, not the tree that IE shows. That is, don't copy:

<?xml version="1.0"?>-<bookstore>  -<book>some book</book>-</bookstore>

but do copy:

<?xml version="1.0"?><bookstore>  <book>some book</book></bookstore>

If you mean to ask how to view them as 'readable' data, then you need to style that data. Either with CSS (not reccomended) or XSLT (the real deal).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...