kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 2 | <!--Arbortext, Inc., 1988-2006, v.4002-->
|
| 3 | <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
|
| 4 | "task.dtd">
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 5 | <task id="tedtgram" xml:lang="en-us">
|
| 6 | <title>Updating XML files with changes made to DTDs and schemas</title>
|
| 7 | <titlealts>
|
| 8 | <searchtitle>Updating XML files with changes made to DTDs and schemas</searchtitle>
|
| 9 | </titlealts>
|
| 10 | <shortdesc>If you make changes to a DTD file or XML schema associated with
|
| 11 | an XML file (that is currently open), click <uicontrol>XML > Reload Dependencies</uicontrol> to
|
kprice | 9623e9d | 2007-05-03 03:43:05 +0000 | [diff] [blame] | 12 | update the XML file with these changes. The changes will be reflected in the
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 13 | guided editing mechanisms available in the editor, such as content assist.</shortdesc>
|
| 14 | <prolog><metadata>
|
kprice | 9623e9d | 2007-05-03 03:43:05 +0000 | [diff] [blame] | 15 | <keywords><indexterm>XML editor<indexterm>updating XML files</indexterm></indexterm>
|
| 16 | <indexterm>XML files<indexterm>updating with associated changes</indexterm></indexterm>
|
| 17 | </keywords>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 18 | </metadata></prolog>
|
| 19 | <taskbody>
|
| 20 | <context><p>For example, you have a DTD file called "Contact.dtd" and an XML
|
| 21 | file called "Contact.xml" associated with it. Contact.dtd contains a root
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 22 | element called <userinput>Contact</userinput> that can contain any of the
|
| 23 | following children elements: <userinput>Name</userinput>, <userinput>PostalAddress</userinput>,<?Pub Caret?> <userinput>Email</userinput>.
|
| 24 | If you remove the child element <userinput>Email</userinput> from the DTD,
|
| 25 | you will no longer be able to add an <userinput>Email</userinput> child element
|
| 26 | to your root element Contact in your Contact.xml file. This change, however,
|
| 27 | will 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
|
| 29 | will still be able to add <userinput>Email</userinput> elements to Contact.xml.</p><p>This
|
| 30 | feature is very handy when you are making updates to both DTDs and XML schemas
|
| 31 | and XML files that are associated with DTDs and XML schemas.</p></context>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 32 | </taskbody>
|
| 33 | </task>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 34 | <?Pub *0000001987?>
|