This article is a cumbersome and very detailed overview of the XML elements available to use in RC DNA generation. For a top level description of the _SRC XML files, see

Editing _SRC files

XML elements in DNA

Below is an overview of the RC DNA elements. The structure of the presentation indicates how the elements are structured logically in the DNA XML.

<RailwayObjectTypeDefinitions> | XML element which contains the entire XML code for a specific instance of RailCOMPLETE object type definitions (Definition of Netork Assets = DNA). | | <DnaIdentification>============================================= | | Element which contains metadata about the present specific DNA: administrator, descriptive text, version number etc. | | Attributes: Name - String - To be presented to a user when selecting between available DNA version. E.g., "NO-BN 2022.a (beta 2022-08-07)". | | | | <DnaIri>===================================================== | | | Element which contains information such as railway administration, DNA's date/time. "IRI" is short for "Internationalized Resource Identifier", see Wikipedia. | | | | | | <AdministrationCountry>----------------------------------- | | | An ISO 3166-2 two-letter uppercased Adm's country name abbreviation. E.g. "NO" for Norway. | | | | | | <AdministrationDelimiter>--------------------------------- | | | Delimiting character between Administration Country and Administration Code. E.g., "-" | | | | | | <AdministrationCode>-------------------------------------- | | | A 2-letter uppercased code which identifies the railway administration within its country, e.g. "BN" for "Bane NOR". | | | | | | <AgentCountry>-------------------------------------------- | | | An ISO 3166-2 two-letter uppercased Agent's country name abbreviation. E.g. "NO" for Norway. | | | | | | <AgentDelimiter>------------------------------------------ | | | Delimiting character between Agent Country and Agent Code. E.g., "." | | | | | | <AgentCode>----------------------------------------------- | | | A four-digit number which identifies the Agent. A codebook for recognized Agents is kept at Railcomplete AS and published on its web pages. | | | | | | <DateTime>------------------------------------------------ | | | Time/date when the DNA was last updated. Format: "YYYY-MM-DD-Thh:mm+hh:mm" where the hh:mm after the '+' is time difference relative to GMT. | | | | | | <VersionNumber>------------------------------------------- | | | DNA Version number. Format: YYYY.xx. Eks: 2022.a or 2022.b etc. It is suggested to use a letter suffix for DNAs, and number suffic for RC application. | | </DnaIri>==================================================== | | | | <Description>------------------------------------------------ | | Text string with a short human-readable description of the DNA's contents. E.g., "RailCOMPLETE(r) Definition of Network Assets (DNA) for Bane NOR". | | | | <AdministrationName>----------------------------------------- | | The railway administration's name. | | | | <AgentName>-------------------------------------------------- | | The DNA Agent's name. | </DnaIdentification>============================================ | | <StyleDefinitions>---------------------------------------------- | Element containing style settings for the DNA, Linetypes, text styles etc. See further documentation below |