Skip to content

Commit

Permalink
split still not working
Browse files Browse the repository at this point in the history
  • Loading branch information
joshualubell committed Nov 5, 2019
1 parent a128f3d commit 5ba099f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dita/plugins/gov.nist.scap.split/splitbuild.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<xslt basedir="${dita.output.dir}"
destdir="${dita.output.dir}"
extension="${out.ext}"
filedirparameter="destdir"
style=
"${dita.plugin.gov.nist.scap.split.dir}${file.separator}xsl${file.separator}split.xsl">
<ditafileset format="ditamap" processingRole="normal"/>
<param name="destdir" expression="${dita.output.dir}"/>
<xmlcatalog refid="dita.catalog"/>
</xslt>
</pipeline>
Expand Down
6 changes: 4 additions & 2 deletions dita/plugins/gov.nist.scap.split/xsl/split.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
version="2.0">

<xsl:output indent="yes" method="xml"/>
<xsl:param name="destdir" as="xs:anyURI"/>
<xsl:param name="destdir"/>

<xsl:function name="nist:filename" as="xs:string">
<xsl:param name="compid" as="xs:string"/>
Expand Down Expand Up @@ -53,9 +53,11 @@
<xsl:message>Entering sds:component</xsl:message>
<xsl:message>destdir=</xsl:message>
<xsl:message select="$destdir"/>
<xsl:message>@id=</xsl:message>
<xsl:message select="@id"/>
<xsl:message>nist:filename(@id)=</xsl:message>
<xsl:message select="nist:filename(@id)"/>
<xsl:result-document href="{$destdir}/{nist:filename(@id)}">
<xsl:result-document href="fn:concat($destdir, '/', nist:filename(@id))">
<xsl:message>Creating result document</xsl:message>
<xsl:apply-templates select="*"/>
</xsl:result-document>
Expand Down

0 comments on commit 5ba099f

Please sign in to comment.