The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

docseq

Very basic document sequence generator.

Usage

 docseq [-E defaultinputencoding] [-b] [-n] -f filename1 [filenameN...]

Parameters

 -E specify encoding to assume if no encoding is found (default: "iso-8859-1")
 -n do not emit the <?xml..?> processor instruction
 -b do not emit the <ntv:docseq> container (bare XML)
 -f following parameters should be considered mailbox filenames

Filenames can also be specified on seperate lines on STDIN.

Example

Convert all the files with the extension "ntvml" in the current directory to a document sequence and store the result in the file "xml".

 docseq -f *.ntvml >xml

Example

Find all files with the extension "ntvml" in the directory "new", create a document sequence out of that with ISO-8859-1 encoding and have that indexed on the fly.

 ls new/*.ntvml | docseq -e iso-8859-1 | ntvindex -

AUTHOR

Elizabeth Mattijsen, <liz@dijkmat.nl>.

Please report bugs to <perlbugs@dijkmat.nl>.

COPYRIGHT

Copyright (c) 1995-2002 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

http://www.nextrieve.com and the NexTrieve::xxx modules.