Hi there,
I have 2 properties that use the MultiValueXMLPropertyExtractor
1)
<extractor
classname="nl.hippo.slide.extractor.MultiValueXMLPropertyExtractor"
uri="/files/customer.preview/content" content-type="text/xml | text/xml;
charset=UTF-8 | application/xml">
<configuration>
<instruction property="keywords"
namespace="http://hippo.nl/cms/1.0" xpath="string(//keywords/keyword)"/>
</configuration>
</extractor>
2)
<extractor
classname="nl.hippo.slide.extractor.MultiValueXMLPropertyExtractor"
uri="/files" content-type="text/xml | text/xml; charset=UTF-8 |
application/xml">
<configuration>
<instruction property="references"
namespace="http://hippo.nl/cms/1.0" xpath="//@href|//@src"/>
</configuration>
</extractor>
In 1) I only get the first keyword, in 2) I get all the values form
@href and @src are commaseparatedlist. What am I doing wrong (or what is
the MultiValueXMLPropertyExtractor doing wrong)? I want all the keywords
in 1 property.
Jasha Joachimsthal
Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466
http://www.hippo.nl
********************************************
Hippocms-dev: Hippo CMS development public mailinglist