Created
November 16, 2015 20:13
-
-
Save davidamichelson/65f8f8892eb43c90ffce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
for $node in doc("/Users/davidmichelson/GitHub Repositories/srophe/draft-data/data/works/Zanetti_XSL_Conversion/ZanettiBiblFull.xml")//tei:bibl/text() | |
return analyze-string($node | |
, "[,]*\s*[p]\.(\s)*\w*[-]*\w*.*$") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment