Developer forum

Forum » CMS - Standard features » Disable getting feed element parsed to lowercase

Disable getting feed element parsed to lowercase

Martijn Bokhove
Reply

Hi

We have build some feeds with template output as text/xml, that works really great!

Unfortunately we run into a problem with a third party, who cannot reed a feed.
They claim we have to build the feed exact like their specifications, and the feed should start with <Products>.

In our template we have changed it:

<?xml version="1.0" encoding="UTF-8"?>
    <Products id="content-main" class="dwcontent" title="Main content" data-settings="removeid:true;"></Products>

When it's rendered, it's being transfered to lowercase:

<?xml version="1.0" encoding="UTF-8"?>
    <products>

Is there a setting we can add to data-settings, so it won't render it to lowercase? Or is there some other setting we can use for this?

Gr
Martijn


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Martijn

I can see the issue. I will look into this with Mikkel and see if we can come up with a solution to the issue.

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

On 8.5 you can use unwrap: true and then redefine the <Products> element yourself. Would that help?

Imar

 
Martijn Bokhove
Reply

Hi

Nicolai, thanks for looking into it.

Imar, the solution runs on 8.4. It will not be updated to 8.5 soon. But using unwrap:true would we also be a nice feature for 8.4+.

Thanks guys.

Gr
Martijn

 

You must be logged in to post in the forum