Erules - XML Format 16.3.2023
Erules - XML Format 16.3.2023
2
Agenda
TIME SUBJECT
Introduction and the agenda presentation (Anna Ngu)
10:00 H – 10:05 H
Working with an EASA Easy Access Rules XML file (Steffen Frederiksen)
10:05 H – 11:30 H
------------------------------------------------------------------------------------------------
1. Opening in MS Word
a.Get an overview of the content
b.Edit
c.Save to other formats (e.g. HTML – with separate picture files, plain text, etc.)
------------------------------------------------------------------------------------------------
2. Opening in an XML editor
d.Show the package architecture
e.Use simple “Find” to locate the er:document element
f.Use an XPath expression to find the er:document element
g.Use an XPath expression to locate a topic content, using the sdt-id attribute
h.Identify the most relevant packages
------------------------------------------------------------------------------------------------
3. Using a simple XSLT program to remove unwanted packages and elements and keep the text
i. Walk through the XSLT example
j. Show result
------------------------------------------------------------------------------------------------
4. Using an XSLT program to extract the topics in separate XML files, using the values of ERulesId as file names
k. Walk through the XSLT example
l. Show result
------------------------------------------------------------------------------------------------
5. Using an XSLT program to transform from XML to JSON
m. Walk through the XSLT example
n. Show result
3
JavaScript Object Notation (JSON)
→ JSON, or JavaScript
Object Notation, is a
format used to
represent data. It was
introduced in the early
2000s as part of
JavaScript
4
Questions?
Stay informed - EASA Website
Interested in a specific Event?
Go to the event
https://www.easa.europa.eu/en/newsroom-and-events/events/e
asy-access-rules-machine-readable-format-xml-how-use-it
6