NAME
docbook-to-fiction-xml-txt.pl - convert a subset of DocBook/XML to Fiction-Text.
SYNOPSIS
# To render input.xml file into XHTML
perl docbook-to-fiction-xml-txt.pl -o story.fiction.txt story.docbook.xml
DESCRIPTION
This is a script (partial, hacky and incomplete) to convert a subset of DocBook/XML into Fiction-Text. (see XML::Grammar::Fiction ). In turn Fiction-Text can be converted to Fiction-XML , XHTML and DocBook/XML.
USAGE
The basic invocation of docmake is:
docmake -o [output.fiction.txt] input.docbook.xml
--output is a verbose alternative to -o.
FLAGS
The available flags are:
-o OUTPUT_PATH ; --output OUTPUT_PATH
Put the result in OUTPUT_PATH .
EXAMPLES
There are some examples for sample invocation in the Synopsis.
SUPPORT
You can look for information at:
Search CPAN
CPAN Ratings
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=XML::Grammar::Fiction
SEE ALSO
DocBook on the Wikipedia - http://en.wikipedia.org/wiki/DocBook
DocBook/XSL - The Complete Guide - http://www.sagehill.net/docbookxsl/
The DocBook Homepage - http://www.docbook.org/
COPYRIGHT & LICENSE
Copyright (c) 2009 Shlomi Fish.
This program is released under the following license: MIT/X11 License. ( http://www.opensource.org/licenses/mit-license.php ).
LICENSE
Copyright (c) 2009 Shlomi Fish
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AUTHOR
Shlomi Fish , http://www.shlomifish.org/ .