Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oyvind.Gjesdal
xlsx-xsl
Commits
3bf96add
Commit
3bf96add
authored
Aug 27, 2019
by
ØyvindG
Browse files
add surrounding sheets root element
parent
bc39da28
Changes
1
Hide whitespace changes
Inline
Side-by-side
xlsx.xsl
View file @
3bf96add
...
...
@@ -3,7 +3,7 @@
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:arch=
"http://expath.org/ns/archive"
xmlns:saxon=
"http://saxon.sf.net/"
xmlns:file=
"http://expath.org/ns/file"
xmlns:ssml=
"http://schemas.openxmlformats.org/spreadsheetml/2006/main"
xmlns:flub=
"http://data.ub.uib.no/ns/function-library/"
exclude-result-prefixes=
"xs"
xmlns:flub=
"http://data.ub.uib.no/ns/function-library/"
exclude-result-prefixes=
"xs
flub ssml file saxon arch
"
version=
"2.0"
>
<xsl:import
href=
"xsl-lib/functions/OOXML/spreadsheetML.xsl"
/>
...
...
@@ -29,10 +29,8 @@
<xsl:output
indent=
"yes"
/>
<xsl:param
name=
"xslx"
select=
"'file:/Z:/0/oyvind/wab2ontology/other/sraffa/Salento%20Sraffa_pocket%20diaries.xlsx'"
/>
<xsl:param
name=
"starting-row"
select=
"'4'"
/>
select=
"'file:/C:/Users/ogj077/prev_ogj077/ogj077/Repos/marcus/flytt/input/Plassering.xlsx'"
/>
<xsl:param
name=
"starting-row"
select=
"'1'"
/>
<xsl:key
name=
"element-name"
match=
"name"
use=
"@r"
/>
<xsl:variable
name=
"missing_title"
select=
"'missing_title'"
/>
...
...
@@ -45,7 +43,7 @@
</xsl:variable>
<!-- <xsl:sequence select="$construct-rows"></xsl:sequence>
-->
<sheets>
<xsl:for-each
select=
"$construct-rows"
>
<!-- construct one element names tables for each workbook sheet, which is tunneled to subcontext-->
<xsl:variable
name=
"element-names"
>
...
...
@@ -71,7 +69,7 @@
</xsl:apply-templates>
</sheet>
</xsl:for-each>
</sheets>
</xsl:template>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment