Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EUPT XML
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
subugoe
EUPT
EUPT XML
Commits
9b6b4409
Commit
9b6b4409
authored
11 months ago
by
Max-Ferdinand Zeterberg
Browse files
Options
Downloads
Patches
Plain Diff
Revert "fix(generate-id): replace uuid:randomUUID() with generate-id()"
This reverts commit
543cd6b8
.
parent
543cd6b8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl
+3
-3
3 additions, 3 deletions
scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl
scenarios/xslt/edxml2html/libs/html-philology.lib.xsl
+4
-4
4 additions, 4 deletions
scenarios/xslt/edxml2html/libs/html-philology.lib.xsl
with
7 additions
and
7 deletions
scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl
+
3
−
3
View file @
9b6b4409
...
...
@@ -2,7 +2,7 @@
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tei=
"http://www.tei-c.org/ns/1.0"
xmlns:functx=
"http://www.functx.com"
xmlns=
"http://www.w3.org/1999/xhtml"
exclude-result-prefixes=
"xs"
version=
"2.0"
xmlns:uuid=
"java:java.util.UUID"
exclude-result-prefixes=
"xs"
version=
"2.0"
xpath-default-namespace=
"http://sub.uni-goettingen.de/edxml#"
>
<xsl:function
name=
"functx:substring-before-if-contains"
as=
"xs:string?"
>
...
...
@@ -96,7 +96,7 @@
</span>
<xsl:if
test=
"$correspondingNotes != ''"
>
<span>
<xsl:variable
name=
"noteIconId"
select=
"
generate-id
()"
/>
<xsl:variable
name=
"noteIconId"
select=
"
uuid:randomUUID
()"
/>
<label
for=
"{$noteIconId}"
class=
"notes-icon"
/>
<input
type=
"checkbox"
id=
"{$noteIconId}"
/>
</span>
...
...
@@ -152,7 +152,7 @@
<xsl:template
match=
"note"
>
<li
class=
"note-item"
>
<xsl:variable
name=
"noteItemId"
select=
"
generate-id
()"
/>
<xsl:variable
name=
"noteItemId"
select=
"
uuid:randomUUID
()"
/>
<label
for=
"{$noteItemId}"
>
<xsl:value-of
select=
"@type"
/>
</label>
...
...
This diff is collapsed.
Click to expand it.
scenarios/xslt/edxml2html/libs/html-philology.lib.xsl
+
4
−
4
View file @
9b6b4409
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tei=
"http://www.tei-c.org/ns/1.0"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:tei=
"http://www.tei-c.org/ns/1.0"
xmlns:uuid=
"java:java.util.UUID"
xmlns=
"http://www.w3.org/1999/xhtml"
exclude-result-prefixes=
"xs"
version=
"2.0"
xpath-default-namespace=
"http://sub.uni-goettingen.de/edxml#"
>
...
...
@@ -49,7 +49,7 @@
<xsl:apply-templates
select=
"*[not(self::notes)]"
/>
<div
class=
"notes section-tab"
>
<xsl:if
test=
"child::notes"
>
<xsl:variable
name=
"noteIconId"
select=
"
generate-id
()"
/>
<xsl:variable
name=
"noteIconId"
select=
"
uuid:randomUUID
()"
/>
<label
for=
"{$noteIconId}"
class=
"notes-icon"
/>
<input
type=
"checkbox"
id=
"{$noteIconId}"
/>
</xsl:if>
...
...
@@ -220,7 +220,7 @@
<xsl:for-each
select=
"$targetsUnique"
>
<li
class=
"note-list"
>
<xsl:variable
name=
"targetUnique"
select=
"."
/>
<xsl:variable
name=
"noteListId"
select=
"
generate-id($thisNotes
)"
/>
<xsl:variable
name=
"noteListId"
select=
"
uuid:randomUUID(
)"
/>
<label
for=
"{$noteListId}"
>
<xsl:variable
name=
"targetIds"
select=
"tokenize($targetUnique, ' ')"
/>
<xsl:for-each
select=
"$targetIds"
>
...
...
@@ -240,7 +240,7 @@
<xsl:template
match=
"philology//note"
>
<li
class=
"note-item"
>
<xsl:variable
name=
"noteItemId"
select=
"
generate-id
()"
/>
<xsl:variable
name=
"noteItemId"
select=
"
uuid:randomUUID
()"
/>
<label
for=
"{$noteItemId}"
>
<xsl:value-of
select=
"@type"
/>
</label>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment