XML download with NULL in emply fields

General ShopSite user discussion
Post Reply
jackie
Posts: 31
Joined: Mon Mar 12, 2007 12:41 pm

XML download with NULL in emply fields

Post by jackie »

Hi,

I have a client who is downloading product data from Shopsite and then trying to import it into another program. The problem is the other program is rejecting the xml download file because it has empty fields. Is there a way to configure the Shopsite XML product download to ensure there is something (like NULL or a space) included in the empty fields? Or does anyone know of an efficient way to make the empty fields have NULL in them by some other means.

Thanks.
jb
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Post by Jim »

What fields in particular are you looking at?

In my download file empty fields are formatted like <DimensionSelected/> with the closing slash after the field name which is the appropriate way to handle an empty tag. http://www.w3.org/TR/REC-xml/#sec-starttags
jackie
Posts: 31
Joined: Mon Mar 12, 2007 12:41 pm

Post by jackie »

Thanks Jim,

You were correct, there are no empty fields, I got it sorted out.
jb
Post Reply