Here is the code that I use. Right now I only have 1 log level, because I
am in development, but I expect to have at least 3 - Security & Errors,
Performance, and All:
Your first step is to CFDUMP XMLFile, this will give you a nice clear
picture of the structure (structure of a structure of an array etc.). Then
you can start to build up the correct syntax to refer to a specific element.
Heres a snippet of code that I worked out to read an RSS feed it might be
us
d be close.
-- Josh
- Original Message -
From: "Ben Dyer" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Friday, May 26, 2006 12:50 PM
Subject: Re: Using CFXML to Make a Log File
> OK, I've spent a lot of time looking at the documentation and it's pretty
> mu
OK, I've spent a lot of time looking at the documentation and it's pretty much
worthless to me. Doesn't explain a thing.
The CFXML is creating a standard RSS file that you'd find on any blog. I want
to insert a new and *ALL* of its child elements above any and all
current tags. The code be
OK, I've spent a lot of time looking at the documentation and it's
pretty much worthless to me. Doesn't explain a thing.
The CFXML is creating a standard RSS file that you'd find on any blog.
I want to insert a new and *ALL* of its child elements above
any and all current tags. The code below
You could probably use XmlChildPos and ArrayDeleteAt/ArrayInsertAt in some
combination - check the docs for specific usage.
-- Josh
- Original Message -
From: "Ben Dyer" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Friday, May 26, 2006 10:35 AM
Subject: Using CFXML to Make a Log File
> T
Does anybody have any suggestions? I hope I'm explaining myself well enough.
Thanks in advance for any help.
--Ben
To do what you want, you are going to have to load the file process the data in
memory then re-write the file.
If you can look at your file as a list, with some kind of delimit
7 matches
Mail list logo