Schema usfx-2006-03-09.xsd


schema location:  C:\sil\Onyx\usfx-2006-03-09.xsd
 
Elements  Complex types 
usfx  pType 


element usfx
diagram
children languageCode rem book
annotation
documentation 
XML representation of Unified Standard Format Markup Scripture files. This schema is intended for use with Holy Bible files only. This schema is copyright 2005-2006 EBT and SIL; released under the Gnu Lesser Public License or the Common Public License, as explained in LICENSING.txt.

element usfx/languageCode
diagram
type xs:string
annotation
documentation 
Three-letter Ethnologue code or two-letter ISO language code, optionally followed by a dialect indicator.

element usfx/rem
diagram
type xs:string
annotation
documentation 
Remark or comment, not for publication.

element usfx/book
diagram
children id ide rem h cl p q mt d s sectionBoundary b generated c
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string  optional      
annotation
documentation 
This element contains one book of the Bible or optionally some front or back matter. The id attribute is for the three-letter code for this book of the Bible (or FRT for front matter and BAK for back matter).

element usfx/book/id
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string  required      
annotation
documentation 
From the \id marker line. The first three characters of the contents of this element MUST be the three-letter code for this book of the Bible (or FRT for front matter and BAK for back matter).

element usfx/book/ide
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
charset  xs:string  optional      
annotation
documentation 
Encoding of the corresponding USFM file. (Encoding of this XML file is given in the XML header.)

element usfx/book/rem
diagram
type xs:string
annotation
documentation 
Remark or comment, not for publication, such as notes about translation status.

element usfx/book/h
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
annotation
documentation 
Short book name for a running header, like "Matthew".

element usfx/book/cl
diagram
type xs:string
annotation
documentation 
Chapter label, like "Chapter" or "Psalm" in the target language. If used, this label should be placed before any chapter start labels.

element usfx/book/p
diagram
type pType
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
The p element contains not only the \p marker's contents, but also every kind of paragraph and heading or title. If this is used for something other than \p, then the sfm attribute MUST be set to indicate which kind of paragraph, or heading is intended. Headings, and paragraphs are in the same group because they all correspond to paragraphs in a word processing document. This element includes \ps, \psi, and \nb. Note that some common paragraph elements (q, d, and s) could have been included in this element, too, but have their own element tags for convenience in manual editing of the XML.

element usfx/book/q
diagram
type pType
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
Poetry line "paragraph"

element usfx/book/mt
diagram
type pType
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
The main title of a book of the Bible, such as "The Good News According to Matthew"

element usfx/book/d
diagram
type pType
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
Descriptive title of a Psalm (Hebrew title)

element usfx/book/s
diagram
type pType
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
Section heading (not part of the Scripture text).

element usfx/book/sectionBoundary
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
sfm  xs:string  required      
level  xs:unsignedByte  optional      
annotation
documentation 
This marker is a place to encode proposed markers such as \pub, \toc, \pref, \conc, \glo, \idx, \cov, \spine, \and environment markers. 

element usfx/book/b
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
Blank line between stanzas of poetry; not to be used before or after a section header. This element should be empty.

element usfx/book/generated
diagram
type extension of xs:string
annotation
documentation 
This element surrounds content generated from other elements. This tag and its contents is discarded when converting back to USFM.

element usfx/book/c
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string  optional      
annotation
documentation 
Chapter starting point. It contains the chapter number, possibly with a chapter name designator, NOT the whole chapter. The chapter number itself should be specified in the id attribute, and is used to generate the contents of the tag, which are optional and may be discarded.

complexType pType
diagram
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
used by
elements pType/add pType/cs usfx/book/d pType/dc usfx/book/mt usfx/book/p usfx/book/q pType/qt usfx/book/s pType/sls pType/table/tr/tc pType/table/tr/tcr pType/table/tr/th pType/table/tr/thr pType/tl pType/wj
attributes
Name  Type  Use  Default  Fixed  Annotation
level  xs:unsignedByte  optional      
sfm  xs:string  optional      
style  xs:string  optional      
annotation
documentation 
This type consists of the mixed text and tags that can appear inside any paragraph.

element pType/c
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string  required      
annotation
documentation 
This element contains the chapter starting point MARKER, NOT the chapter itself. The chapter is assumed to end at the beginning of the next chapter or at the end of the book element. The marker is normally generated from the id attribute, overwriting whatever this element contained before.

element pType/v
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string        
annotation
documentation 
The v element contains the verse starting point, NOT the verse itself. The contents of this element are generated automatically from the id attribute, and may be just a verse number or verse range, possibly with formatting information (like bold and superscript).

element pType/qt
diagram
type pType
children c v qt nd tl milestone ca cp va vp qs qac table generated f fm x sls dc bk pn k ord add sig bd it bdit sc no fig ndx w wh wg wr quoteStart quoteRemind quoteEnd ior wj cs fs wtp da cl
attributes
Name  Typ