Skip to content

Instantly share code, notes, and snippets.

View QasimTalkin's full-sized avatar
🎯
Focusing

Abul Qasim QasimTalkin

🎯
Focusing
View GitHub Profile
@cocolote
cocolote / CF-XML.md
Last active December 14, 2020 16:25
XML and CFML

#Working with XML in ColdFusion

Cheatsheet with code examples to read, create and search xml files

ColdFusion provides many built-in functions for doing all sort of XML based operations.

###Reading XML Document Read the document then passes it to the parser to create an XML object

<cffile action="read" file="#ExpandPath('./some.xml')#" variable="myXML" />
<cfset myDoc=XmlParse(myXML) />
@cocolote
cocolote / CF-Queries.md
Last active April 4, 2024 15:54
Cold Fusion Queries Cheat sheet

#ColdFusion Queries

To interact with a database with CFML first you need to setup the data source in the administrator site.

The table that I'm usign in this examples

####----TestTable-----

id myDataAlfa myDataInt