tweet.xsl
parent
256a1a3c2e
commit
30cd7775f3
|
@ -34,6 +34,9 @@
|
||||||
<p>at <time><xsl:value-of select="created_at" /></time></p>
|
<p>at <time><xsl:value-of select="created_at" /></time></p>
|
||||||
</main>
|
</main>
|
||||||
<section>
|
<section>
|
||||||
|
<xsl:variable name="threadid" select="thread/id[1]" />
|
||||||
|
<xsl:variable name="threadpath" select="concat('../../thread/', $threadid, '/thread.xml')" />
|
||||||
|
<xsl:if test="thread/id"><a href="{$threadpath}">view as thread</a></xsl:if>
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="tweet-thread">
|
<ul class="tweet-thread">
|
||||||
<xsl:for-each select="thread/id">
|
<xsl:for-each select="thread/id">
|
||||||
|
|
Loading…
Reference in New Issue