home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="iso-8859-1"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <meta name="GENERATOR" content="amaya 9.1, see http://www.w3.org/Amaya/" />
- <title>Xml Support</title>
- <style type="text/css">
- </style>
- <link href="style.css" rel="stylesheet" type="text/css" />
- </head>
-
- <body xml:lang="en" lang="en">
-
- <div>
- <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
-
- <p class="nav"><a href="SVG.html" accesskey="p"><img alt="previous"
- src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
- accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
- <a href="StyleSheets.html" accesskey="n"><img alt="next"
- src="../../resources/icons/misc/right.png" /></a></p>
- </div>
-
- <div id="page_body">
- <h2>XML Support</h2>
-
- <h3>Loading XML documents</h3>
-
- <p>Amaya can display any well formed XML document and associate a CSS
- stylesheet with these documents.</p>
-
- <p>For an XML document that refers to a not-supported DTD or namespace
- (different from XHTML, MathML and SVG), Amaya offers a limited support for
- the display and for the edition. Indeed, as Amaya doesn't analyse the
- associated DTD, it can't verify the validity of any XML document and can't
- get specific information about elements and attributes and about their
- organization within the document.</p>
-
- <h3>Using Style in Xml</h3>
-
- <p>If the document is associated to a DTD that Amaya does not understand, the
- content of the document will be formatted and displayed in a way that
- reflects the structure of the document. If there is no style indication, the
- content of each element will be shown as a <strong>block</strong>. However,
- for clarity, the elements that have at least one child of type "texte" are
- considered to be of type <strong>inline</strong> and displayed accordingly.
- Amaya can use associate a CSS style sheet. You can also modify the
- presentation of the document if you associate a CSS style sheet to it by
- means of a <strong><a
- href="http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/">xml-stylesheet
- PI</a></strong> (processing instruction) statement.</p>
-
- <h3>Editing XML documents</h3>
-
- <p>The edition of generic XML documents in Amaya is still experimental. For
- the supported samples (XHTML, SVG, MathML), the edition follows the same
- rules as for the corresponding document type. For the other elements, only
- the <strong>Return</strong> command is available in this versionĂ¡:</p>
- <ul>
- <li>If the selection is within an element, Amaya cuts the selected element
- and creates a new element with the same type next to it.</li>
- <li>If a whole non-empty element is selected, Amaya creates a new element
- with the same type next to the selected element.</li>
- <li>If a whole empty element is selected, Amaya creates a sibling with the
- same type for the parent of the selected element.</li>
- </ul>
-
- <p>You can also edit your XML documents in the <strong>Source View</strong>
- and use the <strong>Resynchronize</strong> command. Your modifications are
- then reported in the <strong>Formatted view.</strong></p>
- </div>
- </body>
- </html>
-