Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xfpt(1) [debian man page]

XFPT(1) 						      General Commands Manual							   XFPT(1)

NAME
xfpt - make XML from plain text SYNOPSIS
xfpt [options] [source file] DESCRIPTION
xfpt converts a marked up text file to XML. The markup is simple and consists of lines that begin with a dot ("directive lines") and sequences in the text that begin with an ampersand ("flags"). The flag sequences are not built-in, but are defined by directives. As well as the in-built directives, macros can be used to implement higher level concepts. A standard set of macros and flags that generate DocBook XML is provided. There is a full description in the xfpt specification, which is distributed as a PDF file, an HTML file, and as 0 OPTIONS
-help This causes xfpt to output its "usage" information and then exit. -o file This specifies the output file. The default is the standard output if no source file is given, and the source file name with a .xml extension otherwise. -S directory This specifies an alternative "share" directory in which to find standard configuration files. -v Output the xfpt version and exit. AUTHOR
Philip Hazel University Computing Service Cambridge CB2 3QG, England. Last updated: 22 March 2007 Copyright (c) 2007 University of Cambridge. XFPT(1)

Check Out this Related Man Page

utf8trans(1)							     docbook2X							      utf8trans(1)

NAME
utf8trans - Transliterate UTF-8 characters according to a table SYNOPSIS
utf8trans charmap [file]... DESCRIPTION
utf8trans transliterates characters in the specified files (or standard input, if they are not specified) and writes the output to standard output. All input and output is in the UTF-8 encoding. This program is usually used to render characters in Unicode text files as some markup escapes or ASCII transliterations. (It is not in- tended for general charset conversions.) It provides functionality similar to the character maps in XSLT 2.0 (XML Stylesheet Language - Transformations, version 2.0). OPTIONS
-m, --modify Modifies the given files in-place with their transliterated output, instead of sending it to standard output. This option is useful for efficient transliteration of many files at once. --help Show brief usage information and exit. --version Show version and exit. USAGE
The translation is done according to the rules in the 'character map', named in the file charmap. It has the following format: 1. Each line represents a translation entry, except for blank lines and comment lines, which are ignored. 2. Any amount of whitespace (space or tab) may precede the start of an entry. 3. Comment lines begin with #. Everything on the same line is ignored. 4. Each entry consists of the Unicode codepoint of the character to translate, in hexadecimal, followed one space or tab, followed by the translation string, up to the end of the line. 5. The translation string is taken literally, including any leading and trailing spaces (except the delimeter between the codepoint and the translation string), and all types of characters. The newline at the end is not included. The above format is intended to be restrictive, to keep utf8trans simple. But if a XML-based format is desired, there is a xmlcharmap2utf8trans script that comes with the docbook2X distribution, that converts character maps in XSLT 2.0 format to the utf8trans format. LIMITATIONS
o utf8trans does not work with binary files, because malformed UTF-8 sequences in the input are substituted with U+FFFD characters. Howev- er, null characters in the input are handled correctly. This limitation may be removed in the future. o There is no way to include a newline or null in the substitution string. AUTHOR
Steve Cheng <stevecheng@users.sourceforge.net>. docbook2X 0.8.8 3 March 2007 utf8trans(1)
Man Page

Featured Tech Videos