Invenzzia » Resources / Articles / Managing XML in OPT

Managing XML in OPT

  • Published on 3 January 2010 09:14:00 GMT, updated over 4 years ago by Tomasz Jędrzejewski
  • pl

The Open Power Template syntax is based on XML. This leads us to a set of instructions helpful in managing the produced XML code, creating attributes and tags and the whole process is a bit different than in most of the template engines. This article is going to show you, how to use the available tools and how to manipulate the generated output HTML code.

Table of Contents

Open Power Template is one of a small group of template engines that use XML as the base of their syntax. Inspite of many pros, it implies some changes in the HTML code manipulating for the template designer. The syntax must follow the rules of XML, and such things as dynamic attribute generation or changing the tag name must be done differently than in other template engines, like PHP or Smarty. This article is going to help you understanding it and show you many tricks useful in many everyday situations.

Open Power Template 2.0 projects tutorial

This text is licensed under Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States license.

Add new comment

You are writing a reply to comment

  • Will not be published | Gravatar supported
  • Type here the name of our group.