[U2] XML format question

2010-05-13 Thread George Gallen
I'm importing some XML, and a question came up with the following: I'm writing a small xml extraction program to setup a dynamic array, what is the difference between putting a field inside the label vs putting the field between the tags of the label? Aren't they both a subset of the

Re: [U2] XML format question

2010-05-13 Thread Norman Bauer
George, either way will work. The by product of making xml attribute centric (fields inside the label) is that it produces smaller files (about half the size of element centric). If your producing small files that may be read by an admin, then go with element centric as it is easier to read.

Re: [U2] XML format question

2010-05-13 Thread George Gallen
- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Norman Bauer Sent: Thursday, May 13, 2010 11:15 AM To: U2 Users List Subject: Re: [U2] XML format question George, either way will work. The by product of making xml attribute centric

Re: [U2] XML format question

2010-05-13 Thread Brian Leach
Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: 13 May 2010 4:06 PM To: U2 Users List Subject: [U2] XML format question I'm importing some XML, and a question came up with the following: I'm writing a small xml

Re: [U2] XML format question

2010-05-13 Thread Symeon Breen
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: 13 May 2010 16:06 To: U2 Users List Subject: [U2] XML format question I'm importing some XML, and a question came up with the following: I'm writing a small xml extraction program to setup a dynamic array, what

Re: [U2] XML format question

2010-05-13 Thread Norman Bauer
Of George Gallen Sent: 13 May 2010 16:06 To: U2 Users List Subject: [U2] XML format question I'm importing some XML, and a question came up with the following: I'm writing a small xml extraction program to setup a dynamic array, what is the difference between putting a field inside the label

Re: [U2] XML format question

2010-05-13 Thread George Gallen
Of Norman Bauer Sent: Thursday, May 13, 2010 11:27 AM To: U2 Users List Subject: Re: [U2] XML format question If space is of concern then attributes take less room, but then again if space is of concern don't do xml, do json/csv/edi etc excellent advice. norm On Thu, May 13, 2010

Re: [U2] XML format question

2010-05-13 Thread Symeon Breen
Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: 13 May 2010 16:22 To: U2 Users List Subject: Re: [U2] XML format question I'm not producing the file, I'm reading the file and was trying to figure out why some

Re: [U2] XML format question

2010-05-13 Thread George Gallen
...@listserver.u2ug.org] On Behalf Of Norman Bauer Sent: Thursday, May 13, 2010 11:27 AM To: U2 Users List Subject: Re: [U2] XML format question If space is of concern then attributes take less room, but then again if space is of concern don't do xml, do json/csv/edi etc excellent advice. norm

Re: [U2] XML format question

2010-05-13 Thread Glen Batchelor
-Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Brian Leach Sent: Thursday, May 13, 2010 11:24 AM To: 'U2 Users List' Subject: Re: [U2] XML format question George So to paraphrase, when do you use attributes to hold

Re: [U2] XML format question

2010-05-13 Thread Carl Dula
George: If I understand your question, all you are trying to do is figure out how to get the value of the element attributes in an XML file you are receiving. If this is what you need to accomplish, the following is an example of a portion of an extract file that shows the format to do this.

Re: [U2] XML format question

2010-05-13 Thread Boydell, Stuart
XML, as suggested, is a flexible container but I think that the pundits suggest that you use elements for data and attributes for metadata which is used to refine or modify the default behaviour of an element. For example: Money currency=aud12.99/Money Then if you needed to store or convert