home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / WX / Xml.html < prev   
Encoding:
Extensible Markup Language  |  2005-02-23  |  3.3 KB  |  76 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7.   <meta name="GENERATOR" content="amaya 9.1, see http://www.w3.org/Amaya/" />
  8.   <title>Xml Support</title>
  9.   <style type="text/css">
  10.   </style>
  11.   <link href="style.css" rel="stylesheet" type="text/css" />
  12. </head>
  13.  
  14. <body xml:lang="en" lang="en">
  15.  
  16. <div>
  17. <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
  18.  
  19. <p class="nav"><a href="SVG.html" accesskey="p"><img alt="previous"
  20. src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
  21. accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
  22. <a href="StyleSheets.html" accesskey="n"><img alt="next"
  23. src="../../resources/icons/misc/right.png" /></a></p>
  24. </div>
  25.  
  26. <div id="page_body">
  27. <h2>XML Support</h2>
  28.  
  29. <h3>Loading XML documents</h3>
  30.  
  31. <p>Amaya can display any well formed XML document and associate a CSS
  32. stylesheet with these documents.</p>
  33.  
  34. <p>For an XML document that refers to a not-supported DTD or namespace
  35. (different from XHTML, MathML and SVG), Amaya offers a limited support for
  36. the display and for the edition. Indeed, as Amaya doesn't analyse the
  37. associated DTD, it can't verify the validity of any XML document and can't
  38. get specific information about elements and attributes and about their
  39. organization within the document.</p>
  40.  
  41. <h3>Using Style in Xml</h3>
  42.  
  43. <p>If the document is associated to a DTD that Amaya does not understand, the
  44. content of the document will be formatted and displayed in a way that
  45. reflects the structure of the document. If there is no style indication, the
  46. content of each element will be shown as a <strong>block</strong>. However,
  47. for clarity, the elements that have at least one child of type "texte" are
  48. considered to be of type <strong>inline</strong> and displayed accordingly.
  49. Amaya can use associate a CSS style sheet. You can also modify the
  50. presentation of the document if you associate a CSS style sheet to it by
  51. means of a <strong><a
  52. href="http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/">xml-stylesheet
  53. PI</a></strong> (processing instruction) statement.</p>
  54.  
  55. <h3>Editing XML documents</h3>
  56.  
  57. <p>The edition of generic XML documents in Amaya is still experimental. For
  58. the supported samples (XHTML, SVG, MathML), the edition follows the same
  59. rules as for the corresponding document type. For the other elements, only
  60. the <strong>Return</strong> command is available in this versionĂ¡:</p>
  61. <ul>
  62.   <li>If the selection is within an element, Amaya cuts the selected element
  63.     and creates a new element with the same type next to it.</li>
  64.   <li>If a whole non-empty element is selected, Amaya creates a new element
  65.     with the same type next to the selected element.</li>
  66.   <li>If a whole empty element is selected, Amaya creates a sibling with the
  67.     same type for the parent of the selected element.</li>
  68. </ul>
  69.  
  70. <p>You can also edit your XML documents in the <strong>Source View</strong>
  71. and use the <strong>Resynchronize</strong> command. Your modifications are
  72. then reported in the <strong>Formatted view.</strong></p>
  73. </div>
  74. </body>
  75. </html>
  76.