Description | |
Output Format | |
Output Example | |
Options by Example | |
Summary of Options |
The typical invocation of fxesis is
If infile is given, fxesis reads its input document from that file, otherwise from standard input. By default, it prints its output to the standard output.fxesis [option ...] [infile]
The following output lines can appear:
\\ the character '\'; \n a newline character; \t a tab character; \U+hex; the Unicode character whose hexadecimal code is hex.
-data A sequence of data characters, including newlines. The data need not have been contiguous in the input document, but may have consisted of a series of data characters, CDATA sections and character references, interspersed with comments. (elem The start of an element of type elem. Preceded by an A line for each of its attributes. )elem The end of an element of type elem. Aatt value A specification of attribute att for a following ( (element-start) line. value is one out of:
IMPLIED The attribute value was implied. This is used only in validating mode only. CDATA data The attribute was declared CDATA; its value is data. NOTATION name A notation attribute with value name; that notation was defined in a previous N (notation definition) line. ENTITY name ... An attribute with declared type ENTITY or ENTITIES. Each name is the name of an unparsed general entity that was defined in a preceding E (entity definition) line. TOKEN token ... An attribute with declared type NMTOKEN, NMTOKENS, ID, IDREF, IDREFS, or enumeration. Each token is a name token complying with the attribute type. ?target text A processing instruction with target target and text text. Eent NDATA nt Defines an unparsed external entity named ent whose notation is nt and has been defined by a preceding N (notation definition) line. This line is immediately preceded by an optional p (public identifier) line, an s (system identifier) line and, if a filename could be generated, an f (filename) line for the external identifier declared for ent. An entity is defined by an E line only once per document. Nnt Defines the notation named nt. This line is immediately preceded by an optional p (public identifier) line and an optional s (system identifier) line for the external identifier declared for nt. A notation is defined by an N line only once per document. ppubid pubid is the public identifier belonging to the external identifier of a following N (notation definition) or E (entity definition). ssysid sysid is the system identifier belonging to the external identifier of a following N (notation definition) or E (entity definition). f<OSFILE>filename filename is the system file name generated for the external identifier of a following E (entity definition).
Opposed to that, fxesis -7 -nv exa-5.xml produces the output in exa-5.esis-7. Note the difference: on the one hand, no A lines are printed for implied attribute, because validation was turned off. On the other hand, characters ö, ü and ß are represented by escape sequences, because they are not ASCII-characters.
By default, fxesis writes its output to the standard output. It can be redirected to a file named outfile via the option --output=outfile or, for short, -o outfile.
Called with fxesis -8 ..., the output for this element is<addr city="Köln">Müllerstraße 13</addr>
whereas fxesis -7 ... outputs the following:Acity CDATA Köln (addr -Müllerstraße 13 )addr
Acity CDATA K\U+f6;ln (addr -M\U+fc;llerstra\U+df;e 13 )addr
A. Neumann (neumann@PSI.Uni-Trier.DE)