Skip to content

XSLT Library to work with PAGE XML custom attributes

License

Notifications You must be signed in to change notification settings

subhh/pageattrlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Work with PAGE XML custom attributes

Copyright (c) 2021–2022 by State and University Library Hamburg and released under the terms of the MIT license.

Usage

The file pageattrlib.xsl defines a function and a named template to work with PAGE XML custom attributes.

fn:properties-to-map($properties as xs:string) as map(xs:string, map(xs:string, item()))

Returns a map with the custom attributes when called with the content of the @‍custom attribute as argument.

fn:properties-to-fs($properties as map(*)) as element(tei:fs)

Returns a tei:fs tree representing the content of the map.

Author

David Maus <[email protected]>

About

XSLT Library to work with PAGE XML custom attributes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages