ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Trying to set significant digit in decimal msxd

Post new topic  Reply to topic
 Trying to set significant digit in decimal msxd « View previous topic :: View next topic » 
Author Message
martc
PostPosted: Tue Mar 20, 2007 10:31 am    Post subject: Trying to set significant digit in decimal msxd Reply with quote

Apprentice

Joined: 23 Mar 2005
Posts: 39

Hi;

I have a schema defined in an msxd file with an attribute of an element as 'decimal'. In the mapping node, I am assigning a value to this as 1.0.

Our prefered output is
<ServiceID Version="1.0">Transaction.StoreDetails</ServiceID>

But as decimal Im getting:
<ServiceID Version="1">Transaction.StoreDetails</ServiceID>

I have also tried to set the value in 'default' and 'fixed' as 1.0 but still the display is Version="1".

Can this be done as decimal or are zeros always dropped.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Mar 20, 2007 3:03 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

MRM XML offers no facility for controlling the physical format of decimals.
Best solution is to change the type to 'string'.
Back to top
View user's profile Send private message
martc
PostPosted: Wed Mar 21, 2007 8:57 am    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2005
Posts: 39

Thanks Kimbert, yes, 'string' would do it for me and call it a day.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Trying to set significant digit in decimal msxd
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.