XML - eXtensible Markup Language

  • Published on
    06-Jan-2016

  • View
    21

  • Download
    0

DESCRIPTION

XML - eXtensible Markup Language. Who Am I? Name: Jared Rypka-Hauer Owner: Continuum Media Group, LLC Adobe Community Expert ColdFusion 9 years ColdFusion Experience. XML Bootcamp: What and How. What is XML? Why XML? ColdFusion and XML Summary Links. What is XML?. - PowerPoint PPT Presentation

Transcript

  • XML - eXtensible Markup LanguageWho Am I?Name: Jared Rypka-HauerOwner: Continuum Media Group, LLC

    Adobe Community Expert ColdFusion9 years ColdFusion Experience

  • XML Bootcamp: What and HowWhat is XML?Why XML?ColdFusion and XMLSummaryLinks

  • What is XML?eXtensible Markup LanguageUniversally readable by computers and humans (at least in theory!)Focuses on the rules for describing contentNo restrictions on content (except...)Basic conceptsElementsAttributesEntities sections

  • What is XML? (continued)Basic rulesAll tags must be closed...except! Self-closing tagsNo forbidden charactersUse entities or CDATA< is is >& is &

    Other characters are in the references links at the endDocuments must have a root element that wraps everything else in the documentA valid xml document can be as little as:somecontent

  • Example Document

    JoeSmithjoesmith@example.com

  • Why XML?StructuredParsableCan be converted into objectsIn the CF world: structures and arraysUniversalJava, CF, .NET, PHP, ActionScriptRSS, AJAX, Microsoft Office, SQL ServerANYTHING that has a need for structured dataSimple for BeginnnersExtremely flexible and powerful for advanced usersPortable

  • Why XML? (continued)SearchableXPath (demo tonight)XQuery (no demo tonight)Not supported by CF yetA mix of very familiar conceptsDirectories on diskDatabase tablesHTML!! (yeah, I thought that looked familiar!)StylableXLT and XSLTPerhaps a brief demo tonightExtensionsVERY POWERFUL and yet very simple

  • ColdFusion and XMLBuilt-in Functions:xmlParse(xmlString)xmlSearch(XPath,xmlObject)isXml(xmlString)isXmlObj(variable)Elements are ArraysAttributes are StructsLive Demo: code and examples

  • LinksXML Functions in ColdFusionhttp://www.techfeed.net/cfQuickDocs/?getDoc=XMLW3Schoolshttp://www.w3schools.com/xml/Entities: http://w3schools.com/html/html_entities.aspMy Bloghttp://www.web-relevant.com/blogs/cfobjective/index.cfm?mode=entry&entry=3B6B32E0-BDB9-5320-E255C424B74AC2F8http://www.web-relevant.com/blogs/cfobjective/index.cfm?mode=entry&entry=4C9A9E20-BDB9-5320-E49EBA5324E02DB3Toolshttp://xmlbuddy.com/http://www.eclipse.org/webtools/wst/main.htmlhttp://www.oxygenxml.com/ (pricey!)

Recommended

View more >