Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow pre/post processing transforms to be passed from the command line #448

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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