|
96 | 96 |
|
97 | 97 | <!-- Find repo-config to find collection style values and page stubs --> |
98 | 98 | <xsl:variable name="configPath"> |
| 99 | + <xsl:value-of select="'../components/repo-config.xml'"/> |
| 100 | + <!-- |
99 | 101 | <xsl:choose> |
100 | 102 | <xsl:when test="$applicationPath != ''"> |
101 | 103 | <xsl:value-of select="concat($applicationPath, '/siteGenerator/components/repo-config.xml')"/> |
|
104 | 106 | <xsl:value-of select="'../components/repo-config.xml'"/> |
105 | 107 | </xsl:otherwise> |
106 | 108 | </xsl:choose> |
| 109 | + --> |
107 | 110 | </xsl:variable> |
108 | 111 |
|
109 | 112 | <!-- Get configuration file. --> |
|
256 | 259 | </xsl:variable> |
257 | 260 | <xsl:variable name="nodes" select="//t:TEI | //rdf:RDF | *"/> |
258 | 261 | <xsl:for-each-group select="$path/child::*" group-by="."> |
259 | | - <xsl:message>Path: <xsl:value-of select="$path"/></xsl:message> |
| 262 | +<!-- <xsl:message>Path: <xsl:value-of select="$path"/></xsl:message>--> |
260 | 263 | <xsl:result-document href="{replace(.,'.xml','.html')}"> |
261 | 264 | <xsl:choose> |
262 | 265 | <xsl:when test="$fileType = 'HTML'"> |
|
314 | 317 | <xsl:variable name="collectionTemplate"> |
315 | 318 | <xsl:choose> |
316 | 319 | <xsl:when test="$idno != ''"> |
317 | | - <xsl:message> TEI record with an idno: <xsl:value-of select="$idno"/></xsl:message> |
| 320 | +<!-- <xsl:message> TEI record with an idno: <xsl:value-of select="$idno"/></xsl:message>--> |
318 | 321 | <xsl:variable name="templatePath" select="'../components/page.html'"/> |
319 | 322 | <!-- <xsl:variable name="templatePath" select="concat($staticSitePath,'/siteGenerator/components/page.html')"/>--> |
320 | 323 | <xsl:if test="doc-available(xs:anyURI($templatePath))"> |
321 | 324 | <xsl:sequence select="document(xs:anyURI($templatePath))"/> |
322 | 325 | </xsl:if> |
323 | 326 | </xsl:when> |
324 | 327 | <xsl:when test="$convert = 'false' and $outputFile != ''"> |
325 | | - <xsl:message>Generate new HTML page</xsl:message> |
| 328 | +<!-- <xsl:message>Generate new HTML page</xsl:message>--> |
326 | 329 | <xsl:variable name="templatePath"> |
327 | 330 | <xsl:choose> |
328 | 331 | <xsl:when test="$config/descendant::*:collection[@name = $outputCollection]/@template"> |
|
339 | 342 | </xsl:if> |
340 | 343 | </xsl:when> |
341 | 344 | <xsl:when test="$nodes/@data-template-with != ''"> |
342 | | - <xsl:message>Convert HTML from old format </xsl:message> |
| 345 | +<!-- <xsl:message>Convert HTML from old format </xsl:message>--> |
343 | 346 | <xsl:variable name="templatePath" select="concat($staticSitePath,'/siteGenerator/components/page.html')"/> |
344 | 347 | <xsl:if test="doc-available(xs:anyURI($templatePath))"> |
345 | 348 | <xsl:sequence select="document(xs:anyURI($templatePath))"/> |
346 | 349 | </xsl:if> |
347 | 350 | </xsl:when> |
348 | 351 | <xsl:otherwise> |
349 | | - <xsl:message>Find generic page.html template</xsl:message> |
| 352 | +<!-- <xsl:message>Find generic page.html template</xsl:message>--> |
350 | 353 | <xsl:variable name="templatePath" select="'../components/page.html'"/> |
351 | 354 | <xsl:if test="doc-available(xs:anyURI($templatePath))"> |
352 | 355 | <xsl:sequence select="document(xs:anyURI($templatePath))"/> |
|
0 commit comments