tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/272-display-data-definition-text-inside-of-pagesCascade CMS: Discussion 2018-10-18T20:36:08Ztag:help-archives.hannonhill.com,2010-02-09:Comment/41780652010-12-09T14:30:59Z2010-12-09T14:30:59Zdisplay data definition text inside of pages<div><p>Looks like, in the images stylesheet, you're matching on "image"
instead of "item"</p>
<p><xsl:apply-templates select="item"/> ... <xsl:template
match="item"></p></div>Eric L. Eppstag:help-archives.hannonhill.com,2010-02-09:Comment/41780652010-12-09T17:34:03Z2010-12-09T17:34:03Zdisplay data definition text inside of pages<div><p>Good eye, though it still isn't working.</p></div>Jefftag:help-archives.hannonhill.com,2010-02-09:Comment/41780652010-12-09T17:53:01Z2010-12-09T17:53:01Zdisplay data definition text inside of pages<div><p>That's what I get for responding before I've had my coffee. I
didn't look at your page configuration. Data definitions are
applied only to the DEFAULT region.</p>
<p>So you'll want to get rid of the "images" region and have your
XSLT generate the</p>
<div>tags.
<pre>
<code><?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes" method="xml" omit-xml-declaration="yes"/>
<xsl:template match="system-data-structure">
<xsl:apply-templates select="item"/>
</xsl:template>
<xsl:template match="item">
<div class="left-col">
<h1 id="page-title"><system-page-title/></h1>
<xsl:copy-of select="content/node()"/>
</div>
<div class="right-col">
<xsl:copy-of select="images/node()"/>
</div>
</xsl:template>
</xsl:stylesheet></code>
</pre></div></div>Eric L. Eppstag:help-archives.hannonhill.com,2010-02-09:Comment/41780652010-12-09T19:08:06Z2010-12-09T19:08:06Zdisplay data definition text inside of pages<div><p>That was it, thanks.</p></div>Jeff