variable from a writeoutput?
If I have this cfscript:
<cfscript>
myxmldoc = XmlParse("D:\pathtoxmlfile\editorial\#whichsection#\#Uploaded_Folder_Name#\#htmlFileName#");
selectedElements = XmlSearch(GetTheTitle, "/html/body/h1");
for (i = 1; i LTE ArrayLen(selectedElements); i = i + 1)
writeoutput(selectedElements.XmlText & "<br>");
</cfscript>
It writes the expected result to the page. I want to instead create a variable of the result instead.
