xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Burrell" <daniel.burr...@gmail.com>
Subject access dtd settings
Date Mon, 21 Jul 2008 04:03:53 GMT
I have parsed a document into dom form and retrieved it using
doc = parser->getDocument();

How can I access the
<!DOCTYPE collection SYSTEM "dtd.dtd">
specifically I want to be able to change "dtd.dtd" to something else.

in the following xml file?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE collection SYSTEM "dtd.dtd">
     Some recipes used for the XML tutorial.
    <title>Beef Parmesan with Garlic Angel Hair Pasta</title>
    <ingredient name="beef cube steak" amount="1.5" unit="pound"/>
        Preheat oven to 350 degrees F (175 degrees C).
      Make the meat ahead of time, and refrigerate over night, the acid in
      tomato sauce will tenderize the meat even more. If you do this, save
      mozzarella till the last minute.
    <nutrition calories="1167" fat="23" carbohydrates="45" protein="32"/>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message