blob: 978815ca5c11d3d631806d2541e2e7c8c103a25a [file] [log] [blame]
kpriceef160682006-08-29 18:08:31 +00001<?xml version="1.0" encoding="utf-8"?>
kpriceb59c9f62008-04-02 21:24:37 +00002<!--Arbortext, Inc., 1988-2006, v.4002-->
4 "task.dtd">
kpriceef160682006-08-29 18:08:31 +00005<task id="tedtgram" xml:lang="en-us">
6<title>Updating XML files with changes made to DTDs and schemas</title>
8<searchtitle>Updating XML files with changes made to DTDs and schemas</searchtitle>
10<shortdesc>If you make changes to a DTD file or XML schema associated with
11an XML file (that is currently open), click <uicontrol>XML > Reload Dependencies</uicontrol> to
kprice9623e9d2007-05-03 03:43:05 +000012update the XML file with these changes. The changes will be reflected in the
kpriceef160682006-08-29 18:08:31 +000013guided editing mechanisms available in the editor, such as content assist.</shortdesc>
kprice9623e9d2007-05-03 03:43:05 +000015<keywords><indexterm>XML editor<indexterm>updating XML files</indexterm></indexterm>
16<indexterm>XML files<indexterm>updating with associated changes</indexterm></indexterm>
kpriceef160682006-08-29 18:08:31 +000018</metadata></prolog>
20<context><p>For example, you have a DTD file called "Contact.dtd" and an XML
21file called "Contact.xml" associated with it. Contact.dtd contains a root
kpriceb59c9f62008-04-02 21:24:37 +000022element called <userinput>Contact</userinput> that can contain any of the
23following children elements: <userinput>Name</userinput>, <userinput>PostalAddress</userinput>,<?Pub Caret?> <userinput>Email</userinput>.
24If you remove the child element <userinput>Email</userinput> from the DTD,
25you will no longer be able to add an <userinput>Email</userinput> child element
26to your root element Contact in your Contact.xml file. This change, however,
27will not come into effect until you save your changes in the DTD and click <uicontrol>XML
28> Reload Dependencies</uicontrol> in the XML editor. Until you click it, you
29will still be able to add <userinput>Email</userinput> elements to Contact.xml.</p><p>This
30feature is very handy when you are making updates to both DTDs and XML schemas
31and XML files that are associated with DTDs and XML schemas.</p></context>
kpriceef160682006-08-29 18:08:31 +000032</taskbody>
kpriceb59c9f62008-04-02 21:24:37 +000034<?Pub *0000001987?>