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

Base-uri() in a Gaulois-pipe context #28

Open
jimetevenard opened this issue Sep 13, 2017 · 1 comment
Open

Base-uri() in a Gaulois-pipe context #28

jimetevenard opened this issue Sep 13, 2017 · 1 comment

Comments

@jimetevenard
Copy link

Hello,

When an XSL stylesheet is processed as the 2th or Nth step of a pipe, the return of base-uri() or base-uri(/) is always the empty sequence.
The reference to the initial file URI seems to be lost.

(cf. sample pipe attached)
base-uri-gaulois-pipe.zip

release 1.03.00

@cmarchand
Copy link
Owner

Yes I understand.
$[input-absolute] can be used, instead, no ?
input-absolute is an absolute path, as return by java.io.File.getAbsolutePath(), but this should be turn into a URI via

<xsl:variable name="base-uri" select="resolve-uri($input-absolute)"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants