40
3 Authors
34
3.1 DoIhavetoknowHTMLorSGMLbeforeIlearnXML?. . . . . . . . . 34
3.2 Howdoes XMLhandlewhite-spaceinmydocuments?. . . . . . . . . . . . . 35
3.3 Which partsofanXMLdocumentarecase-sensitive? ? . . . . . . . . . . . . . 36
3.4 HowdoIconvertmyinformationtoXMLformat? ? . . . . . . . . . . . . . . . . . 37
3.5 HowcanImakemyexisting HTMLfiles workinXML? ? . . . . . . . . . 39
3.6 HowdoIconvertXMLto otherfileformats? ? . . . . . . . . . . . . . . . . . . . . . . 43
3.7 IfXMLis just a subset of SGML, can I use my existing SGML
tools?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.8 I’musedtoauthoringandservingHTML.CanIlearnXMLeasily? ? 45
3.9 CanXMLusenon-Latincharacters? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.10 What’sa DTD and wheredoIgetone? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.11 DoesXMLletmemakeupmyowntags?. . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.12 HowdoIcreatemyowndocumenttype? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.13 CanarootelementtypebeexplicitlydeclaredintheDTD? ? . . . . . 52
3.14 Ikeephearing aboutalternatives toDTDs. What’sa Schema? ? . . . 53
3.15 HowwillXMLaffect mydocumentlinks? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.16 CanIencodemathematicsusing XML? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.17 Howdoes XMLhandlemymetadata? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.18 HowdoIusegraphicsinXML? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.19 Whatis parsing and howdoIdoitinXML? ? . . . . . . . . . . . . . . . . . . . . . . . . 60
3.20 HowdoIincludeoneXMLfileinanother?. . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.21 WhenshouldIusea CDATAMarkedSection?. . . . . . . . . . . . . . . . . . . . . . 64
3.22 HowcanIhandleembeddedHTMLinmyXML? ? . . . . . . . . . . . . . . . . . . . 65
3.23 WhatarethespecialcharactersinXML? ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.24 Whatothermarkupsystemsarethere? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4 Developers
70
4.1 Where’s thespec?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.2 I’mtrying to understandtheXMLSpec: whydoes ithavesuch
difficultterminology?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.3 Whataretheseterms DTDless, valid,andwell-formed? ? . . . . . . . . . . . 71
4.4 Which shouldIuseinmyDTD/Schema, attributes orelements? ? 75
4.5 Whathaschanged betweenSGMLandXML? ? . . . . . . . . . . . . . . . . . . . . . . 77
4.6 CanIuseJavaScript, ActiveX, etcinXMLfiles? ? . . . . . . . . . . . . . . . . . . . . 77
4.7 CanIuseJava to createormanageXMLfiles? ? . . . . . . . . . . . . . . . . . . . . 78
4.8 HowdoIgetXMLinto oroutofmydatabase? ? . . . . . . . . . . . . . . . . . . . . 79
4.9 What’sa namespace?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4