1. cmolik
  2. RO CSVI
  3. Thursday, 28 July 2022
  4.  Subscribe via email
Hello,
i have a problem with xml advanced order export. I can't disable CDATA tags.

Template fields setting - off
Edit template field - rules - off
None of this works

<typ:numberRequested>[order_number]</typ:numberRequested> result is: <typ:numberRequested><![CDATA[8220012]]></typ:numberRequested>

The desired result is <typ:numberRequested>8220012</typ:numberRequested>

RO CSVI 8.3.1
Joomla! 3.10.10

Thanks a lot.
Best regards,
DC
Accepted Answer
Accepted Answer Pending Moderation
Hello,
Thank you for posting the requested files. From your template I see that you still have CDATA tag set to Yes for the fields. See attached screenshot. You need to set this field to No so CDATA tags do not appear in export file. Set it to No and run the export. Let me know if that fixes the CDATA issue.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. one week ago
  2. RO CSVI
  3. # Permalink
Accepted Answer Pending Moderation
Hello,

i have a problem with xml advanced order export. I can't disable CDATA tags.
The problem should not be the CDATA tags as they are part of the official XML specification. Any XML reader will parse them accordingly.

Perhaps you can explain the problem you have with the CDATA tags?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello RolandD,
Is there any way to export them to this shape:
The desired result is <typ:numberRequested>8220012</typ:numberRequested>

I have this:
<typ:numberRequested>[order_number]</typ:numberRequested> result is: <typ:numberRequested><![CDATA[8220012]]></typ:numberRequested>

Many thanks,
DC
  1. 2 weeks ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,

i have a problem with xml advanced order export.
I would still like to know what the problem is you have with the CDATA tags. Can you tell me?

If you are using the VirtueMart Advanced Orders Export, go to the Template fields list and click on the field you do not want CDATA tag for and set the option Use CDATA tag to No. Save your field and you should not get the CDATA tag in your export.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
I already wrote it in the first message. It does not work!
I tried the template settings and the field settings: CDATA - NO
I think that's the problem.
Regards,
DC
  1. 2 weeks ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
I checked the export of order advanced export with CDATA off in template settings and it does work as expected. To check more on this post your export template XML. To get the template XML file, in RO CSVI maintenance menu select RO CSVI on first option, backup templates on second option, select the export template and download the XML file. Post the XML file.

Also you did not tell us why you want CDATA to be removed. We would like to know on the problem you are having using CDATA.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello Tharuna,
Thank you for your help.

I am sending you 3 files
Export template
Export result from my template
Sample xml (goal of my work)

First problem are "<" and ">" in this value: <![CDATA[8220008]]>

Regards,
DC
Attachments (3)
  1. one week ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Tharuna,
It works great! I didn't see it, I'm very sorry.

Thanks a lot.

Best regards
DC
  1. one week ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hello,
Glad to know your issue is fixed. You can open a new thread for any new issue. Closing this post.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. one week 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!