File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 463463 <xsl : copy-of select =" code/text()" />
464464 </xsl : otherwise >
465465 </xsl : choose ></code ></pre >
466+
466467 <xsl : if test =" html" >
467468 <h4 >Demo:</h4 >
468- <div ><xsl : choose >
469- <xsl : when test =" html" >
470- <xsl : attribute name =" class" >demo code-demo</xsl : attribute >
471- <xsl : if test =" height" >
472- <xsl : attribute name =" rel" ><xsl : value-of select =" height" /></xsl : attribute >
473- </xsl : if >
474- </xsl : when >
475- <xsl : otherwise >
476- <xsl : attribute name =" class" >demo</xsl : attribute >
477- </xsl : otherwise >
478- </xsl : choose >
479- </div >
469+ <div class =" demo code-demo" >
470+ <xsl : if test =" height" >
471+ <xsl : attribute name =" data-height" >
472+ <xsl : value-of select =" height" />
473+ </xsl : attribute >
474+ </xsl : if >
475+ </div >
480476 </xsl : if >
477+
481478 <xsl : if test =" results" >
482479 <h4 >Result:</h4 >
483- <pre >
484- <code class =" results" >
485- <xsl : value-of select =" results" />
486- </code >
487- </pre >
480+ <pre ><code class =" results" >
481+ <xsl : value-of select =" results" />
482+ </code ></pre >
488483 </xsl : if >
484+
489485 </div >
490486 </xsl : for-each >
491487 </div >
You can’t perform that action at this time.
0 commit comments