Notes on W3C Schema Version | |||
|
Links
|
The W3C Schema has been generated from the Journal Publishing DTD for use in XML tools that can not read DTDs.The Schema is not intended for maintenance. In order to mitigate problems found in testing with various processors' differing interpretations of Schema syntax, this Schema has been generated out of a flattened rendition of the NLM Journal Publishing DTD. While the structural constraints on document tagging expressed by this schema are identical to those of the DTD, the DTD's modular architecture is not reflected in the schema's organization. Changes to the Tag Set will be made by making modifications to the DTD, and a modified Schema will be generated from the modified DTD. Getting the FilesThe W3C Schema files are available by anonymous FTP: ftp://ftp.ncbi.nih.gov/pub/publishing_dtd. A direct link to the files is available: ftp.ncbi.nih.gov/pub/publishing_dtd/journal-publishing-dtd-1.1.zip. The W3C Schema is available on the Web: http://dtd.nlm.nih.gov/1.1/xsd/journalpublishing.xsd Schema StructureThe Schema contains four modules:
Each of these modules corresponds to one of the namespaces in play:
The modules import one another. For the schema to work all modules must be in the same directory. ToolsThe Schema has been tested and found to perform properly in:
The document element of an instance document, depending on the tools used, may require namespace and attribute declarations to associate the document with the schema. For Xerces and XMLSpy, these may take the form of: <article xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="journalpublishing.xsd">where the xsi:noNamespaceSchemaLocation attribute points to the journalpublishig.xsd module on the system. MS Word 2003Cautions when using MS Word 2003 Professional The mechanism for associating a document with a schema in MS Word 2003 Professional differs considerably from the above. The declarations (namespace declaration for the xsi namespace, and the xsi:noNamespaceDeclaration attribute) are NOT required and may confuse the system. A schema may be bound to a document in MS Word 2003 as follows:
|
|
|