Hello list,

is it possible to load only selected documents with XPathEntityProcessor?
While loading docs I want to drop/skip/ignore documents with missing URL.

Example:
<documents>
    <document>
        <title>first title</title>
        <id>identifier_01</id>
        <link>http://www.foo.com/path/bar.html</link>
    </document>
    <document>
        <title>second title</title>
        <id>identifier_02</id>
        <link></link>
    </document>
</documents>

The first document should be loaded, the second document should be ignored
because it has an empty link (should also work for missing link field).

Best regards
Bernd

Reply via email to