Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Setting Attribute Values - Using Integers: msg#00000

Subject: Re: Setting Attribute Values - Using Integers
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


<Prev in Thread] Current Thread [Next in Thread>