Navigating and Processing MEI Data with XPath and XSLT. Thomae, M. E., Roland, P., & Kepper, J. In Lewis, D., Plaksin, A., & Stremel, S., editors, Music Encoding Conference 2025 – Book of Abstracts, pages 219–221, 2025. Knowledge Commons. Workshop.
doi  abstract   bibtex   
This workshop is intended for individuals with some knowledge of MEI who want to learn how to work with XML markup for research and analysis. It provides a hands-on introduction to XPath, a powerful query language for XML documents, and XSLT, a language for transforming XML data. By engaging with XSLT's functional programming approach, participants will explore ways to articulate and investigate research questions rooted in an XML-based document model. The emphasis of our workshop is both processing data (or metadata) for MEI to MEI or MEI to HTML conversion, and extracting data (or metadata) from MEI documents for analysis. Markup in documents supplies structures and contexts that are especially useful for processing data beyond what we can do with "plain text." Most of the workshop will focus on learning basic XPath navigation and some calculation functions. After this, we will show how XPath is applied in XSLT templates to address specific elements that hold data of interest for visualization (e.g., notes) and exemplify some fundamental transformations. We will produce simple structured documents for storing, sharing, and visualising data during the workshop: HTML lists and TSV files. We look forward to processing some participant-supplied MEI before, during, and after the workshop. We will carefully document the XSLT we supply during the workshop to help participants revise and adapt the code to their projects.
@inproceedings{Thomae_2025,
  title = {{Navigating and Processing MEI Data with XPath and XSLT}},
  booktitle = {{Music Encoding Conference 2025 -- Book of Abstracts}},
  author = {Thomae, Martha E. and Roland, Perry and Kepper, Johannes},
  editor = {Lewis, David and Plaksin, Anna and Stremel, Sophie},
  year = {2025},
  pages = {219--221},
  publisher = {Knowledge Commons},
  doi = {10.17613/8mjs0-b0h87},
  urldate = {2025-07-09},
  abstract = {This workshop is intended for individuals with some knowledge of MEI who want to learn how to work with XML markup for research and analysis. It provides a hands-on introduction to XPath, a powerful query language for XML documents, and XSLT, a language for transforming XML data. By engaging with XSLT's functional programming approach, participants will explore ways to articulate and investigate research questions rooted in an XML-based document model. The emphasis of our workshop is both processing data (or metadata) for MEI to MEI or MEI to HTML conversion, and extracting data (or metadata) from MEI documents for analysis. Markup in documents supplies structures and contexts that are especially useful for processing data beyond what we can do with "plain text." Most of the workshop will focus on learning basic XPath navigation and some calculation functions. After this, we will show how XPath is applied in XSLT templates to address specific elements that hold data of interest for visualization (e.g., notes) and exemplify some fundamental transformations. We will produce simple structured documents for storing, sharing, and visualising data during the workshop: HTML lists and TSV files. We look forward to processing some participant-supplied MEI before, during, and after the workshop. We will carefully document the XSLT we supply during the workshop to help participants revise and adapt the code to their projects.},
  bibbase_note = {<span style="color: green; font-weight: bold">Workshop.</span>},
  keywords = {mec-proceedings, mec-proceedings-2025},
  displayby = {Contributions from MEC 2025}	
}

Downloads: 0