[DUG]: Setting Attributes in XML
Hi all I'm scratching my head NodeAttributes['Att'] := 10 sets Att=10 even tho 10 is an integer Does anyone know how to set an 'unquoted attribute ie Att=10 TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: [DUG]: Setting Attributes in XML
Unfortunate according to the latest XML standards, all attributes should be quoted. The parsers supporting parsing in unquoted strings for historical(?) reasons. :-( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Thursday, October 18, 2001 10:44 AM To: Multiple recipients of list delphi Subject: [DUG]: Setting Attributes in XML Hi all I'm scratching my head NodeAttributes['Att'] := 10 sets Att=10 even tho 10 is an integer Does anyone know how to set an 'unquoted attribute ie Att=10 TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
The unquoted value is _illegal_ in XML. You can't do it. You specify the _type_ of the variable in the XSD (XML Schema Defn) - with our XML parser / wrapper, it generated interfaces for you - as you know- and manages the types for you in there. bottom line: no XML parser should handle this a b=1 / N - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:43 AM Subject: [DUG]: Setting Attributes in XML Hi all I'm scratching my head NodeAttributes['Att'] := 10 sets Att=10 even tho 10 is an integer Does anyone know how to set an 'unquoted attribute ie Att=10 TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
Nic Thanks, My XML book was a little old, 1999! I like the TXMLDocument and using it has certain adavantages (like the wizard support) but it would be nice if some bolted one of these 'native' delphi parsers onto it, So it didn't required the MS or IBM XML parser Neven - Original Message - From: Nic Wise [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 9:12 AM Subject: Re: [DUG]: Setting Attributes in XML The unquoted value is _illegal_ in XML. You can't do it. You specify the _type_ of the variable in the XSD (XML Schema Defn) - with our XML parser / wrapper, it generated interfaces for you - as you know- and manages the types for you in there. bottom line: no XML parser should handle this a b=1 / N - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:43 AM Subject: [DUG]: Setting Attributes in XML Hi all I'm scratching my head NodeAttributes['Att'] := 10 sets Att=10 even tho 10 is an integer Does anyone know how to set an 'unquoted attribute ie Att=10 TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
Well, yeah - but how compliant are the other parsers? the MS one and especially the IBM one, is very compliant. N - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 9:50 AM Subject: Re: [DUG]: Setting Attributes in XML Nic Thanks, My XML book was a little old, 1999! I like the TXMLDocument and using it has certain adavantages (like the wizard support) but it would be nice if some bolted one of these 'native' delphi parsers onto it, So it didn't required the MS or IBM XML parser Neven - Original Message - From: Nic Wise [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 9:12 AM Subject: Re: [DUG]: Setting Attributes in XML The unquoted value is _illegal_ in XML. You can't do it. You specify the _type_ of the variable in the XSD (XML Schema Defn) - with our XML parser / wrapper, it generated interfaces for you - as you know- and manages the types for you in there. bottom line: no XML parser should handle this a b=1 / N - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, October 18, 2001 10:43 AM Subject: [DUG]: Setting Attributes in XML Hi all I'm scratching my head NodeAttributes['Att'] := 10 sets Att=10 even tho 10 is an integer Does anyone know how to set an 'unquoted attribute ie Att=10 TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: [DUG]: Setting Attributes in XML
Nic Wise asked: Well, yeah - but how compliant are the other parsers? the MS one and especially the IBM one, is very compliant. Well, the OpenXML native Delphi parser is so compliant that the author has found several bugs in the actual XML standards that he had had to get resolved by the commitee! And the good bit is that any problmes get a very fast fix and correction on Deiter's mailing list. Its an ongoing, free and well supported native Delphi product, which gives makes it perfect for us paranoid developers who want the source to every single thing we use. Cheers, Max. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
Except of OS Max :-) - Original Message - From: Max Nilson [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 1:28 PM Subject: RE: [DUG]: Setting Attributes in XML Nic Wise asked: Well, yeah - but how compliant are the other parsers? the MS one and especially the IBM one, is very compliant. Well, the OpenXML native Delphi parser is so compliant that the author has found several bugs in the actual XML standards that he had had to get resolved by the commitee! And the good bit is that any problmes get a very fast fix and correction on Deiter's mailing list. Its an ongoing, free and well supported native Delphi product, which gives makes it perfect for us paranoid developers who want the source to every single thing we use. Cheers, Max. -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
Fair enough - and as someone asked yesterday, you could make it plug into the Borland framework, if you really wanted to N - Original Message - From: Max Nilson [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 1:28 PM Subject: RE: [DUG]: Setting Attributes in XML Nic Wise asked: Well, yeah - but how compliant are the other parsers? the MS one and especially the IBM one, is very compliant. Well, the OpenXML native Delphi parser is so compliant that the author has found several bugs in the actual XML standards that he had had to get resolved by the commitee! And the good bit is that any problmes get a very fast fix and correction on Deiter's mailing list. Its an ongoing, free and well supported native Delphi product, which gives makes it perfect for us paranoid developers who want the source to every single thing we use. Cheers, Max. -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
Nic Have I been reduced to 'someone' or are you having a bad day Neven - Original Message - From: Nic Wise [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 1:50 PM Subject: Re: [DUG]: Setting Attributes in XML Fair enough - and as someone asked yesterday, you could make it plug into the Borland framework, if you really wanted to N - Original Message - From: Max Nilson [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 1:28 PM Subject: RE: [DUG]: Setting Attributes in XML Nic Wise asked: Well, yeah - but how compliant are the other parsers? the MS one and especially the IBM one, is very compliant. Well, the OpenXML native Delphi parser is so compliant that the author has found several bugs in the actual XML standards that he had had to get resolved by the commitee! And the good bit is that any problmes get a very fast fix and correction on Deiter's mailing list. Its an ongoing, free and well supported native Delphi product, which gives makes it perfect for us paranoid developers who want the source to every single thing we use. Cheers, Max. -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: Setting Attributes in XML
You asked? I didn't recall seeing you there :( :( :( Sorry, the last 3 days have been a bit of a haze - rather tired after doing 2 weeks of back-to-back training, plus having my laptop nicked, then doing the road show etc etc. sorry :( Hence why I'm taking today off :) Nic. - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 2:19 PM Subject: Re: [DUG]: Setting Attributes in XML Nic Have I been reduced to 'someone' or are you having a bad day Neven - Original Message - From: Nic Wise [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 1:50 PM Subject: Re: [DUG]: Setting Attributes in XML Fair enough - and as someone asked yesterday, you could make it plug into the Borland framework, if you really wanted to N - Original Message - From: Max Nilson [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, October 19, 2001 1:28 PM Subject: RE: [DUG]: Setting Attributes in XML Nic Wise asked: Well, yeah - but how compliant are the other parsers? the MS one and especially the IBM one, is very compliant. Well, the OpenXML native Delphi parser is so compliant that the author has found several bugs in the actual XML standards that he had had to get resolved by the commitee! And the good bit is that any problmes get a very fast fix and correction on Deiter's mailing list. Its an ongoing, free and well supported native Delphi product, which gives makes it perfect for us paranoid developers who want the source to every single thing we use. Cheers, Max. -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/