http://68.32.61.40/ccbn/PressReleaseList.cfm
its subsequent/child one seems not,
for instance, http://68.32.61.40/ccbn/PressReleaseText.cfm?releaseID=309866
I'm not sure I like to deal with XSLT.
Thanks.
Don
P.S. I think I've posted CF code for these two scripts
> I am not sure what the problem is - could you restate the problem in
> another way?
>
> On Tue, 2004-02-17 at 10:49, Chunshen Li wrote:
> > 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),
>
> What second file? You lost 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>
> >
>
> xslt programing takes a bit of getting used to as it is a functional
> language not a procedural one. The templates match parts of the
> document
> and then apply more templates or mark up to those sections.
>
> Again though I am not sure what the problem is, can you post the
> error
> and what you are trying to do in another way.
>
> --
> 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]

