Tags

The eZXMLText datatype is one of the most common used datatypes in Exponential. It is used to store formatted text. This is an Exponential XML format which is used.

The XML format is paragraph based and is based loosely on XHTML 2.0 specification for paragraph, line and block handling.

All the XML tags can be fully customized by changing the templates. You will find all the standard template tags here:

design/standard/templates/content/datatype/view/ezxmltags/

These tags can be overridden to fit your needs.

The available tags are:

  1. emphasize: emphasized text
  2. strong: strong formatted text
  3. ul: unordered list
  4. ol: ordered list
  5. li: list element
  6. header: header text
  7. link: hypertext link
  8. object: embeded content object
  9. table: table
  10. tr: table row
  11. th: table header
  12. td: table data
  13. literal: literal/unformatted text
  14. custom: your own custom tags

Table of tags (defaults)

Name

Attributes

Values

Sample

strong

   
<strong>sample</strong>

emphasize

   
<emphasize>sample</emphasize>

object

id

contentobject_id(INTEGER)

<object id="236" size="small" align="center" />
 

size

small,
medium,
large,
reference,
original

 
 

align

right,
left,
center

 

header

level

1 to 7 (INTEGER)

<header level='1'>

unorderd list

   
<ul>

<li>sample 1</li>

</ul>

ordered list

   
<ol>

<li>sample 1</li>

</ol>

anchor

   
<anchor name='sample1' />

custom

name

name of custom tag

<custom name='strike'>sample</custom>

table

   
<table border='1' width='100%'>

<tr>

 <td>row 1, col 1</td>

 <td>row 1, col 2</td>

</tr>

<tr>

 <td>row 2, col 1</td>

 <td>row 2, col 2</td>

</tr>

</table>

link

href

URL (like HTML A tag)

<link href='http://sample.de'>sample</link>
 

target

_self,
_blank

literal> sample

literal

class

class name (string)

<literal class='html'>some HTML

Comments

Why tag paragraph was inserted?

When I insert code:
"<td>row 2, col 1</td>"

I found in source this:
"<td valign="top"><p class="paragraph">row 2, col 1</p></td>"

Whay tag "paragraph" was inserted?

Please write the the forums

Please write to the forums.

Those kind of questions should be asked there.

You can always referr the this doc page by linking to it.

Basic tags

Why can't I add basic tags such as paragraph and breaks to my eZXMLText? I have tried <p></p>, <br>, <br />, <br/>... Nothing works. And while I'm at it (asking stupid questions), how do you center text....? thanks!

create a user account to comment.

Contents

Customization

Access control
Exponential API Documentation
Content structure
Custom design
Components
    Images
    Datatypes
       eZXMLText
          Custom tags
          Tags
          Classification
       eZKeyword
       eZObjectRelation
    Shop
    Information collection
    Search
    Form processing
    Error handling
    Icons
    Menus
    Toolbars
Tips & Tricks
Troubleshooting


Created

22/07/2003
2:21:56 pm
by Bj�rn Dieding@xrow.de

Last updated

26/05/2004
1:09:43 pm
by Derick Rethans

Authors

Bj�rn Dieding@xrow.de
Wenyue Yu
Derick Rethans



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.