1. klikklik
  2. RO CSVI
  3. Tuesday, 12 April 2016
  4.  Subscribe via email
Hi,

I have an xml file with a bit of code like this:

<attributes>
<group lan="nl">
<groupname>Specificaties</groupname>
<atrribute>Wielmaat:</atrribute>
<text>28 inch</text>
<atrribute>Framemaat:</atrribute>
<text>53 cm</text>
<atrribute>Frame:</atrribute>
<text>Stalen frame</text>
<atrribute>voordrager:</atrribute>
<text>aluminium </text>
</group>
</attributes>

When I map the field attributes/group/text It always gives me the last node ( aluminium )

Can I also collect the other text fields?
Accepted Answer Pending Moderation
Hello,

You can collect the other fields and a good way to see how is to run the XML file through the analyzer, it will give you the fields you can use.

To get all the fields you need to add as many fields as there are text fields. So you have here 4 text nodes, so you will need 4 fields mapped to attributes/group/text. The first entry will go into the first field, the second entry into the second field etc. If you want all this data in 1 field, you will need to combine them using a combine rule.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
I will check it , thanks for the help so far.
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
I have made 2 new templates for the test, the result is the same.

The LAST attributes/group/text is filled in the first field, the rest of the 3 fields are empty.

I have looked at the analyser and that works perfect. So the xml file is also good.

Screenshot: Under the value "WIELMAAT" there is the xml feed-> LED koplamp en LED achterlicht This is the last item under the attributes list.
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,

Which CSVI version are you using? How have you configured the fields?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
I use version csvi pro 6.2.0

The template is straight forward. Just add 10 fields to the same attributes/group/text
see screenshot
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
I use version csvi pro 6.2.0
It's time for an update then. In version 6.5.0 we already improved the reading of XML files.

That may explain why it's not working for you now. Give the current version a try and let me know if that helped.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
thanks for your help
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Works like a charm
  1. more than a month ago
  2. RO CSVI
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!