Skip to content

Commit

Permalink
Merge pull request #448 from ndw/iss-426
Browse files Browse the repository at this point in the history
Allow pre/post processing transforms to be passed from the command line
  • Loading branch information
ndw authored Jan 15, 2024
2 parents 9be63e0 + 33f9423 commit e8e7cfc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/xslt/docbook.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@
<xsl:when test=". instance of map(*)">
<xsl:sequence select="."/>
</xsl:when>
<xsl:when test=". instance of xs:string">
<xsl:when test=". instance of xs:string or . instance of xs:untypedAtomic">
<xsl:sequence select="map {
'stylesheet-location': resolve-uri(., base-uri(/))
'stylesheet-location': resolve-uri(., static-base-uri())
}"/>
</xsl:when>
<xsl:otherwise>
Expand All @@ -127,9 +127,9 @@
<xsl:when test=". instance of map(*)">
<xsl:sequence select="."/>
</xsl:when>
<xsl:when test=". instance of xs:string">
<xsl:when test=". instance of xs:string or . instance of xs:untypedAtomic">
<xsl:sequence select="map {
'stylesheet-location': resolve-uri(., base-uri(/))
'stylesheet-location': resolve-uri(., static-base-uri())
}"/>
</xsl:when>
<xsl:otherwise>
Expand Down Expand Up @@ -228,9 +228,9 @@
<xsl:when test=". instance of map(*)">
<xsl:sequence select="."/>
</xsl:when>
<xsl:when test=". instance of xs:string">
<xsl:when test=". instance of xs:string or . instance of xs:untypedAtomic">
<xsl:sequence select="map {
'stylesheet-location': resolve-uri(., base-uri(/))
'stylesheet-location': resolve-uri(., static-base-uri())
}"/>
</xsl:when>
<xsl:otherwise>
Expand Down

0 comments on commit e8e7cfc

Please sign in to comment.