From Raman.Gupta@viasat.com Tue Jun 26 16:56:38 2007 Return-Path: X-Original-To: gdome@gnome.org Delivered-To: gdome@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 93DB53B00EB for ; Tue, 26 Jun 2007 16:56:38 -0400 (EDT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Score: 1.702 X-Spam-Level: * X-Spam-Status: No, score=1.702 tagged_above=-999 required=2 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, L_P0F_W=1.7] X-Amavis-OS-Fingerprint: Windows 2000 SP4, XP SP1+, (distance 10, link: GPRS, T1, FreeS/WAN), [12.198.241.131] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sblx9b5Ql7m7 for ; Tue, 26 Jun 2007 16:56:37 -0400 (EDT) Received: from VGAEXCH02.hq.corp.viasat.com (harrier.viasat.com [12.198.241.131]) by menubar.gnome.org (Postfix) with ESMTP id 4FB053B00BE for ; Tue, 26 Jun 2007 16:56:37 -0400 (EDT) Received: from VGAEXCH01.hq.corp.viasat.com ([172.31.1.20]) by VGAEXCH02.hq.corp.viasat.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 26 Jun 2007 16:56:36 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7B834.7BCAEA44" Date: Tue, 26 Jun 2007 16:56:34 -0400 Message-ID: <0B0A20D0B3ECD742AA2514C8DDA3B065668209@VGAEXCH01.hq.corp.viasat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Setting Attribute Values - Using Integers Thread-Index: Ace4NHtBvYbt212NSxi8ghOJLvbnDg== From: "Gupta, Raman" To: X-OriginalArrivalTime: 26 Jun 2007 20:56:36.0059 (UTC) FILETIME=[7BF19AB0:01C7B834] Subject: [gdome] Setting Attribute Values - Using Integers X-BeenThere: gdome@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Gnome DOM development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 20:56:38 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7B834.7BCAEA44 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 First, I want to apologize in advance if this is the wrong place to be asking this question. =20 I am currently using the gdome library to write and parse XML data which should follow a predefined schema. The schema specifies that some of the attributes are to be entered as integers, but as I understand the API, I can only set attribute values as strings. I thought that maybe GdomeDOMString would somehow figure out what data type the attribute should be, but I could not find how to point gdome to the schema so it would have no idea that the attribute should be an integer and not a string. =20 So my question is, can I: =20 1) Somehow tell gdome to use my schema so that it will automatically make it an integer Or 2) Tell gdome to set an integer value for the attribute? =20 I hope my question is clear enough, and if it is not, please let me know and I will do my best to phrase it better. Thanks in advance for your help! =20 Raman Gupta ------_=_NextPart_001_01C7B834.7BCAEA44 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

First, I want to apologize in advance if this is the = wrong place to be asking this question.

 

I am currently using the gdome library to write and = parse XML data which should follow a predefined schema. The schema specifies = that some of the attributes are to be entered as integers, but as I = understand the API, I can only set attribute values as strings. I thought that maybe GdomeDOMString would somehow figure out what data type the attribute = should be, but I could not find how to point gdome to the schema so it would have = no idea that the attribute should be an integer and not a = string.

 

So my question is, can = I:

 

1)       = Somehow tell gdome to use my schema so that it will automatically make it an = integer

Or<= /p>

2)       = Tell gdome to set an integer value for the attribute?

 

I hope my question is clear enough, and if it is not, = please let me know and I will do my best to phrase it better. Thanks in advance = for your help!

 

Raman Gupta

------_=_NextPart_001_01C7B834.7BCAEA44-- From Raman.Gupta@viasat.com Tue Jun 26 16:56:38 2007 Return-Path: X-Original-To: gdome@gnome.org Delivered-To: gdome@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 93DB53B00EB for ; Tue, 26 Jun 2007 16:56:38 -0400 (EDT) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Score: 1.702 X-Spam-Level: * X-Spam-Status: No, score=1.702 tagged_above=-999 required=2 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, L_P0F_W=1.7] X-Amavis-OS-Fingerprint: Windows 2000 SP4, XP SP1+, (distance 10, link: GPRS, T1, FreeS/WAN), [12.198.241.131] Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sblx9b5Ql7m7 for ; Tue, 26 Jun 2007 16:56:37 -0400 (EDT) Received: from VGAEXCH02.hq.corp.viasat.com (harrier.viasat.com [12.198.241.131]) by menubar.gnome.org (Postfix) with ESMTP id 4FB053B00BE for ; Tue, 26 Jun 2007 16:56:37 -0400 (EDT) Received: from VGAEXCH01.hq.corp.viasat.com ([172.31.1.20]) by VGAEXCH02.hq.corp.viasat.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 26 Jun 2007 16:56:36 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7B834.7BCAEA44" Date: Tue, 26 Jun 2007 16:56:34 -0400 Message-ID: <0B0A20D0B3ECD742AA2514C8DDA3B065668209@VGAEXCH01.hq.corp.viasat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Setting Attribute Values - Using Integers Thread-Index: Ace4NHtBvYbt212NSxi8ghOJLvbnDg== From: "Gupta, Raman" To: X-OriginalArrivalTime: 26 Jun 2007 20:56:36.0059 (UTC) FILETIME=[7BF19AB0:01C7B834] Subject: [gdome] Setting Attribute Values - Using Integers X-BeenThere: gdome@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Gnome DOM development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 20:56:38 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7B834.7BCAEA44 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 First, I want to apologize in advance if this is the wrong place to be asking this question. =20 I am currently using the gdome library to write and parse XML data which should follow a predefined schema. The schema specifies that some of the attributes are to be entered as integers, but as I understand the API, I can only set attribute values as strings. I thought that maybe GdomeDOMString would somehow figure out what data type the attribute should be, but I could not find how to point gdome to the schema so it would have no idea that the attribute should be an integer and not a string. =20 So my question is, can I: =20 1) Somehow tell gdome to use my schema so that it will automatically make it an integer Or 2) Tell gdome to set an integer value for the attribute? =20 I hope my question is clear enough, and if it is not, please let me know and I will do my best to phrase it better. Thanks in advance for your help! =20 Raman Gupta ------_=_NextPart_001_01C7B834.7BCAEA44 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

First, I want to apologize in advance if this is the = wrong place to be asking this question.

 

I am currently using the gdome library to write and = parse XML data which should follow a predefined schema. The schema specifies = that some of the attributes are to be entered as integers, but as I = understand the API, I can only set attribute values as strings. I thought that maybe GdomeDOMString would somehow figure out what data type the attribute = should be, but I could not find how to point gdome to the schema so it would have = no idea that the attribute should be an integer and not a = string.

 

So my question is, can = I:

 

1)       = Somehow tell gdome to use my schema so that it will automatically make it an = integer

Or<= /p>

2)       = Tell gdome to set an integer value for the attribute?

 

I hope my question is clear enough, and if it is not, = please let me know and I will do my best to phrase it better. Thanks in advance = for your help!

 

Raman Gupta

------_=_NextPart_001_01C7B834.7BCAEA44--