TEIC / TEI

The Text Encoding Initiative Guidelines
https://www.tei-c.org
Other
279 stars 88 forks source link

use of `<ref>` where `<ptr>` more appropriate #2175

Closed sydb closed 3 years ago

sydb commented 3 years ago

There are just over a dozen instances in the GLs of <ref> for which the value of @target is the same as the content of the <ref>.[1] These should almost certainly be <ptr> instead.

So I ran an XSLT program to look for them, taking white space normalization and the possibility that an ultimate character (like a / or a #) might be different, but the values would be the same, anyway.[2]

There are 14 of them in 7 files.[3] Since there are so few, my plan is to just edit each by hand, then re-build the HTML and see if the results are the same.

The only question is what to do when the URL only has a host, not a file. (Or, to be technically correct, has an authority component and the path component is empty.) My understanding is that http://www.example.edu is technically more correct than http://www.example.edu/, but I think the latter looks so much better, I am inclined to use it anyway. Thoughts?

Notes

[1] Run the XPath 1.0 expression count( //t:ref[@target=.] ) over p5.xml to test. Note that this is only looking for exact matches without space-normalization. There might be a few more if you normalize white space first or strip off the last character before comparison. [2] Just to make my life a little easier I copied P5/Source/Guidelines/en/*.xml and P5/Source/Specs/*.xml into a temporary directory, and then ran the following XSLT on that directory using Saxon.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:tei="http://www.tei-c.org/ns/1.0"  exclude-result-prefixes="#all"
  xmlns="http://www.tei-c.org/ns/1.0"
  xpath-default-namespace="http://www.tei-c.org/ns/1.0"
  version="3.0">

  <xsl:output method="text"/>
  <xsl:mode on-no-match="shallow-skip"/>

  <xsl:template match="/">
    <xsl:sequence select="'---------'||base-uri(/)||':&#x0A;'"/>
    <xsl:apply-templates select="//tei:ref[@target]"/>
  </xsl:template>

  <xsl:template match="tei:ref[@target]">
    <xsl:variable name="content" select="normalize-space(.)"/>
    <xsl:variable name="target" select="normalize-space(@target)"/>
    <xsl:if test="
      $content eq $target
      or
      $content eq substring( $target, 1, string-length($target)-1 )
      or
      substring( $content, 1, string-length($content)-1 ) eq $target
      ">
      <xsl:sequence select="'&#x0A; '
        ||path(.)
        ||'&#x0A;    '
        ||$content
        ||'&#x0A;    '
        ||$target
        ||'&#x0A;&#x0A;'"/>
    </xsl:if>
  </xsl:template>

</xsl:stylesheet>

The result is 879 tiny little files, which when joined with perl -pe 's,Q.http://www.tei-c.org/ns/1.0.,,g;' /path/to/temp/output/* > /path/to/output/file.txt gave me the end result in [3]. [3] Where they are:

---------file:/tmp/P5src/AB-About.xml:

 /div[1]/div[1]/div[1]/p[1]/ref[1]
    https://tools.ietf.org/html/bcp14
    https://tools.ietf.org/html/bcp14

---------file:/tmp/P5src/abbr.xml:
---------file:/tmp/P5src/abstract.xml:
---------file:/tmp/P5src/ab.xml:
---------file:/tmp/P5src/accMat.xml:
---------file:/tmp/P5src/acquisition.xml:
---------file:/tmp/P5src/activity.xml:
---------file:/tmp/P5src/actor.xml:
---------file:/tmp/P5src/additional.xml:
---------file:/tmp/P5src/additions.xml:
---------file:/tmp/P5src/addName.xml:
---------file:/tmp/P5src/address.xml:
---------file:/tmp/P5src/addrLine.xml:
---------file:/tmp/P5src/addSpan.xml:
---------file:/tmp/P5src/add.xml:
---------file:/tmp/P5src/adminInfo.xml:
---------file:/tmp/P5src/affiliation.xml:
---------file:/tmp/P5src/age.xml:
---------file:/tmp/P5src/AI-AnalyticMechanisms.xml:
---------file:/tmp/P5src/alternate.xml:
---------file:/tmp/P5src/altGrp.xml:
---------file:/tmp/P5src/altIdentifier.xml:
---------file:/tmp/P5src/altIdent.xml:
---------file:/tmp/P5src/alt.xml:
---------file:/tmp/P5src/am.xml:
---------file:/tmp/P5src/analytic.xml:
---------file:/tmp/P5src/anchor.xml:
---------file:/tmp/P5src/annotationBlock.xml:
---------file:/tmp/P5src/annotation.xml:
---------file:/tmp/P5src/anyElement.xml:
---------file:/tmp/P5src/appInfo.xml:
---------file:/tmp/P5src/application.xml:
---------file:/tmp/P5src/app.xml:
---------file:/tmp/P5src/arc.xml:
---------file:/tmp/P5src/argument.xml:
---------file:/tmp/P5src/att.anchoring.xml:
---------file:/tmp/P5src/att.ascribed.directed.xml:
---------file:/tmp/P5src/att.ascribed.xml:
---------file:/tmp/P5src/att.breaking.xml:
---------file:/tmp/P5src/att.canonical.xml:
---------file:/tmp/P5src/att.citeStructurePart.xml:
---------file:/tmp/P5src/att.citing.xml:
---------file:/tmp/P5src/att.combinable.xml:
---------file:/tmp/P5src/att.coordinated.xml:
---------file:/tmp/P5src/att.cReferencing.xml:
---------file:/tmp/P5src/att.damaged.xml:
---------file:/tmp/P5src/att.datable.custom.xml:
---------file:/tmp/P5src/att.datable.iso.xml:
---------file:/tmp/P5src/att.datable.w3c.xml:
---------file:/tmp/P5src/att.datable.xml:
---------file:/tmp/P5src/att.datcat.xml:

 /classSpec[1]/desc[1]/ref[1]
    http://www.isocat.org/
    http://www.isocat.org/

 /classSpec[1]/desc[2]/ref[1]
    http://www.isocat.org/
    http://www.isocat.org/

 /classSpec[1]/remarks[1]/p[1]/ref[1]
    http://www.isocat.org/12620/
    http://www.isocat.org/12620/

 /classSpec[1]/remarks[2]/p[1]/ref[1]
    https://www.iso.org/standard/37243.html
    https://www.iso.org/standard/37243.html

---------file:/tmp/P5src/att.declarable.xml:
---------file:/tmp/P5src/att.declaring.xml:
---------file:/tmp/P5src/attDef.xml:
---------file:/tmp/P5src/att.deprecated.xml:
---------file:/tmp/P5src/att.dimensions.xml:
---------file:/tmp/P5src/att.divLike.xml:
---------file:/tmp/P5src/att.docStatus.xml:
---------file:/tmp/P5src/att.duration.iso.xml:
---------file:/tmp/P5src/att.duration.w3c.xml:
---------file:/tmp/P5src/att.duration.xml:
---------file:/tmp/P5src/att.edition.xml:
---------file:/tmp/P5src/att.editLike.xml:
---------file:/tmp/P5src/att.enjamb.xml:
---------file:/tmp/P5src/att.entryLike.xml:
---------file:/tmp/P5src/att.formula.xml:
---------file:/tmp/P5src/att.fragmentable.xml:
---------file:/tmp/P5src/att.gaijiProp.xml:
---------file:/tmp/P5src/att.global.analytic.xml:
---------file:/tmp/P5src/att.global.change.xml:
---------file:/tmp/P5src/att.global.facs.xml:
---------file:/tmp/P5src/att.global.linking.xml:
---------file:/tmp/P5src/att.global.rendition.xml:
---------file:/tmp/P5src/att.global.responsibility.xml:
---------file:/tmp/P5src/att.global.source.xml:
---------file:/tmp/P5src/att.global.xml:
---------file:/tmp/P5src/att.handFeatures.xml:
---------file:/tmp/P5src/att.identified.xml:
---------file:/tmp/P5src/att.internetMedia.xml:
---------file:/tmp/P5src/att.interpLike.xml:
---------file:/tmp/P5src/att.lexicographic.normalized.xml:
---------file:/tmp/P5src/att.lexicographic.xml:
---------file:/tmp/P5src/att.linguistic.xml:
---------file:/tmp/P5src/attList.xml:
---------file:/tmp/P5src/att.locatable.xml:
---------file:/tmp/P5src/att.measurement.xml:
---------file:/tmp/P5src/att.media.xml:
---------file:/tmp/P5src/att.metrical.xml:
---------file:/tmp/P5src/att.milestoneUnit.xml:
---------file:/tmp/P5src/att.msClass.xml:
---------file:/tmp/P5src/att.msExcerpt.xml:
---------file:/tmp/P5src/att.namespaceable.xml:
---------file:/tmp/P5src/att.naming.xml:
---------file:/tmp/P5src/att.notated.xml:
---------file:/tmp/P5src/att.partials.xml:
---------file:/tmp/P5src/att.patternReplacement.xml:
---------file:/tmp/P5src/att.personal.xml:
---------file:/tmp/P5src/att.placement.xml:
---------file:/tmp/P5src/att.pointing.group.xml:
---------file:/tmp/P5src/att.pointing.xml:
---------file:/tmp/P5src/att.predicate.xml:
---------file:/tmp/P5src/att.ranging.xml:
---------file:/tmp/P5src/att.rdgPart.xml:
---------file:/tmp/P5src/attRef.xml:
---------file:/tmp/P5src/att.repeatable.xml:
---------file:/tmp/P5src/att.resourced.xml:
---------file:/tmp/P5src/att.scoping.xml:
---------file:/tmp/P5src/att.segLike.xml:
---------file:/tmp/P5src/att.sortable.xml:
---------file:/tmp/P5src/att.spanning.xml:
---------file:/tmp/P5src/att.styleDef.xml:
---------file:/tmp/P5src/att.tableDecoration.xml:
---------file:/tmp/P5src/att.textCritical.xml:
---------file:/tmp/P5src/att.timed.xml:
---------file:/tmp/P5src/att.transcriptional.xml:
---------file:/tmp/P5src/att.translatable.xml:
---------file:/tmp/P5src/att.typed.xml:
---------file:/tmp/P5src/att.witnessed.xml:
---------file:/tmp/P5src/att.written.xml:
---------file:/tmp/P5src/att.xml:
---------file:/tmp/P5src/authority.xml:
---------file:/tmp/P5src/author.xml:
---------file:/tmp/P5src/availability.xml:
---------file:/tmp/P5src/back.xml:
---------file:/tmp/P5src/BIB-Bibliography.xml:

 /div[1]/div[1]/listBibl[1]/bibl[87]/ref[1]
    http://poinikastas.csad.ox.ac.uk
    http://poinikastas.csad.ox.ac.uk/

 /div[1]/div[1]/listBibl[1]/bibl[154]/ref[1]
    http://diglib.hab.de/edoc/ed000216/start.htm
    http://diglib.hab.de/edoc/ed000216/start.htm

 /div[1]/div[1]/listBibl[1]/bibl[208]/ref[1]
    http://id.nii.ac.jp/1632/00015761/
    http://id.nii.ac.jp/1632/00015761/

 /div[1]/div[1]/listBibl[1]/bibl[247]/ref[1]
    http://www.ancientwisdoms.ac.uk/
    http://www.ancientwisdoms.ac.uk/

 /div[1]/div[1]/listBibl[1]/bibl[293]/ref[1]
    http://lalzimman.com/bio.html
    http://lalzimman.com/bio.html

---------file:/tmp/P5src/biblFull.xml:
---------file:/tmp/P5src/biblScope.xml:
---------file:/tmp/P5src/biblStruct.xml:
---------file:/tmp/P5src/bibl.xml:
---------file:/tmp/P5src/bicond.xml:
---------file:/tmp/P5src/binaryObject.xml:
---------file:/tmp/P5src/binary.xml:
---------file:/tmp/P5src/bindingDesc.xml:
---------file:/tmp/P5src/binding.xml:
---------file:/tmp/P5src/birth.xml:
---------file:/tmp/P5src/bloc.xml:
---------file:/tmp/P5src/body.xml:
---------file:/tmp/P5src/broadcast.xml:
---------file:/tmp/P5src/byline.xml:
---------file:/tmp/P5src/caesura.xml:
---------file:/tmp/P5src/calendarDesc.xml:
---------file:/tmp/P5src/calendar.xml:
---------file:/tmp/P5src/camera.xml:
---------file:/tmp/P5src/caption.xml:
---------file:/tmp/P5src/case.xml:
---------file:/tmp/P5src/castGroup.xml:
---------file:/tmp/P5src/castItem.xml:
---------file:/tmp/P5src/castList.xml:
---------file:/tmp/P5src/catchwords.xml:
---------file:/tmp/P5src/catDesc.xml:
---------file:/tmp/P5src/category.xml:
---------file:/tmp/P5src/catRef.xml:
---------file:/tmp/P5src/cb.xml:
---------file:/tmp/P5src/CC-LanguageCorpora.xml:
---------file:/tmp/P5src/CE-CertaintyResponsibility.xml:
---------file:/tmp/P5src/cell.xml:
---------file:/tmp/P5src/certainty.xml:
---------file:/tmp/P5src/change.xml:
---------file:/tmp/P5src/channel.xml:
---------file:/tmp/P5src/charDecl.xml:
---------file:/tmp/P5src/charName.xml:
---------file:/tmp/P5src/charProp.xml:
---------file:/tmp/P5src/char.xml:
---------file:/tmp/P5src/CH-LanguagesCharacterSets.xml:
---------file:/tmp/P5src/choice.xml:
---------file:/tmp/P5src/citeData.xml:
---------file:/tmp/P5src/citedRange.xml:
---------file:/tmp/P5src/citeStructure.xml:
---------file:/tmp/P5src/cit.xml:
---------file:/tmp/P5src/classCode.xml:
---------file:/tmp/P5src/classDecl.xml:
---------file:/tmp/P5src/classes.xml:
---------file:/tmp/P5src/classRef.xml:
---------file:/tmp/P5src/classSpec.xml:
---------file:/tmp/P5src/climate.xml:
---------file:/tmp/P5src/closer.xml:
---------file:/tmp/P5src/cl.xml:
---------file:/tmp/P5src/CO-CoreElements.xml:
---------file:/tmp/P5src/code.xml:
---------file:/tmp/P5src/COL-Colophon.xml:
---------file:/tmp/P5src/collation.xml:
---------file:/tmp/P5src/collection.xml:
---------file:/tmp/P5src/colloc.xml:
---------file:/tmp/P5src/colophon.xml:
---------file:/tmp/P5src/condition.xml:
---------file:/tmp/P5src/cond.xml:
---------file:/tmp/P5src/constitution.xml:
---------file:/tmp/P5src/constraintSpec.xml:
---------file:/tmp/P5src/constraint.xml:
---------file:/tmp/P5src/content.xml:
---------file:/tmp/P5src/conversion.xml:
---------file:/tmp/P5src/correction.xml:
---------file:/tmp/P5src/correspAction.xml:
---------file:/tmp/P5src/correspContext.xml:
---------file:/tmp/P5src/correspDesc.xml:
---------file:/tmp/P5src/corr.xml:
---------file:/tmp/P5src/country.xml:
---------file:/tmp/P5src/creation.xml:
---------file:/tmp/P5src/cRefPattern.xml:
---------file:/tmp/P5src/custEvent.xml:
---------file:/tmp/P5src/custodialHist.xml:
---------file:/tmp/P5src/c.xml:
---------file:/tmp/P5src/damageSpan.xml:
---------file:/tmp/P5src/damage.xml:
---------file:/tmp/P5src/dataFacet.xml:
---------file:/tmp/P5src/dataRef.xml:
---------file:/tmp/P5src/dataSpec.xml:
---------file:/tmp/P5src/datatype.xml:
---------file:/tmp/P5src/dateline.xml:
---------file:/tmp/P5src/date.xml:
---------file:/tmp/P5src/death.xml:
---------file:/tmp/P5src/decoDesc.xml:
---------file:/tmp/P5src/decoNote.xml:
---------file:/tmp/P5src/Dedication.xml:
---------file:/tmp/P5src/defaultVal.xml:
---------file:/tmp/P5src/default.xml:
---------file:/tmp/P5src/def.xml:
---------file:/tmp/P5src/delSpan.xml:
---------file:/tmp/P5src/del.xml:
---------file:/tmp/P5src/DEPRECATIONS.xml:
---------file:/tmp/P5src/depth.xml:
---------file:/tmp/P5src/derivation.xml:
---------file:/tmp/P5src/desc.xml:
---------file:/tmp/P5src/dictScrap.xml:
---------file:/tmp/P5src/dimensions.xml:
---------file:/tmp/P5src/dim.xml:
---------file:/tmp/P5src/DI-PrintDictionaries.xml:
---------file:/tmp/P5src/distinct.xml:
---------file:/tmp/P5src/distributor.xml:
---------file:/tmp/P5src/district.xml:
---------file:/tmp/P5src/div1.xml:
---------file:/tmp/P5src/div2.xml:
---------file:/tmp/P5src/div3.xml:
---------file:/tmp/P5src/div4.xml:
---------file:/tmp/P5src/div5.xml:
---------file:/tmp/P5src/div6.xml:
---------file:/tmp/P5src/div7.xml:
---------file:/tmp/P5src/divGen.xml:
---------file:/tmp/P5src/div.xml:
---------file:/tmp/P5src/docAuthor.xml:
---------file:/tmp/P5src/docDate.xml:
---------file:/tmp/P5src/docEdition.xml:
---------file:/tmp/P5src/docImprint.xml:
---------file:/tmp/P5src/docTitle.xml:
---------file:/tmp/P5src/domain.xml:
---------file:/tmp/P5src/DR-PerformanceTexts.xml:
---------file:/tmp/P5src/DS-DefaultTextStructure.xml:
---------file:/tmp/P5src/editionStmt.xml:
---------file:/tmp/P5src/edition.xml:
---------file:/tmp/P5src/editorialDecl.xml:
---------file:/tmp/P5src/editor.xml:
---------file:/tmp/P5src/education.xml:
---------file:/tmp/P5src/eg.xml:
---------file:/tmp/P5src/egXML.xml:
---------file:/tmp/P5src/eLeaf.xml:
---------file:/tmp/P5src/elementRef.xml:
---------file:/tmp/P5src/elementSpec.xml:
---------file:/tmp/P5src/ellipsis.xml:
---------file:/tmp/P5src/email.xml:
---------file:/tmp/P5src/emph.xml:
---------file:/tmp/P5src/empty.xml:
---------file:/tmp/P5src/encodingDesc.xml:
---------file:/tmp/P5src/entryFree.xml:
---------file:/tmp/P5src/entry.xml:
---------file:/tmp/P5src/epigraph.xml:
---------file:/tmp/P5src/epilogue.xml:
---------file:/tmp/P5src/equipment.xml:
---------file:/tmp/P5src/equiv.xml:
---------file:/tmp/P5src/eraseme.xml:
---------file:/tmp/P5src/eTree.xml:
---------file:/tmp/P5src/etym.xml:
---------file:/tmp/P5src/event.xml:
---------file:/tmp/P5src/exemplum.xml:
---------file:/tmp/P5src/expan.xml:
---------file:/tmp/P5src/explicit.xml:
---------file:/tmp/P5src/extent.xml:
---------file:/tmp/P5src/ex.xml:
---------file:/tmp/P5src/facsimile.xml:
---------file:/tmp/P5src/factuality.xml:
---------file:/tmp/P5src/faith.xml:
---------file:/tmp/P5src/fDecl.xml:
---------file:/tmp/P5src/fDescr.xml:
---------file:/tmp/P5src/figDesc.xml:
---------file:/tmp/P5src/figure.xml:
---------file:/tmp/P5src/fileDesc.xml:
---------file:/tmp/P5src/filiation.xml:
---------file:/tmp/P5src/finalRubric.xml:
---------file:/tmp/P5src/fLib.xml:
---------file:/tmp/P5src/floatingText.xml:
---------file:/tmp/P5src/floruit.xml:
---------file:/tmp/P5src/FM1-IntroductoryNote.xml:
---------file:/tmp/P5src/foliation.xml:
---------file:/tmp/P5src/foreign.xml:
---------file:/tmp/P5src/forename.xml:
---------file:/tmp/P5src/forest.xml:
---------file:/tmp/P5src/formula.xml:
---------file:/tmp/P5src/form.xml:
---------file:/tmp/P5src/front.xml:
---------file:/tmp/P5src/fsConstraints.xml:
---------file:/tmp/P5src/fsdDecl.xml:
---------file:/tmp/P5src/fsDecl.xml:
---------file:/tmp/P5src/fsDescr.xml:
---------file:/tmp/P5src/fsdLink.xml:
---------file:/tmp/P5src/FS-FeatureStructures.xml:
---------file:/tmp/P5src/fs.xml:
---------file:/tmp/P5src/FT-TablesFormulaeGraphics.xml:
---------file:/tmp/P5src/funder.xml:
---------file:/tmp/P5src/fvLib.xml:
---------file:/tmp/P5src/fw.xml:
---------file:/tmp/P5src/f.xml:
---------file:/tmp/P5src/gap.xml:
---------file:/tmp/P5src/gb.xml:
---------file:/tmp/P5src/GD-GraphsNetworksTrees.xml:
---------file:/tmp/P5src/genName.xml:
---------file:/tmp/P5src/gen.xml:
---------file:/tmp/P5src/geoDecl.xml:
---------file:/tmp/P5src/geogFeat.xml:
---------file:/tmp/P5src/geogName.xml:
---------file:/tmp/P5src/geo.xml:
---------file:/tmp/P5src/gi.xml:
---------file:/tmp/P5src/gloss.xml:
---------file:/tmp/P5src/glyphName.xml:
---------file:/tmp/P5src/glyph.xml:
---------file:/tmp/P5src/gramGrp.xml:
---------file:/tmp/P5src/gram.xml:

 /elementSpec[1]/attList[1]/attDef[1]/remarks[1]/p[1]/ref[1]
    http://www.isocat.org
    http://www.isocat.org

---------file:/tmp/P5src/graphic.xml:
---------file:/tmp/P5src/graph.xml:
---------file:/tmp/P5src/group.xml:
---------file:/tmp/P5src/g.xml:
---------file:/tmp/P5src/handDesc.xml:
---------file:/tmp/P5src/handNotes.xml:
---------file:/tmp/P5src/handNote.xml:
---------file:/tmp/P5src/handShift.xml:
---------file:/tmp/P5src/HD-Header.xml:
---------file:/tmp/P5src/headItem.xml:
---------file:/tmp/P5src/headLabel.xml:
---------file:/tmp/P5src/head.xml:
---------file:/tmp/P5src/height.xml:
---------file:/tmp/P5src/heraldry.xml:
---------file:/tmp/P5src/history.xml:
---------file:/tmp/P5src/hi.xml:
---------file:/tmp/P5src/hom.xml:
---------file:/tmp/P5src/hyphenation.xml:
---------file:/tmp/P5src/hyph.xml:
---------file:/tmp/P5src/ident.xml:
---------file:/tmp/P5src/idno.xml:
---------file:/tmp/P5src/iff.xml:
---------file:/tmp/P5src/if.xml:
---------file:/tmp/P5src/imprimatur.xml:
---------file:/tmp/P5src/imprint.xml:
---------file:/tmp/P5src/incident.xml:
---------file:/tmp/P5src/incipit.xml:
---------file:/tmp/P5src/index.xml:
---------file:/tmp/P5src/iNode.xml:
---------file:/tmp/P5src/institution.xml:
---------file:/tmp/P5src/interaction.xml:
---------file:/tmp/P5src/interpGrp.xml:
---------file:/tmp/P5src/interpretation.xml:
---------file:/tmp/P5src/interp.xml:
---------file:/tmp/P5src/item.xml:
---------file:/tmp/P5src/iType.xml:
---------file:/tmp/P5src/joinGrp.xml:
---------file:/tmp/P5src/join.xml:
---------file:/tmp/P5src/keywords.xml:
---------file:/tmp/P5src/kinesic.xml:
---------file:/tmp/P5src/label.xml:
---------file:/tmp/P5src/lacunaEnd.xml:
---------file:/tmp/P5src/lacunaStart.xml:
---------file:/tmp/P5src/langKnowledge.xml:
---------file:/tmp/P5src/langKnown.xml:
---------file:/tmp/P5src/language.xml:
---------file:/tmp/P5src/langUsage.xml:
---------file:/tmp/P5src/lang.xml:
---------file:/tmp/P5src/layoutDesc.xml:
---------file:/tmp/P5src/layout.xml:
---------file:/tmp/P5src/lbl.xml:
---------file:/tmp/P5src/lb.xml:
---------file:/tmp/P5src/leaf.xml:
---------file:/tmp/P5src/lem.xml:
---------file:/tmp/P5src/lg.xml:
---------file:/tmp/P5src/licence.xml:
---------file:/tmp/P5src/line.xml:
---------file:/tmp/P5src/linkGrp.xml:
---------file:/tmp/P5src/link.xml:
---------file:/tmp/P5src/listAnnotation.xml:
---------file:/tmp/P5src/listApp.xml:
---------file:/tmp/P5src/listBibl.xml:
---------file:/tmp/P5src/listChange.xml:
---------file:/tmp/P5src/listEvent.xml:
---------file:/tmp/P5src/listForest.xml:
---------file:/tmp/P5src/listNym.xml:
---------file:/tmp/P5src/listObject.xml:
---------file:/tmp/P5src/listOrg.xml:
---------file:/tmp/P5src/listPerson.xml:
---------file:/tmp/P5src/listPlace.xml:
---------file:/tmp/P5src/listPrefixDef.xml:
---------file:/tmp/P5src/listRef.xml:
---------file:/tmp/P5src/listRelation.xml:
---------file:/tmp/P5src/listTranspose.xml:
---------file:/tmp/P5src/listWit.xml:
---------file:/tmp/P5src/list.xml:
---------file:/tmp/P5src/locale.xml:
---------file:/tmp/P5src/localName.xml:
---------file:/tmp/P5src/localProp.xml:
---------file:/tmp/P5src/location.xml:
---------file:/tmp/P5src/locusGrp.xml:
---------file:/tmp/P5src/locus.xml:
---------file:/tmp/P5src/l.xml:
---------file:/tmp/P5src/macro.limitedContent.xml:
---------file:/tmp/P5src/macro.paraContent.xml:
---------file:/tmp/P5src/macro.phraseSeq.limited.xml:
---------file:/tmp/P5src/macro.phraseSeq.xml:
---------file:/tmp/P5src/macroRef.xml:
---------file:/tmp/P5src/macro.specialPara.xml:
---------file:/tmp/P5src/macroSpec.xml:
---------file:/tmp/P5src/macro.xtext.xml:
---------file:/tmp/P5src/mapping.xml:
---------file:/tmp/P5src/material.xml:
---------file:/tmp/P5src/measureGrp.xml:
---------file:/tmp/P5src/measure.xml:
---------file:/tmp/P5src/media.xml:
---------file:/tmp/P5src/meeting.xml:
---------file:/tmp/P5src/memberOf.xml:
---------file:/tmp/P5src/mentioned.xml:
---------file:/tmp/P5src/metamark.xml:
---------file:/tmp/P5src/metDecl.xml:
---------file:/tmp/P5src/metSym.xml:
---------file:/tmp/P5src/milestone.xml:
---------file:/tmp/P5src/model.addressLike.xml:
---------file:/tmp/P5src/model.addrPart.xml:
---------file:/tmp/P5src/model.annotationLike.xml:
---------file:/tmp/P5src/model.annotationPart.body.xml:
---------file:/tmp/P5src/model.applicationLike.xml:
---------file:/tmp/P5src/model.attributable.xml:
---------file:/tmp/P5src/model.availabilityPart.xml:
---------file:/tmp/P5src/model.biblLike.xml:
---------file:/tmp/P5src/model.biblPart.xml:
---------file:/tmp/P5src/model.castItemPart.xml:
---------file:/tmp/P5src/model.catDescPart.xml:
---------file:/tmp/P5src/model.certLike.xml:
---------file:/tmp/P5src/model.choicePart.xml:
---------file:/tmp/P5src/model.common.xml:
---------file:/tmp/P5src/model.contentPart.xml:
---------file:/tmp/P5src/model.correspActionPart.xml:
---------file:/tmp/P5src/model.correspContextPart.xml:
---------file:/tmp/P5src/model.correspDescPart.xml:
---------file:/tmp/P5src/model.dateLike.xml:
---------file:/tmp/P5src/model.descLike.xml:
---------file:/tmp/P5src/model.describedResource.xml:
---------file:/tmp/P5src/model.dimLike.xml:
---------file:/tmp/P5src/model.div1Like.xml:
---------file:/tmp/P5src/model.div2Like.xml:
---------file:/tmp/P5src/model.div3Like.xml:
---------file:/tmp/P5src/model.div4Like.xml:
---------file:/tmp/P5src/model.div5Like.xml:
---------file:/tmp/P5src/model.div6Like.xml:
---------file:/tmp/P5src/model.div7Like.xml:
---------file:/tmp/P5src/model.divBottomPart.xml:
---------file:/tmp/P5src/model.divBottom.xml:
---------file:/tmp/P5src/model.divGenLike.xml:
---------file:/tmp/P5src/model.divLike.xml:
---------file:/tmp/P5src/model.divPart.spoken.xml:
---------file:/tmp/P5src/model.divPart.xml:
---------file:/tmp/P5src/model.divTopPart.xml:
---------file:/tmp/P5src/model.divTop.xml:
---------file:/tmp/P5src/model.divWrapper.xml:
---------file:/tmp/P5src/model.editorialDeclPart.xml:
---------file:/tmp/P5src/model.egLike.xml:
---------file:/tmp/P5src/model.emphLike.xml:
---------file:/tmp/P5src/model.encodingDescPart.xml:
---------file:/tmp/P5src/model.entryLike.xml:
---------file:/tmp/P5src/model.entryPart.top.xml:
---------file:/tmp/P5src/model.entryPart.xml:
---------file:/tmp/P5src/model.eventLike.xml:
---------file:/tmp/P5src/model.featureVal.complex.xml:
---------file:/tmp/P5src/model.featureVal.single.xml:
---------file:/tmp/P5src/model.featureVal.xml:
---------file:/tmp/P5src/model.formPart.xml:
---------file:/tmp/P5src/model.frontPart.drama.xml:
---------file:/tmp/P5src/model.frontPart.xml:
---------file:/tmp/P5src/model.fsdDeclPart.xml:
---------file:/tmp/P5src/model.gLike.xml:
---------file:/tmp/P5src/model.global.edit.xml:
---------file:/tmp/P5src/model.global.meta.xml:
---------file:/tmp/P5src/model.global.spoken.xml:
---------file:/tmp/P5src/model.global.xml:
---------file:/tmp/P5src/model.glossLike.xml:
---------file:/tmp/P5src/model.gramPart.xml:
---------file:/tmp/P5src/model.graphicLike.xml:
---------file:/tmp/P5src/modelGrp.xml:
---------file:/tmp/P5src/model.headLike.xml:
---------file:/tmp/P5src/model.highlighted.xml:
---------file:/tmp/P5src/model.hiLike.xml:
---------file:/tmp/P5src/model.imprintPart.xml:
---------file:/tmp/P5src/model.inter.xml:
---------file:/tmp/P5src/model.labelLike.xml:
---------file:/tmp/P5src/model.lexicalRefinement.xml:
---------file:/tmp/P5src/model.limitedPhrase.xml:
---------file:/tmp/P5src/model.linePart.xml:
---------file:/tmp/P5src/model.listLike.xml:
---------file:/tmp/P5src/model.lLike.xml:
---------file:/tmp/P5src/model.lPart.xml:
---------file:/tmp/P5src/model.measureLike.xml:
---------file:/tmp/P5src/model.milestoneLike.xml:
---------file:/tmp/P5src/model.morphLike.xml:
---------file:/tmp/P5src/model.msItemPart.xml:
---------file:/tmp/P5src/model.msQuoteLike.xml:
---------file:/tmp/P5src/model.nameLike.agent.xml:
---------file:/tmp/P5src/model.nameLike.xml:
---------file:/tmp/P5src/model.noteLike.xml:
---------file:/tmp/P5src/model.objectLike.xml:
---------file:/tmp/P5src/model.oddDecl.xml:
---------file:/tmp/P5src/model.oddRef.xml:
---------file:/tmp/P5src/model.offsetLike.xml:
---------file:/tmp/P5src/model.orgPart.xml:
---------file:/tmp/P5src/model.orgStateLike.xml:
---------file:/tmp/P5src/model.persNamePart.xml:
---------file:/tmp/P5src/model.personLike.xml:
---------file:/tmp/P5src/model.personPart.xml:
---------file:/tmp/P5src/model.persStateLike.xml:
---------file:/tmp/P5src/model.phrase.xml:
---------file:/tmp/P5src/model.phrase.xml.xml:
---------file:/tmp/P5src/model.physDescPart.xml:
---------file:/tmp/P5src/model.placeLike.xml:
---------file:/tmp/P5src/model.placeNamePart.xml:
---------file:/tmp/P5src/model.placeStateLike.xml:
---------file:/tmp/P5src/model.pLike.front.xml:
---------file:/tmp/P5src/model.pLike.xml:
---------file:/tmp/P5src/model.pPart.data.xml:
---------file:/tmp/P5src/model.pPart.editorial.xml:
---------file:/tmp/P5src/model.pPart.edit.xml:
---------file:/tmp/P5src/model.pPart.msdesc.xml:
---------file:/tmp/P5src/model.pPart.transcriptional.xml:
---------file:/tmp/P5src/model.profileDescPart.xml:
---------file:/tmp/P5src/model.ptrLike.form.xml:
---------file:/tmp/P5src/model.ptrLike.xml:
---------file:/tmp/P5src/model.publicationStmtPart.agency.xml:
---------file:/tmp/P5src/model.publicationStmtPart.detail.xml:
---------file:/tmp/P5src/model.quoteLike.xml:
---------file:/tmp/P5src/model.rdgLike.xml:
---------file:/tmp/P5src/model.rdgPart.xml:
---------file:/tmp/P5src/model.recordingPart.xml:
---------file:/tmp/P5src/model.resource.xml:
---------file:/tmp/P5src/model.respLike.xml:
---------file:/tmp/P5src/model.segLike.xml:
---------file:/tmp/P5src/modelSequence.xml:
---------file:/tmp/P5src/model.settingPart.xml:
---------file:/tmp/P5src/model.sourceDescPart.xml:
---------file:/tmp/P5src/model.specDescLike.xml:
---------file:/tmp/P5src/model.stageLike.xml:
---------file:/tmp/P5src/model.standOffPart.xml:
---------file:/tmp/P5src/model.teiHeaderPart.xml:
---------file:/tmp/P5src/model.textDescPart.xml:
---------file:/tmp/P5src/model.titlepagePart.xml:
---------file:/tmp/P5src/model.xml:
---------file:/tmp/P5src/moduleRef.xml:
---------file:/tmp/P5src/moduleSpec.xml:
---------file:/tmp/P5src/mod.xml:
---------file:/tmp/P5src/monogr.xml:
---------file:/tmp/P5src/mood.xml:
---------file:/tmp/P5src/move.xml:
---------file:/tmp/P5src/msContents.xml:
---------file:/tmp/P5src/msDesc.xml:
---------file:/tmp/P5src/msFrag.xml:
---------file:/tmp/P5src/msIdentifier.xml:
---------file:/tmp/P5src/msItemStruct.xml:
---------file:/tmp/P5src/msItem.xml:
---------file:/tmp/P5src/MS-ManuscriptDescription.xml:
---------file:/tmp/P5src/msName.xml:
---------file:/tmp/P5src/msPart.xml:
---------file:/tmp/P5src/musicNotation.xml:
---------file:/tmp/P5src/m.xml:
---------file:/tmp/P5src/nameLink.xml:
---------file:/tmp/P5src/namespace.xml:
---------file:/tmp/P5src/name.xml:
---------file:/tmp/P5src/nationality.xml:
---------file:/tmp/P5src/ND-NamesDates.xml:
---------file:/tmp/P5src/NH-Non-hierarchical.xml:
---------file:/tmp/P5src/node.xml:
---------file:/tmp/P5src/normalization.xml:
---------file:/tmp/P5src/notatedMusic.xml:
---------file:/tmp/P5src/noteGrp.xml:
---------file:/tmp/P5src/notesStmt.xml:
---------file:/tmp/P5src/note.xml:
---------file:/tmp/P5src/number.xml:
---------file:/tmp/P5src/numeric.xml:
---------file:/tmp/P5src/num.xml:
---------file:/tmp/P5src/nym.xml:
---------file:/tmp/P5src/objectDesc.xml:
---------file:/tmp/P5src/objectIdentifier.xml:
---------file:/tmp/P5src/objectName.xml:
---------file:/tmp/P5src/objectType.xml:
---------file:/tmp/P5src/object.xml:
---------file:/tmp/P5src/occupation.xml:
---------file:/tmp/P5src/offset.xml:
---------file:/tmp/P5src/opener.xml:
---------file:/tmp/P5src/oRef.xml:
---------file:/tmp/P5src/orgName.xml:
---------file:/tmp/P5src/org.xml:
---------file:/tmp/P5src/origDate.xml:
---------file:/tmp/P5src/origin.xml:
---------file:/tmp/P5src/origPlace.xml:
---------file:/tmp/P5src/orig.xml:
---------file:/tmp/P5src/orth.xml:
---------file:/tmp/P5src/outputRendition.xml:
---------file:/tmp/P5src/paramList.xml:
---------file:/tmp/P5src/paramSpec.xml:
---------file:/tmp/P5src/param.xml:
---------file:/tmp/P5src/particDesc.xml:
---------file:/tmp/P5src/PARTIND.xml:
---------file:/tmp/P5src/path.xml:
---------file:/tmp/P5src/pause.xml:
---------file:/tmp/P5src/pb.xml:
---------file:/tmp/P5src/pc.xml:
---------file:/tmp/P5src/performance.xml:
---------file:/tmp/P5src/persName.xml:
---------file:/tmp/P5src/persona.xml:
---------file:/tmp/P5src/personGrp.xml:
---------file:/tmp/P5src/person.xml:
---------file:/tmp/P5src/persPronouns.xml:
---------file:/tmp/P5src/per.xml:
---------file:/tmp/P5src/PH-PrimarySources.xml:
---------file:/tmp/P5src/phr.xml:
---------file:/tmp/P5src/physDesc.xml:
---------file:/tmp/P5src/placeName.xml:
---------file:/tmp/P5src/place.xml:
---------file:/tmp/P5src/population.xml:
---------file:/tmp/P5src/postBox.xml:
---------file:/tmp/P5src/postCode.xml:
---------file:/tmp/P5src/postscript.xml:
---------file:/tmp/P5src/pos.xml:
---------file:/tmp/P5src/precision.xml:
---------file:/tmp/P5src/PrefatoryNote.xml:
---------file:/tmp/P5src/prefixDef.xml:
---------file:/tmp/P5src/pRef.xml:
---------file:/tmp/P5src/preparedness.xml:
---------file:/tmp/P5src/principal.xml:
---------file:/tmp/P5src/profileDesc.xml:
---------file:/tmp/P5src/projectDesc.xml:
---------file:/tmp/P5src/prologue.xml:
---------file:/tmp/P5src/pron.xml:
---------file:/tmp/P5src/provenance.xml:
---------file:/tmp/P5src/ptr.xml:
---------file:/tmp/P5src/publicationStmt.xml:
---------file:/tmp/P5src/publisher.xml:
---------file:/tmp/P5src/pubPlace.xml:
---------file:/tmp/P5src/punctuation.xml:
---------file:/tmp/P5src/purpose.xml:
---------file:/tmp/P5src/p.xml:
---------file:/tmp/P5src/quotation.xml:
---------file:/tmp/P5src/quote.xml:
---------file:/tmp/P5src/q.xml:
---------file:/tmp/P5src/rb.xml:
---------file:/tmp/P5src/rdgGrp.xml:
---------file:/tmp/P5src/rdg.xml:
---------file:/tmp/P5src/recordHist.xml:
---------file:/tmp/P5src/recordingStmt.xml:
---------file:/tmp/P5src/recording.xml:
---------file:/tmp/P5src/redo.xml:
---------file:/tmp/P5src/REF-ATTRIBUTES.xml:
---------file:/tmp/P5src/REF-CLASSES-ATTS.xml:
---------file:/tmp/P5src/REF-CLASSES-MODEL.xml:
---------file:/tmp/P5src/REF-ELEMENTS.xml:

 /div[1]/div[1]/p[2]/ref[1]
    http://www.tei-c.org/ns/1.0
    http://www.tei-c.org/ns/1.0

---------file:/tmp/P5src/REF-MACROS.xml:
---------file:/tmp/P5src/refsDecl.xml:
---------file:/tmp/P5src/refState.xml:
---------file:/tmp/P5src/ref.xml:
---------file:/tmp/P5src/region.xml:
---------file:/tmp/P5src/reg.xml:
---------file:/tmp/P5src/relatedItem.xml:
---------file:/tmp/P5src/relation.xml:
---------file:/tmp/P5src/remarks.xml:
---------file:/tmp/P5src/rendition.xml:
---------file:/tmp/P5src/repository.xml:
---------file:/tmp/P5src/residence.xml:
---------file:/tmp/P5src/respons.xml:
---------file:/tmp/P5src/respStmt.xml:
---------file:/tmp/P5src/resp.xml:
---------file:/tmp/P5src/restore.xml:
---------file:/tmp/P5src/retrace.xml:
---------file:/tmp/P5src/revisionDesc.xml:
---------file:/tmp/P5src/re.xml:
---------file:/tmp/P5src/rhyme.xml:
---------file:/tmp/P5src/roleDesc.xml:
---------file:/tmp/P5src/roleName.xml:
---------file:/tmp/P5src/role.xml:
---------file:/tmp/P5src/root.xml:
---------file:/tmp/P5src/row.xml:
---------file:/tmp/P5src/rs.xml:
---------file:/tmp/P5src/rt.xml:
---------file:/tmp/P5src/rubric.xml:
---------file:/tmp/P5src/ruby.xml:
---------file:/tmp/P5src/said.xml:
---------file:/tmp/P5src/SA-LinkingSegmentationAlignment.xml:

 /div[1]/div[2]/div[3]/p[9]/ref[1]
    http://www.iana.org/assignments/uri-schemes.html
    http://www.iana.org/assignments/uri-schemes.html

---------file:/tmp/P5src/salute.xml:
---------file:/tmp/P5src/samplingDecl.xml:
---------file:/tmp/P5src/schemaRef.xml:
---------file:/tmp/P5src/schemaSpec.xml:
---------file:/tmp/P5src/scriptDesc.xml:
---------file:/tmp/P5src/scriptNote.xml:
---------file:/tmp/P5src/scriptStmt.xml:
---------file:/tmp/P5src/sealDesc.xml:
---------file:/tmp/P5src/seal.xml:
---------file:/tmp/P5src/secFol.xml:
---------file:/tmp/P5src/secl.xml:
---------file:/tmp/P5src/segmentation.xml:
---------file:/tmp/P5src/seg.xml:
---------file:/tmp/P5src/sense.xml:
---------file:/tmp/P5src/sequence.xml:
---------file:/tmp/P5src/seriesStmt.xml:
---------file:/tmp/P5src/series.xml:
---------file:/tmp/P5src/settingDesc.xml:
---------file:/tmp/P5src/setting.xml:
---------file:/tmp/P5src/settlement.xml:
---------file:/tmp/P5src/set.xml:
---------file:/tmp/P5src/sex.xml:
---------file:/tmp/P5src/SG-GentleIntroduction.xml:
---------file:/tmp/P5src/shift.xml:
---------file:/tmp/P5src/sic.xml:
---------file:/tmp/P5src/signatures.xml:
---------file:/tmp/P5src/signed.xml:
---------file:/tmp/P5src/soCalled.xml:
---------file:/tmp/P5src/socecStatus.xml:
---------file:/tmp/P5src/sound.xml:
---------file:/tmp/P5src/sourceDesc.xml:
---------file:/tmp/P5src/sourceDoc.xml:
---------file:/tmp/P5src/source.xml:
---------file:/tmp/P5src/space.xml:
---------file:/tmp/P5src/spanGrp.xml:
---------file:/tmp/P5src/span.xml:
---------file:/tmp/P5src/speaker.xml:
---------file:/tmp/P5src/specDesc.xml:
---------file:/tmp/P5src/specGrpRef.xml:
---------file:/tmp/P5src/specGrp.xml:
---------file:/tmp/P5src/specList.xml:
---------file:/tmp/P5src/spGrp.xml:
---------file:/tmp/P5src/sponsor.xml:
---------file:/tmp/P5src/sp.xml:
---------file:/tmp/P5src/stage.xml:
---------file:/tmp/P5src/stamp.xml:
---------file:/tmp/P5src/standOff.xml:
---------file:/tmp/P5src/state.xml:
---------file:/tmp/P5src/stdVals.xml:
---------file:/tmp/P5src/ST-Infrastructure.xml:
---------file:/tmp/P5src/street.xml:
---------file:/tmp/P5src/stress.xml:
---------file:/tmp/P5src/string.xml:
---------file:/tmp/P5src/styleDefDecl.xml:
---------file:/tmp/P5src/subc.xml:
---------file:/tmp/P5src/substJoin.xml:
---------file:/tmp/P5src/subst.xml:
---------file:/tmp/P5src/summary.xml:
---------file:/tmp/P5src/superEntry.xml:
---------file:/tmp/P5src/supplied.xml:
---------file:/tmp/P5src/supportDesc.xml:
---------file:/tmp/P5src/support.xml:
---------file:/tmp/P5src/surfaceGrp.xml:
---------file:/tmp/P5src/surface.xml:
---------file:/tmp/P5src/surname.xml:
---------file:/tmp/P5src/surplus.xml:
---------file:/tmp/P5src/surrogates.xml:
---------file:/tmp/P5src/s.xml:
---------file:/tmp/P5src/syll.xml:
---------file:/tmp/P5src/symbol.xml:
---------file:/tmp/P5src/table.xml:
---------file:/tmp/P5src/tagsDecl.xml:
---------file:/tmp/P5src/tagUsage.xml:
---------file:/tmp/P5src/tag.xml:
---------file:/tmp/P5src/taxonomy.xml:
---------file:/tmp/P5src/TC-CriticalApparatus.xml:
---------file:/tmp/P5src/TD-DocumentationElements.xml:
---------file:/tmp/P5src/tech.xml:
---------file:/tmp/P5src/teiCorpus.xml:
---------file:/tmp/P5src/teidata.authority.xml:
---------file:/tmp/P5src/teidata.certainty.xml:
---------file:/tmp/P5src/teidata.count.xml:
---------file:/tmp/P5src/teidata.duration.iso.xml:
---------file:/tmp/P5src/teidata.duration.w3c.xml:
---------file:/tmp/P5src/teidata.enumerated.xml:
---------file:/tmp/P5src/teidata.interval.xml:
---------file:/tmp/P5src/teidata.key.xml:
---------file:/tmp/P5src/teidata.language.xml:
---------file:/tmp/P5src/teidata.namespaceOrName.xml:
---------file:/tmp/P5src/teidata.namespace.xml:
---------file:/tmp/P5src/teidata.name.xml:
---------file:/tmp/P5src/teidata.nullOrName.xml:
---------file:/tmp/P5src/teidata.numeric.xml:
---------file:/tmp/P5src/teidata.outputMeasurement.xml:
---------file:/tmp/P5src/teidata.pattern.xml:
---------file:/tmp/P5src/teidata.pointer.xml:
---------file:/tmp/P5src/teidata.point.xml:
---------file:/tmp/P5src/teidata.prefix.xml:
---------file:/tmp/P5src/teidata.probability.xml:
---------file:/tmp/P5src/teidata.probCert.xml:
---------file:/tmp/P5src/teidata.replacement.xml:
---------file:/tmp/P5src/teidata.sex.xml:
---------file:/tmp/P5src/teidata.temporal.iso.xml:
---------file:/tmp/P5src/teidata.temporal.w3c.xml:
---------file:/tmp/P5src/teidata.temporal.working.xml:
---------file:/tmp/P5src/teidata.text.xml:
---------file:/tmp/P5src/teidata.truthValue.xml:
---------file:/tmp/P5src/teidata.unboundedInt.xml:
---------file:/tmp/P5src/teidata.versionNumber.xml:
---------file:/tmp/P5src/teidata.version.xml:
---------file:/tmp/P5src/teidata.word.xml:
---------file:/tmp/P5src/teidata.xmlName.xml:
---------file:/tmp/P5src/teidata.xpath.xml:
---------file:/tmp/P5src/teidata.xTruthValue.xml:
---------file:/tmp/P5src/teiHeader.xml:
---------file:/tmp/P5src/TEI.xml:
---------file:/tmp/P5src/term.xml:
---------file:/tmp/P5src/terrain.xml:
---------file:/tmp/P5src/textClass.xml:
---------file:/tmp/P5src/textDesc.xml:
---------file:/tmp/P5src/textLang.xml:
---------file:/tmp/P5src/textNode.xml:
---------file:/tmp/P5src/text.xml:
---------file:/tmp/P5src/then.xml:
---------file:/tmp/P5src/timeline.xml:
---------file:/tmp/P5src/time.xml:
---------file:/tmp/P5src/TitlePageVerso.xml:
---------file:/tmp/P5src/titlePage.xml:
---------file:/tmp/P5src/titlePart.xml:
---------file:/tmp/P5src/titleStmt.xml:
---------file:/tmp/P5src/title.xml:
---------file:/tmp/P5src/tns.xml:
---------file:/tmp/P5src/trailer.xml:
---------file:/tmp/P5src/trait.xml:
---------file:/tmp/P5src/transcriptionDesc.xml:
---------file:/tmp/P5src/transpose.xml:
---------file:/tmp/P5src/tree.xml:
---------file:/tmp/P5src/triangle.xml:
---------file:/tmp/P5src/TS-TranscriptionsofSpeech.xml:
---------file:/tmp/P5src/typeDesc.xml:
---------file:/tmp/P5src/typeNote.xml:
---------file:/tmp/P5src/unclear.xml:
---------file:/tmp/P5src/undo.xml:
---------file:/tmp/P5src/unicodeName.xml:
---------file:/tmp/P5src/unicodeProp.xml:
---------file:/tmp/P5src/unihanProp.xml:
---------file:/tmp/P5src/unitDecl.xml:
---------file:/tmp/P5src/unitDef.xml:
---------file:/tmp/P5src/unit.xml:
---------file:/tmp/P5src/USE.xml:

 /div[1]/div[4]/div[1]/p[1]/ref[1]
    http://www.w3.org/TR/xml/
    http://www.w3.org/TR/xml/

---------file:/tmp/P5src/usg.xml:
---------file:/tmp/P5src/u.xml:
---------file:/tmp/P5src/valDesc.xml:
---------file:/tmp/P5src/valItem.xml:
---------file:/tmp/P5src/valList.xml:
---------file:/tmp/P5src/vAlt.xml:
---------file:/tmp/P5src/value.xml:
---------file:/tmp/P5src/val.xml:
---------file:/tmp/P5src/variantEncoding.xml:
---------file:/tmp/P5src/vColl.xml:
---------file:/tmp/P5src/vDefault.xml:
---------file:/tmp/P5src/VE-Verse.xml:
---------file:/tmp/P5src/view.xml:
---------file:/tmp/P5src/vLabel.xml:
---------file:/tmp/P5src/vMerge.xml:
---------file:/tmp/P5src/vNot.xml:
---------file:/tmp/P5src/vocal.xml:
---------file:/tmp/P5src/vRange.xml:
---------file:/tmp/P5src/watermark.xml:
---------file:/tmp/P5src/WD-NonStandardCharacters.xml:
---------file:/tmp/P5src/when.xml:
---------file:/tmp/P5src/width.xml:
---------file:/tmp/P5src/witDetail.xml:
---------file:/tmp/P5src/witEnd.xml:
---------file:/tmp/P5src/witness.xml:
---------file:/tmp/P5src/witStart.xml:
---------file:/tmp/P5src/wit.xml:
---------file:/tmp/P5src/writing.xml:
---------file:/tmp/P5src/w.xml:
---------file:/tmp/P5src/xenoData.xml:
---------file:/tmp/P5src/xr.xml:
---------file:/tmp/P5src/zone.xml:
lb42 commented 3 years ago

The perl fiddling is necessary, I assume, because the filename of the gl chapters cannot be reliably derived from an attribute of its root element, as used to-be the case before the so-called user friendly filenames were introduced. Why not retrofit those names as values of @n on the root element to save doing this sort of hackery in the future?

sydb commented 3 years ago

Nope. The perl-fiddling is to get rid of the namespaces that XSLT sticks in front of every element. (I know they are in the TEI namespace, those are the only ones I matched; I did not look for examples namespace ones; maybe I should.) It was quite a pain, actually. The filename is obtained with base-uri(/). If you really only want the filename, rather than the whole path, use something like base-uri(/)!tokenize(.,'/')[last()].

sydb commented 3 years ago

Fix applied, seemd to be fine in my local build. Closing this ticket. If Mr. Jenkins objects, will re-open.