Table of Contents

Class BibliographyXml

Namespace
DocWright.Dom.Bibliography
Assembly
DocWright.Dom.dll

The bibliography schema's XML (b:Sources, b:Source; ECMA-376 Part 1 §22.6) read into the model and written from it (Phase 172). Reading is bounded: a document's sources, a source's names and an element's text have caps, and a source past them is left as it is (not read into the model, kept in the part).

public static class BibliographyXml
Inheritance
BibliographyXml
Inherited Members

Fields

MaxSources

The most sources read from a part.

Namespace

The bibliography schema's namespace.

Methods

ReadSource(XmlElement)

A source read from its element, or null when it has no tag or is past the caps.

ReadSources(XmlElement)

The sources of a b:Sources element, in order, up to MaxSources.

ReadStyle(XmlElement?)

The style a b:Sources element selects, from its StyleName and SelectedStyle.

StyleAttributes(BibliographyStyle)

The attributes Word writes on b:Sources for a style: its sheet, its name and its version.

WriteSource(XmlDocument, BibliographySource, XmlElement?)

A source's element as Word writes it: Tag, SourceType, Guid, the names (Author, Editor, Translator under one b:Author), then the other elements in the source's order. Elements of kept this model does not hold (a nested element, a role it does not name) are kept, in place of being dropped.