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

XSLTs do not work without a valid login to https://projekte.kosit.org/xrechnung/xrechnung-visualization/functions #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lyra2108
Copy link

@Lyra2108 Lyra2108 commented Jan 8, 2025

and you also can not file an issue because you need a login for the same Repository....
Which seems impossible because only sign in is possible but not sign up...

image

I tried to use the xslts directly but I quite quickly run into troubles:
image

I checked the ant configuration and the documentation but I can not see any where how it is supposed to work without access to that file at https://projekte.kosit.org/xrechnung/xrechnung-visualization/functions. There seems to me no way to access amount-format. What am I missing here?

I would love to file an issue but there is no way on github and also no way to do that on your gitlab. Please point me to the correct way which I seem to miss at the moment.

Thank you very much for your help.

@lkumai
Copy link
Collaborator

lkumai commented Jan 23, 2025

The referred URL is not the location of the function file, it is the namespace. You can access the website https://projekte.kosit.org/xrechnung/xrechnung-visualization/ without any login, but you don't need it.
The line you marked is working within the bundle.

 <xsl:variable name="amount-picture" select="xrf:_('amount-format')" />

This line saves the value of the return of the function _ with the parameter value 'amount-format'. This function is defined in ll. 57. It returns the localized string which is related to the given string. This strings are stored in 'l10n/de.xml' and 'l10n/en.xml'.

If you have any further questions, please do not hesitate to contact us.

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

Successfully merging this pull request may close these issues.

2 participants