Results 1 to 2 of 2

Thread: XML Data Not Displaying on page

  1. #1
    Join Date
    Apr 2009

    XML Data Not Displaying on page

    I'm new here and new to XML and have a problem with displaying the data in an xml file.

    I am using Expression Web to create a "Store" page using products listed in a XML file that I receive from an affiliate manager (CJ.com). They use a DOCTYPE statement in their XML file:
    <!DOCTYPE product_catalog SYSTEM "http://www.cj.com/downloads/tech/dtd/product_catalog_1_1.dtd">

    When I create the page I can see all the information listed for the products in Expression Web but when I open it in a browser I receive the default statement that no products were found. If I were to remove the DOCTYPE statement it works fine in the browser.

    If it were just a static XML file I would remove the statement and move on but this file will be updated on a weekly basis and I don't want the hassle of editing it each week.

    Sorry this is all vague but if someone could help me to understand the use of the DOCTYPE statement and the DTD file that it points to It would help greatly.


  2. #2
    Join Date
    Nov 2002
    Baltimore, Maryland
    My guess is that one of two things is happening; either the browser can't get the referenced DTD file or the XML is invalid. A link to the XML would be helpful.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center