Hi all,

I´m reading XML-Files into Solr. I have the following structure:

<item>

<attribute>

<name>AAAAAAAAAA</name>

<value>123456789</value>

</attribute>

<attribute>

<name>BBBBBBBBBB</name>

<value>987654321</value>

</attribute>

<attribute>

<name>CCCCCCCCCC</name>

<value>147258369</value>

</attribute>

…

</item>

 

How can I read the name with value. The Solr result should look like this.

<str name=" AAAAAAAAAA">123456789</str>

<str name=" BBBBBBBBBB">987654321</str>

<str name=" CCCCCCCCCC">147258369</str>

 

 

Any Idea?

 

Thanks

 

Reply via email to