Home » Categories » Solutions by Business Process » E-Business » XML |
Element Tags |
Article Number: 1799 | Rating: Unrated | Last Updated: Thu, Jun 22, 2023 at 5:02 PM
|
Datafile Software Element Tags An element starts with an opening element tag, and is closed with a closing element tag. The element name must be the same in both opening and closing tags. If more than one data item is required to be included within an element, then each one must be defined by a child element nested within that element. An opening element tag looks like <element-name>. A closing element tag looks like </element-name>. For an output XML template generated by the Datafile XML module, the database data item name is used as the tag. You could do this too; so if the 28th data item in a database was called Example-Item, then you could create an element as follows: <D028-Data-Item>D028-Data-Item</D028-Data-Item> For brevity, this can be given in the template for an output XML file (as does the Datafile XML generator) as <D028-Data-Item/>, which is the null element form (see below). This will actually generate the full XML element if the data contains a non-null value. If the data item contained, say, the value 47.21, then this would be expanded in the output XML file to: <D028-Data-Item>47.21</D028-Data-Item> Within the template for an incoming XML file, an element with no data can be written using the short form <element-name/>. Such a null element means that any data in that element from the incoming XML file. |
Attachments
There are no attachments for this article.
|
Output XML Orders
Viewed 3895 times since Mon, Jul 9, 2012
Supplier Codes
Viewed 1376 times since Tue, Jul 10, 2012
Credit Control Manager / Additional Options
Viewed 2862 times since Mon, Jun 11, 2012
Sales Ledger Accounts (SLA)
Viewed 3578 times since Tue, Jul 10, 2012
Constants File - Other XML Associated Files
Viewed 1400 times since Tue, Jul 10, 2012
Typical XML Purchase Order Cycle
Viewed 1327 times since Mon, Jul 9, 2012
Application Considerations - Customer Information
Viewed 2995 times since Tue, Jul 10, 2012
Print Invoices Processed
Viewed 3158 times since Mon, Jul 9, 2012
Specific Trading Partner Notes - Kingfield Heath
Viewed 1390 times since Tue, Jul 10, 2012
EAN/Product Table Update
Viewed 1415 times since Thu, Jul 5, 2012
|