cfscript xmlparse path

I have a list of stories that is dynamically populated using coldfusion.  I want users to be able to click on the story link to view an xml file of the story.  It displays fine when the absolute path is used for the specific story, but how can I make that dynamic so I can output the story based on the link they selected on the previous page?  #storylink#
This is what I am using on the display page:

<cfscript>
parsedXML = xmlParse("c:\Inetpub\wwwroot\newupdates\story28.xml");
</cfscript>
dahlo1Asked:
Who is Participating?
 
DanielSKimCommented:
if all the xml files are in the newupdates directory:

<cfscript>
parsedXML = xmlParse("c:\Inetpub\wwwroot\newupdates\#storylink#.xml");
</cfscript>
0
 
dahlo1Author Commented:
Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.