Skip to content

Diff+ XSLT HTML-output: file resolution to JS #1

@ebeshero

Description

@ebeshero

@Arithmeticus Happy to report that JS for the Venns is now working for me, but there's an odd XSLT issue.
$resolved-uri-to-diff-css points without issue to my saved output (tucked inside /applications), but none of the JS variables do. I've remedied it with a simple patch that works for me, but I'm not sure why the other variables don't succeed in resolving the way the CSS does.

My patch (works for me / highlights the problem variables):

 <xsl:variable name="resolved-uri-to-diff-css" as="xs:string"
        select="($resolved-uri-to-css-dir || 'diff.css')"/> 
<!-- ebb: The CSS variable is fine. -->
    <xsl:variable name="resolved-uri-to-TAN-js" as="xs:string"
        select="('../../' || $resolved-uri-to-js-dir || 'tan2020.js')"/>
    <xsl:variable name="resolved-uri-to-diff-js" as="xs:string"
        select="('../../' || $resolved-uri-to-js-dir || 'diff.js')"/>
    <xsl:variable name="resolved-uri-to-jquery" as="xs:string"
        select="('../../' || $resolved-uri-to-js-dir || 'jquery.js')"/>
    <xsl:variable name="resolved-uri-to-venn-js" as="xs:string"
        select="('../../' || $resolved-uri-to-js-dir || 'venn.js/venn.js')"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions