How to use Xalan
Xalan is a Java 1.1 character mode application. To use it, you'll need a Java 1.1-compatible virtual machine such as Sun's Java Development Kit JDK , or Java Runtime Environment JRE , Apple's Macintosh Runtime for Java 2.2 MRJ , or Microsoft's virtual machine. You'll need to set your CLASSPATH environment variable to include both the xalan.jar and xerces.jar files both included in the Xalan distribution . On Unix Linux you can set this in your .cshrc file if you use csh or tcsh or in your...
xmllang
The xml lang attribute identifies the language in which the element's content is written. The value of this attribute can have type CDATA, NMTOKEN, or an enumerated list. Ideally, each of these attribute values should be one of the two-letter language codes defined by the original ISO-639 standard. The complete list of codes can be found on the Web at http www.ics.uci.edu pub ietf http related iso639.txt. For instance, consider this sentence from Petronius's Satyricon in both Latin and English....
Summary Mld
4 The Channel Definition Format CDF is a Microsoft XML application used to describe data pushed from Web sites to Web browsers. 4 CDF support is limited to Internet Explorer 4.0 and later. 4 CDF files are XML documents, although they customarily have the three-letter extension .cdf instead of .xml. 4 The root element of a CDF file is CHANNEL. Each CHANNEL element must contain an HREF attribute identifying the pushed page. A CHANNEL element may contain additional ITEM child elements whose HREF...
Listing The New York Mets DTD with entity references for players metsdtd
lt ENTITY JosiasManzanillo SYSTEM
Encoding Declaration Fdj
80 EncodingDecl S 'encoding' Eq '' EncName '' 81 EncName A-Za-z A-Za-z0-9._ '-' Encoding name contains only Latin characters In the document entity, the encoding declaration is part of the XML declaration. The EncName is the name of the encoding used. In an encoding declaration, the values UTF-8, UTF-16, IS0-10646-UCS-2, and IS0-10646-UCS-4 should be used for the various encodings and transformations of Unicode ISO IEC 10646, the values ISO-8859-1, ISO-8859-2, . . . ISO-8859-n where n is the...
Specifying Default Values for Attributes
Instead of specifying an explicit default attribute value such as 0px, an attribute declaration can require the author to provide a value, allow the value to be omitted completely, or even always use the default value. These requirements are specified with the three keywords REQUIRED, IMPLIED, and FIXED, respectively. You may not always have a good option for a default value. For example, when writing a DTD for use on your intranet, you may want to require that all documents have at least one...
Listing Anonymous types
lt xml version 1.0 gt lt xsd schema lt xsd element name SONG type SongType gt lt xsd complexType name PersonType gt lt xsd sequence gt lt xsd element name NAME gt lt xsd complexType gt lt xsd sequence gt lt xsd element name GIVEN type xsd string gt lt xsd element name FAMILY type xsd string gt lt xsd sequence gt lt xsd complexType gt lt xsd element gt lt xsd sequence gt lt xsd complexType gt lt xsd complexType name lt xsd sequence gt lt xsd element name lt xsd element name maxO lt xsd element...
Start tag 1
40 STag ' lt ' Name S Attribute S ' gt ' Production 40 says that a start tag begins with a lt followed by an XML name Production 5 , followed by any number of attributes Production 41 separated by white space, followed by a closing gt . These are legal start tags lt D0CUMENT gt lt flOKYMEHT gt lt D0CUMENT gt lt DOCUMENT TITLE The Red Badge of Courage gt lt DOCUMENT TITLE The Red Badge of Courage PAGES 129 gt lt 12091998 gt 41 Attribute Name Eq AttValue Production 41 says that an attribute...