![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
Lei Hu wrote:
> Hi everyone, > Can the following code > <CFFile Action="Write" > file="test.xml" > output="have a nice day" > > > create a xml file? Well, no since the output 'have a nice day' is not valid XML. Otherwise, if you output something like, let us say '<aRoot>have a nice day</aRoot>' -- or a variable that contained this --, that *was* bare minimum, valid XML data, then you would have an xml file. In other, less sarcastic, words. Yes <cffile ...> can write XML, or any other text based, data to a file with easy. It can even do something with binary files, but that takes more knowledge and has more restrictions. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise