Highlighted

How to insert data into XML file?

Explorer ,
Jun 26, 2014

Copy link to clipboard

Copied

Hi Guys,

How to insert information into a XML file. I explain to you, I have a CFM file with some questions to user

When the user submit this form the information inside of form are send to a XML file.

How can insert this information inside of the XML file?

When i dont have a DB?

thanks

Kind regards

Fabiano Magno Pechibella

You must

  1. Read in the XML file
  2. Parse document into an XML object (just a big struct)
  3. Insert your XML into the object where you need it
  4. rewrite the XML file with your now included data

You can Google "ColdFusion working with XML" and find hundred of articles to assist you. Here's a beginning tutorial to help you get started:

Coldfusion Intermediate Tutorials - Working with XML

Views

474

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to insert data into XML file?

Explorer ,
Jun 26, 2014

Copy link to clipboard

Copied

Hi Guys,

How to insert information into a XML file. I explain to you, I have a CFM file with some questions to user

When the user submit this form the information inside of form are send to a XML file.

How can insert this information inside of the XML file?

When i dont have a DB?

thanks

Kind regards

Fabiano Magno Pechibella

You must

  1. Read in the XML file
  2. Parse document into an XML object (just a big struct)
  3. Insert your XML into the object where you need it
  4. rewrite the XML file with your now included data

You can Google "ColdFusion working with XML" and find hundred of articles to assist you. Here's a beginning tutorial to help you get started:

Coldfusion Intermediate Tutorials - Working with XML

Views

475

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 26, 2014 0
Participant ,
Jun 27, 2014

Copy link to clipboard

Copied

You must

  1. Read in the XML file
  2. Parse document into an XML object (just a big struct)
  3. Insert your XML into the object where you need it
  4. rewrite the XML file with your now included data

You can Google "ColdFusion working with XML" and find hundred of articles to assist you. Here's a beginning tutorial to help you get started:

Coldfusion Intermediate Tutorials - Working with XML

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 27, 2014 1
Explorer ,
Jun 27, 2014

Copy link to clipboard

Copied

Tks CutterBl,

Hugs from Brazil.

Fabiano Magno Pechibella

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 27, 2014 0