When a topic is open in pdf/Word or OOXML, the regulatory source of the content is displayed as indicated by the arrow in the picture below. Where can I retrieve this information in the XML?
Answer
A topic content in XML will contain the text identifying the regulatory document introducing the topic or the last amendment thereto. However, the recommended way to retrieve that data is to extract it from the corresponding metadata ‘Regulatory source’ (please refer to EASA eRules XML Export Specification, Chapter 5.2 ‘Attribute topic-metadata — business description of the metadata’)
<er:topic sdt-id="-1455166071"
source-title="Article 7 Permit to fly"
ERulesId="ERULES-1963177438-3631"
Domain="Initial airworthiness;"
ActivityType=""
AircraftUse=""
AircraftCategory=""
AmendedBy=""
ApplicabilityDate=""
EntryIntoForceDate=""
EquivalentForeignRegulation=""
ICAOReference=""
Keywords=""
RegistryState=""
RegulatedEntity=""
RegulatorySource="Regulation (EU) No 748/2012"
RegulatorySubject="Part-21;Cover regulation;"
TechnicalSubjectMatter=""
TypeOfContent="IR (Implementing rule);"
ParentIR="Powers and recitals"
EASACategory=""/>