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?
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
I will check it , thanks for the help so far.
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.
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
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
thanks for your help
Works like a charm
Log in to reply to this topic.