This content has been marked as final.
Show 2 replies
-
1. Re: CFxml and Prolog
kodemonki Apr 21, 2008 1:06 PM (in response to kodemonki)No one has had this problem using CF8 to generate XML? -
2. Re: CFxml and Prolog
kodemonki Apr 25, 2008 8:42 AM (in response to kodemonki)If I add the line: <?xml-stylesheet type="text/xsl" href="display.xsl"?> at the appropriate spot in the CF generated XML file and and go to www.mywebpage.com/myxmlfile.xml it will show up properly. Am I transforming the XML incorrectly?
<cfxml var="spreadsheet">
xml stuff
</cfxml>
<cffile nameconflict="overwrite" action="write" file="C:\Inetpub\wwwroot\internal\programs\dgim\spreadsheets\monthly\xml\create.xml" output="#toString(spreadsheet)#">
<cfset xmldoc = xmlParse("C:\Inetput\wwwroot\internal\programs\dgim\spreadhseets\monthly\xml\create.xml") >
<cffile action="read" file="C:\Inetpub\wwwroot\internal\programs\dgim\spreadsheets\monthly\xml\display.xsl" variable="xsl_trans">
#xmlTransform(xmldoc,xsl_trans)#
