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
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.
-
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
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
[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
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
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
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
...@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
-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
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.
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
12 matches
Mail list logo