XML download with NULL in emply fields

General ShopSite user discussion

XML download with NULL in emply fields

Postby jackie » Fri Aug 31, 2007 12:42 pm

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
jackie
 
Posts: 31
Joined: Mon Mar 12, 2007 12:41 pm

Postby Jim » Fri Aug 31, 2007 1:45 pm

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
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby jackie » Fri Aug 31, 2007 4:17 pm

Thanks Jim,

You were correct, there are no empty fields, I got it sorted out.
jb
jackie
 
Posts: 31
Joined: Mon Mar 12, 2007 12:41 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 62 guests