Hehe, great! :)
26. Mars 2014 16:07 skrev "Romain Deltour" <notifications@github.com>
følgende:

> In fileset-utils/src/main/resources/xml/xslt/fileset-move.xsl:
>
> > +<xsl:stylesheet exclude-result-prefixes="#all" version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pf="http://www.daisy.org/ns/pipeline/functions"
> > +    xmlns:d="http://www.daisy.org/ns/pipeline/data" xmlns:xs="http://www.w3.org/2001/XMLSchema">
> > +
> > +    <xsl:import href="http://www.daisy.org/pipeline/modules/file-utils/uri-functions.xsl"/>
> > +
> > +    <xsl:param name="new-base" required="yes"/>
> > +
> > +    <xsl:template match="/*">
> > +        <xsl:copy>
> > +            <xsl:copy-of select="@*"/>
> > +            <xsl:attribute name="xml:base" select="$new-base"/>
> > +            <xsl:for-each select="d:file">
> > +                <xsl:copy>
> > +                    <xsl:copy-of select="@*[not(name()='xml:base')]"/>
> > +                    <xsl:if test="@xml:base">
> > +                        <xsl:attribute name="href" select="pf:relativize-uri(resolve-uri(@href,base-uri(.)),base-uri(/*))"/>
>
> OK, I'm sold! :)
> In that case I'm OK if the @xml:base are removed and the URIs
> relativized, it makes more sense IMO.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/daisy-consortium/pipeline-modules-common/pull/51/files#r10980256>
> .
>