|
From: Leo L. <le...@cu...> - 2010-02-05 08:53:12
|
On 4 February 2010 22:55, Langston, James <Jam...@co...>wrote:
> $monitorOrder->add_elem(name=>'MonitorSite',
>
> attributes=>{
>
> 'siteId'=>"330"
>
> }) ;
>
> expecting
>
> <MonitorSite siteId=”330”/>
>
> I get
>
> <MonitorSite xsi:nil=”true” siteId=”330”/>
>
I can't tell you how to stop it I'm afraid.
It is standard that if the element has no value then this attribute is set
(.Net also adds it by default), so I would suggest it would be better to
solve the issue on the parser side (e.g. where this data is being sent to)
to allow this - if at all possible.
Leo
Leo
|