bib2xml converts a BibTeX-formatted reference file to an XML-intermediate bibliography file.
Specify file(s) to be converted on the command line. Files containing BibTeX substitutions strings should be specified before the files where substitutions are specified (or in the same file before their use). If no files are specified, then BibTeX information will be read from standard in.
bib2xml BibTeX_file.bib > output_file.xml
Several flags available for the end2xml, endx2xml, bib2xml, ris2xml, med2xml, and copac2xml programs:
-h, --help display help
-v, --version display version
-a, --add-refcount add "_#", where # is reference count to reference id
-s, --single-refperfile put one reference per file name by the reference number
-i, --input-encoding interpret the input file as using the requested
character set (use w/o argument for current list
derived from character sets at www.kostis.net)
unicode is now a character set option
-u, --unicode-characters encode unicode characters directly in the file
rather than as XML entities (default)
-un,--unicode-no-bom as -u, but don't include a byte order mark
-x, --xml-entities change default UTF8-encoded characters to XML
entities (opposite of -u)
-nl,--no-latex do not covert latex character combinations (bib2xml)
-d, --drop-key don't put citation key in the mods id field
-c, --corporation-file with argument specifying a file containing a list
of corporation names to be placed in
<name type="corporate"></name> instead
of type="personal" and eliminate name mangling
--verbose verbose output
--debug very verbose output (mostly for debugging)