New to XML need help - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

New to XML need help

I need to create an example xml document with CSS and DTD

here is the code I have so far, but I cannot make it to view correctly in the browser the chapter information does not display. can anyone help?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE CATALOG SYSTEM "catalog1.dtd">
<?xml-stylesheet type="text/css" href="catalog.css"?>

-

XML HACKS
MICHAEL FITZGERALD>
O'REILLY
MICHAEL FITZGERAL IS PRINCIPAL OF WY'EAST COMMUNICATIONS, A WRITING, TRAINING, AND PROGRAMMING CONSULTANT SPECIALIZED IN XML PROGRAMMING LANGUAGE

Chapter 1 - Looking at XML Documents

Some browsers, such as Microsoft Internet Explorer version 5 or later, let you display XML documents directly. For example, if you download the code for this book, you can browse to ch01_02.xml in Internet Explorer, as you see in Figure 1.2. As you see in the figure, the whole XML document we've created is displayed. You can even click the

Comments

  • CMaunderCMaunder Posts: 2Member
    DTD's are pretty much only used for legacy applications, unless you have to use DTD your probably better off with an XML Schem (XSD).

    Liquid XML is a great little [link=http://www.liquid-technologies.com/XmlStudio/Free-Xsd-Editor.aspx]graphical XSD editor[/link] that allows you to design and build your XSD with very little XML knoweldge (its also free for commercial use). The split code/diagram view make it much easier to learn the XSD standard than xmlspy which has you flicking between views, meaning you tend not to get and understanding for the underlying code.


  • AllexsAllexs Posts: 9Member
    Web development is not much different than any other development. The two differences are that your display is a usually a browser and you have to be concerned with security. You should not think of web development as some sort of separate entity.

    XML is a big part of the web. However, it cannot entirely be separated out in terms of using it or not using it. For example, XHTML is XML. Web services use XML to move data between applicatio
    ns.



    __________________
    http://www.bannerblindness.com
Sign In or Register to comment.