cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] LuceneIndexTransformer Wed Jun 18 08:00:02 2003
Date Wed, 18 Jun 2003 06:00:02 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=LuceneIndexTransformer , version: 11 on Wed Jun
18 05:55:39 2003 by Con

- !Why use it?
+ !!Why use it?
? +

- !Declaring the LuceneIndexTransformer
+ !!Declaring the LuceneIndexTransformer
? +

- !Input document for the LuceneIndexTransformer
+ !!Input document for the LuceneIndexTransformer
? +

- !!What the document means
+ !!What the {{lucene:index}} document means
- The transformer will consume any elements in the {{lucene}} namespace, and any children
of a {{lucene:document}} element, so if your {{lucene:index}} element is the root of your
input document then there'll be no elements at all in the output. For this reason, if you
want the transformer to output a valid XML "document" (rather than just an XML fragment),
you should enclose the {{lucene:index}} element in another root element, such as {{index}}.
The transformer will pass this element through to your output document.
?                 -----                                                                  
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                                                 ^^

+ The transformer consumes any elements in the {{lucene}} namespace, and any children of a
{{lucene:document}} element, so if your {{lucene:index}} element is the root of your input
document then there'll be no elements at all in the output. For this reason, if you want the
transformer to output a valid XML "document" (rather than just an XML fragment), you should
enclose the {{lucene:index}} element in another root element, such as {{index}}. The transformer
will pass ''this'' element through as your output document.
?                        +                                                               
                                                                                         
                                                                                         
                                                                                         
                                                                                         
                        ++    ++                 ^^




Mime
View raw message