cf xml toolkit: Using If I use a xml file as my datasource I can query but
not insert.  I would like to be able to insert to a "file".

I am using:
<CF_XMLDatasource name="Employees" Type="File"
Filename="#GetDirectoryFromPath(GetCurrentTemplatePath())#/employees.xml">

<!--- Set the fields to be used from the form --->
<cfset myVars = "id,firstName,lastName,title,datestarted,salary,department">

<!--- Insert the values from the form, into the document --->
<CF_XMLInsert datasource="employees" nodeName="employee" fields="#myVars#">


Can I insert to a "file"? If so can I get a working example?


Thanks.
[EMAIL PROTECTED]


-----------------------+
cf-xml mailing list
http://torchbox.com/xml/list.cfm

Reply via email to