Download XML Author 11.2 User Manual for Eclipse

Transcript
<oXygen/> XML Author 11.2 User
Manual for Eclipse
Association rules .............................................................................................................. 133
Author extensions ............................................................................................................. 133
The Schematron 1.5 document type ............................................................................................. 133
Association rules .............................................................................................................. 133
Author extensions ............................................................................................................. 133
The XSLT document type .......................................................................................................... 133
Association rules .............................................................................................................. 133
Author extensions ............................................................................................................. 134
The XMLSpec document type .................................................................................................... 134
Association rules .............................................................................................................. 134
Schema .......................................................................................................................... 134
Author extensions ............................................................................................................. 134
Templates ............................................................................................................... 134
Catalogs ................................................................................................................. 134
Transformation Scenarios .......................................................................................... 134
The FO document type .............................................................................................................. 134
Association rules .............................................................................................................. 135
Schema .......................................................................................................................... 135
Author extensions ............................................................................................................. 135
Transformation Scenarios .......................................................................................... 135
The EAD document type ........................................................................................................... 135
Association rules .............................................................................................................. 135
Schema .......................................................................................................................... 135
Author extensions ............................................................................................................. 135
Templates ............................................................................................................... 135
Catalogs ................................................................................................................. 135
8. Author Developer Guide ................................................................................................................. 136
Introduction ............................................................................................................................ 136
Simple Customization Tutorial .................................................................................................... 137
XML Schema .................................................................................................................. 137
Writing the CSS ............................................................................................................... 138
The XML Instance Template .............................................................................................. 141
Advanced Customization Tutorial - Document Type Associations ...................................................... 142
Creating the Basic Association ............................................................................................ 142
First step. XML Schema. ........................................................................................... 142
Second step. The CSS. .............................................................................................. 144
Defining the General Layout. .............................................................................. 145
Styling the section Element. ........................................................................... 145
Styling the table Element. ............................................................................... 147
Styling the Inline Elements. ................................................................................ 149
Styling Elements from other Namespace ............................................................... 149
Styling images ................................................................................................. 150
Marking elements as foldable ............................................................................. 151
Marking elements as links .................................................................................. 152
Third Step. The Association. ....................................................................................... 152
Organizing the Framework Files .......................................................................... 153
Association Rules ............................................................................................. 154
Java API: Rules implemented in Java ........................................................... 155
Deciding the initial page .................................................................................... 157
Schema Settings ............................................................................................... 157
Author CSS Settings ......................................................................................... 157
Testing the Document Type Association ................................................................ 158
Packaging and Deploying .................................................................................. 159
viii