X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fabs2dom;fp=util%2Fabs2dom;h=2daf657c8636f8eb0389ac847f813d270dfedbd7;hb=76ba9c91346dc0d911aa52a3b7d40d56058585f7;hp=3a3acba40efc1505b90c4c6573ea1eaa00c83db2;hpb=707cc9ebfa7f462ec58a31cfbad4c1a09fecfa00;p=idzebra-moved-to-github.git 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">