0 users online. Create an account or sign in to join them.Users

Overview

XML is the markup language used by Symphony to expose content to the templating layer, where it is transformed by XSLT. Symphony’s native use of XML makes it trivially easy to work with feeds, APIs, and other XML data sets, and encourages clean, well-structured coding.

A Symphony page’s XML source is the basis for the transformations carried out by its template (and any included utilities).

Usage

A page’s XML source is comprised of fragments provided by attached data sources and events. Adding data to a page’s XML source requires creating a data source to fetch it and attaching that data source to the page.

Details

The root element of a page’s XML source is always <data>. Any fragments provided by data sources or events are nested within this root element.

For more details on XML itself, see: http://www.w3schools.com/xml/xml_whatis.asp

The Big Picture

XML is a widely-adopted open standard recommended by the W3C.

Related Articles

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.1
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details