X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Frecordmodel-domxml.xml;h=7ae3c8bda61d8b80f737b52f3a7d04638517b020;hp=201299adf2cdcc5abf32bc08a9503c05d2d1e396;hb=7a1897c37a9fc946a3b44b10a46ed1eecdd3634a;hpb=b00064c85119fb3a6ca07f809f41d8f97f192165 diff --git a/doc/recordmodel-domxml.xml b/doc/recordmodel-domxml.xml index 201299a..7ae3c8b 100644 --- a/doc/recordmodel-domxml.xml +++ b/doc/recordmodel-domxml.xml @@ -1,5 +1,5 @@ - + &dom; &xml; Record Model and Filter Module @@ -108,9 +108,8 @@ The experimental, loadable &dom; &xml;/&xslt; filter module - mod-dom.so is packaged in the GNU/Debian package - libidzebra2.0-mod-dom. - It is invoked by the zebra.cfg configuration statement + mod-dom.so + is invoked by the zebra.cfg configuration statement recordtype.xml: dom.db/filter_dom_conf.xml @@ -120,25 +119,28 @@ path db/filter_dom_conf.xml. - - - - The &dom; &xslt; filter configuration file must be - valid &xml;. It might look like this (This example is - used for indexing and display of &oai; harvested records): - - <?xml version="1.0" encoding="UTF-8"?> - <schemaInfo> - <schema name="identity" stylesheet="xsl/identity.xsl" /> - <schema name="index" identifier="http://indexdata.dk/zebra/xslt/1" - stylesheet="xsl/oai2index.xsl" /> - <schema name="dc" stylesheet="xsl/oai2dc.xsl" /> - <!-- use split level 2 when indexing whole &oai; Record lists --> - <split level="2"/> - </schemaInfo> - + valid &xml;. It might look like this: + + + + + + + + + + + + + + + + ]]> + + All named stylesheets defined inside schema element tags @@ -167,7 +169,7 @@
- &dom; Internal Record Representation + &dom; filter internal record representation When indexing, an &xml; Reader is invoked to split the input files into suitable record &xml; pieces. Each record piece is then transformed to an &xml; &dom; structure, which is essentially the