From 76ba9c91346dc0d911aa52a3b7d40d56058585f7 Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Mon, 17 Dec 2007 12:38:57 +0000 Subject: [PATCH] Added a little documentation. --- util/abs2dom | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/util/abs2dom b/util/abs2dom index 3a3acba..2daf657 100755 --- a/util/abs2dom +++ b/util/abs2dom @@ -1,16 +1,29 @@ #!/usr/bin/perl -w -# $Id: abs2dom,v 1.2 2007-12-17 12:28:50 sondberg Exp $ +# $Id: abs2dom,v 1.3 2007-12-17 12:38:57 sondberg Exp $ # ---------------------------------------------------------------------------- # Generate a dom-filter indexing stylesheet based upon an .abs file +# Should be called either this way +# +# abs2dom something.abs > something.xsl +# +# or in a streaming way +# +# something | abs2dom > something.xsl +# +# The output xslt stylesheet generally needs a little bit of tweaking to be +# ready for indexing. In particular, watch out for the precedence rules of +# xslt templates which work differently from xelm declarations in an .abs file! +# +# Good luck! use strict; print < + xmlns:z="http://indexdata.com/zebra-2.0" + version="1.0">