Hi Ard,
I did the same what you said.
I have edited the following HippoSimpleXmlExtractor to my
"extractors.xml" file
<extractor classname="nl.hippo.slide.extractor.HippoSimpleXmlExtractor"
uri="/files/default.preview/polls" content-type="text/xml | text/xml;
charset=UTF-8 | application/xml">
<configuration>
<instruction property="hoofdnieuws"
namespace="http://hippo.nl/cms/1.0" xpath="/root/hoofdnieuws"/>
</configuration>
</extractor>
NB the xpath is good..
Then I opened/saved the documents,
But my dasl query still didn't work..
My dasl query looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<d:searchrequest xmlns:d="DAV:"
xmlns:slide="http://jakarta.apache.org/slide/"
xmlns:h="http://hippo.nl/cms/1.0">
<d:basicsearch>
<d:select>
<d:prop>
<h:type/>
<h:hoofdnieuws/>
</d:prop>
</d:select>
<d:from>
<d:scope>
<d:href/>
<d:depth>infinity</d:depth>
</d:scope>
</d:from>
<d:where>
<d:and>
<d:not-is-collection/>
<d:eq>
<d:prop>
<h:type/>
</d:prop>
<d:literal>artikel</d:literal>
</d:eq>
<d:eq>
<d:prop>
<h:hoofdnieuws/>
</d:prop>
<d:literal>true</d:literal>
</d:eq>
</d:and>
</d:where>
<d:orderby>
<d:order>
<d:prop><h:publicatiedatum/></d:prop>
<d:descending/>
</d:order>
</d:orderby>
<d:limit>
<d:nresults>10</d:nresults>
</d:limit>
</d:basicsearch>
</d:searchrequest>
And I want to select all elements where hoofdnieuws is equal to
true(where the checkbox is choosen)
Tkx in advance
Disclaimer
Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor
de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de
afzender te waarschuwen en dit bericht met eventuele bijlagen direct te
verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en
eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op
te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar
groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid
voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht.
This e-mail and any attachments are confidential and are solely intended for
the addressee. If you are not the intended recipient, please notify the sender
and delete and/or destroy this message and any attachments immediately. It is
prohibited to copy, to distribute, to disclose or to use this e-mail and any
attachments in any other way. Ordina N.V. and/or its group companies do not
accept any responsibility nor liability for any damage resulting from the
content of and/or the transmission of this message.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist