> I now believe both CFX_XSLT tag and MM's XmlTranform tag work, it's
> just that late last night, sort of new to this thing + late night
> (couldn't think straight), the URL I was using last night was invalid,
> and I failed to debug to see if the CFHTTP call is successful.
>
> Now,
>
> CF script (url.releaseID value is given by a previous link, which is
> ok)
> <cfhttp URL=""> > asp?compid=dsfds&reqid=#URL.releaseID#">
>
> <cffile action="" file="C:\mywebroot\ccbn\xsl\PressReleaseText.
> xsl" variable="ccbnxsl">
>
> debug:<br>
> <cfoutput>Length of raw data: #Len(cfhttp.FileContent)# <p>
> raw data:<br>
> #cfhttp.FileContent#
> </cfoutput>
> <p>
> xml transformed HTML output below:<br>
> <cfoutput>"#xmltransform(cfhttp.FileContent,ccbnxsl)#"</cfoutput>
>
> XSL file:
<!--''''''''''''> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> INCLUDES
''''''''''''''''> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-->
> <xsl:include href=""> >
<!--''''''''''''> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> OUTPUT MEHTOD
''''''''''''''''> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-->
> <xsl:output method="html" omit-xml-declaration="yes" indent="yes"
> standalone="no"/>
>
<!--'''''''''''''> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> MAIN TEMPLATE
''''''''''''''''> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-->
> <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>
>
<!--''''''''''''> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>
''''''''''''''''> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''-->
> </xsl:stylesheet>
>
>
> UA Results:
> IE6 failed to dispaly, Netscape6 display cfhttp call raw data, but xml
> transformed HTML nothing
>
> I sort of suspect the XSL file is culprit. Further thought? Thanks.
>
> > On Mon, 2004-02-16 at 20:18, Chunshen Li wrote:
> > > Now. Rob, both CFX_XSLT tag and MM's XmlTranform tag failed.
> Same
> > err msg as I posted before. What could be my best bet? Thanks.
> > >
> > > Don
> >
> > How are you passing them in can you post the code please
> >
> >
> > --
> > 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]

