Not 100% sure, but my first guess would be an arrant blank line.


<cfxml variable="xmlString" casesensitive="true">
<DYNCONFIG>


<cfsavecontent variable="xmlString"><?xml version="1.0"
encoding="UTF-8" standalone="no"?>
<DYNCONFIG>


<cfset xmlString = '<?xml version="1.0" encoding="UTF-8"
standalone="no"?><DYNCONFIG><!-- Overrides the Input file name


The first two options each of these has a return at the end of the tag, this counts in the generated output and would put a blank line at the top of the file you are trying to create.  IIRC, this is not liked by XML parsers.  Try removing the return so that your XML starts on the same line as the <cfxml...> or the <cfsavecontent...> tag.  Hopefully that helps.


XML generation is one of the few places in ColdFusion where coding style visa-vis white space and returns matter.

--------------
Ian Skinner
Web Programmer
BloodSource
<file:///C:\Documents%20and%20Settings\iskinner\Application%20Data\Microsoft\Signatures\www.BloodSource.org> www.BloodSource.org <http://www.BloodSource.orgSacramento>
Sacramento, CA

"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to