Thanks, Rob, at the moment, probably I'm not in a desirable state to do debugging (forgetting simple things like view source code).

The "transformed" page display now is fine.  And I'm now looking at the starting XSL file,
part of it reads (looks a function within the given XSL file):
<xsl:template match="/">
<xsl:call-template name="GeneratePressReleaseList"/>  <!--page-level template-->
</xsl:template>

<!--'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-->
<xsl:template name="GeneratePressReleaseList">
<xsl:variable name="oXmlNewsReleases" select="/*/NewsReleases"/>
<xsl:variable name="oXmlFilteredReleases" select="$oXmlNewsReleases/[EMAIL PROTECTED] = $m_enumNewsCategory]/[EMAIL PROTECTED] = $m_enumArchiveStatus]"/>
...

while the second/child/detail XSL file's "equivalent" seems to have created a function but probably have not fully defined it (this is XSL programming, totally new to me),

which reads:
<xsl:template match="/">
<xsl:call-template name="GeneratePressReleaseText"/>  <!--page-level template-->
</xsl:template>

<!--'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-->
<xsl:template name="GeneratePressReleaseText">
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr class="modBgTblTtl">
<td valign="top" class="modTblTtl"><xsl:value-of select="/*/NewsReleaseText/Title"/></td>
</tr>
<tr class="">
<td valign="top" width="100%" class="modBodyText"><xsl:value-of select="/*/NewsReleaseText/ReleaseText" disable-output-escaping="yes"/></td>
</tr>
</table>
</xsl:template>




>Do a view source on the pages you sent (if you use IE you might have to
>use mozilla / firebird to test)
>
>those file need to be only the xsl file and the xml file - can have any
>extra stuff - no spaces at the beginning not nothing. Try doing that
>first. See some of the other posts in the thread on how do do it (dont
>use cfdump)
>
>
>--
>Vale,
>Rob
>
>Luxuria immodica insaniam creat.
>Sanam formam viatae conservate!
>
>http://www.rohanclan.com
>http://treebeard.sourceforge.net
>http://ashpool.sourceforge.net
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to