This content has been marked as final. Show 6 replies
> Is this possible, if so what would be the best way to accomplish this with an
> xml file?
Read the CF docs here:
And the xpath and XSL stuff here:
(Is there an echo in this forum?)
You could do it in a sequence like:
- <cffile action="read"> to read the xml file
- find and edit an element
- <cffile action="write"> to save the xml file
WHAT do I use to find and edit an element? I'v enever done this with xml at all, so this is all new to me.
In this example we change the value of the BSN attribute of a name element from 2 to 5.
BKBK, thank you, that's what I'm trying to do, but I'm not sure how to get down to the level my data is at, it's buried a few layers deeper than that.
My BSN is in the attributes of the Indianaform which is three levels down. how do I navigae to that?
Instead of employee in your example, I have
and I need to change the BSN attribute in the Indiana form element
Nevermind, I figured out how to navigate to that line.