Schema documentation for file brxml.rng.

Top

Date Generated: 2006-10-19+01:00

Revision History

Rev. date Desc Author
0.1 2006-09-21T11:51:24.0Z Initial Issue Dave P
0.2 2006-10-12T10:07:25.0Z Added lit element for pre-transcribed material Dave P

Root element is brxml

Definitions in this Schema.

Definitions for this Schema. Attributes


Metadata: brxml schema

A schema for a brxml instance

identifier : http://www.dpawson.co.uk/braille/brxml.rng
hasPart :
creator : Dave Pawson
dateCreated : 2006-09-21T11:50:22.0Z
isPartOf : http://www.dpawson.co.uk/braille/index.html
hasPart : This is the root schema document
publisher : http://www.dpawson.co.uk/dpawson
rights : © 2006 Dave Pawson, Mark Frodsham

Element brxml

Root element

{ brxml
Typed Data (language)
{optional}
Typed Data (integer) Meta  Body  
}


Element meta.

Document metadata. Specifies page dimensions with an optional header

{ meta
Page  
}


Element Page

Page metadata

{ page
Width  Height  
{optional}
Header  
}


Element width

Specifies the width of the braille page in cells. Restricted to a range of 20 to 40 cells per line

{ width
Typed Data (integer)
}


Element height

Specifies the height of the braille page, in rows. Restricted to between 11 and 28

{ height
Typed Data (integer)
}



Element page number

An indication for the formatter to insert the braille page number at this point in the flow. The prefix attribute value may be used as a literal to prefix the page number

{ pagenum

{optional}
{text content.}
{optional}
{choice}
start end  {Empty element}
}


Element body

Body of the braille document

{ body
{zero Or More
{choice}
Para  Literal  PageBreak  
}
}


Element paragraph

Paragraph. A block level element with layout specified by the attributes s (start indent) and r (rest indent).

{ para

{optional}
{choice}
preserve default 
{optional}
{choice}
{group} Typed Data (nonNegativeInteger) Typed Data (nonNegativeInteger) {choice}
center start end  {mixed}
{zero Or More
{choice}
Inlines  
}
}


Element lit

Literal layout. Used for content which has been pre-transcribed and is embosser ready and already formatted. Use case is for music, mathematics etc. where the transcriber has done the work. The issue with this is that the source text is lost. This may be unavoidable unless mathml or \TeX is used.

{ lit
{text content.}
}


Element break

Required break. Value taken from list of page, or non negative integer less than 9, which is implementation dependent.

{ break
{choice}
page  Typed Data (token) {Empty element}
}


Inline Elements

Small group of inline elements.

{choice}
{ code
{text content.}
} { em
{text content.}
}