|
Subject: [xsl] Moving stylesheet from Java Saxon to .NET Saxon From: "Mark Wilson pubs@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 6 Apr 2017 16:51:34 -0000 |
<!--
Mark Wilson 25 March 2017
editor@xxxxxxxxxxxx <!-- Discard lines resulting from unwanted records -->
<xsl:strip-space elements="*"/> <!-- Create headings -->
<xsl:template match="recordList">
<xsl:text>priref	content.subject
</xsl:text>
<xsl:apply-templates/>
</xsl:template> <!-- Process only records with content.subject elements -->
<xsl:template match="record">
<xsl:if test="content.subject">
<xsl:apply-templates/>
</xsl:if>
</xsl:template> <!-- Process priref element -->
<xsl:template match="priref">
<xsl:value-of select="."/>
<!-- Tab for end of field -->
<xsl:text>	</xsl:text>
</xsl:template> <!-- Unwanted element sink -->
<xsl:template match="content.subject.lref"/>
<xsl:template match="content.description"/>
<xsl:template match="creator"/>
<xsl:template match="creator.lref"/>
<xsl:template match="creator.role.lref"/>
<xsl:template match="description_level"/>
<xsl:template match="diagnostic"/>
<xsl:template match="digital_reference"/>
<xsl:template match="digital_reference.description"/>
<xsl:template match="dimension.type"/>
<xsl:template match="dimension.type.lref"/>
<xsl:template match="dimension.notes"/>
<xsl:template match="dimension.part"/>
<xsl:template match="dimension.unit"/>
<xsl:template match="dimension.unit.lref"/>
<xsl:template match="dimension.value"/>
<xsl:template match="dimension.free"/>
<xsl:template match="object_number"/>
<xsl:template match="parts_reference"/>
<xsl:template match="parts_reference.lref"/>
<xsl:template match="part_of_reference"/>
<xsl:template match="part_of_reference.lref"/>
<xsl:template match="part_of.description_level"/>
<xsl:template match="part_of.notes"/>
<xsl:template match="part_of.title"/>
<xsl:template match="production.date.start"/>
<xsl:template match="production.date.end"/>
<xsl:template match="related_object.reference"/>
<xsl:template match="related_object.reference.lref"/>
<xsl:template match="reproduction.reference"/>
<xsl:template match="reproduction.reference.lref"/>
<xsl:template match="title"/>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] [ANN] Balisage Submissions du, Tommie Usdin btusdin | Thread | Re: [xsl] Moving stylesheet from Ja, Michael Kay mike@xxx |
| [xsl] [ANN] Balisage Submissions du, Tommie Usdin btusdin | Date | Re: [xsl] Moving stylesheet from Ja, Michael Kay mike@xxx |
| Month |