Re: Setting Attribute Values - Using Integers

Luca Padovani <[email protected]> Mon, 10 Sep 2007 13:06:15 +0200
Newsgroups gmane.comp.gnome.gdome
Message-ID <[email protected]>
Hello Gupta,

On Jun 26, 2007, at 10:56 PM, Gupta, Raman wrote:
> 1)       Somehow tell gdome to use my schema so that it will  
> automatically make it an integer
no
> 2)       Tell gdome to set an integer value for the attribute?

no. Gdome is totally oblivious to the schema of the document being  
accessed or modified, and it performs no automatic conversion of  
data. You have to use strings and do the conversion yourself. As far  
as I know, all (most?) DOM implementations behave like this.

Best,
--luca