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?
You need to be logged in to view a user's profile.
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.
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
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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.
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)
Accepted Answer
Pending Moderation
Hello,
Which CSVI version are you using? How have you configured the fields?
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
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
The template is straight forward. Just add 10 fields to the same attributes/group/text
see screenshot
Attachments (1)
Accepted Answer
Pending Moderation
I use version csvi pro 6.2.0It'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
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »