header level='3' gets formatted to header level='1' in xml text field

header level='3' gets formatted to header level='1' in xml text field

Monday 08 September 2003 3:28:32 am - 5 replies

Modified on Monday 08 September 2003 6:57:47 am by bisk

Author Message

Bjørn Kaarstein

Monday 08 September 2003 4:42:47 am

This thread might help you.

http://ez.no/developer/ez_publish_3/forum/developer/contributed_documentation_problem

Seems like you have to override an ezxmltag.

Regards Bjørn

laurent le cadet

Monday 08 September 2003 5:10:57 am

I meet the same problem and I skip it when I need a <h2> first for example by wrinting empty tag.
<header level="1"></header>
<header level="2>my texte</header>

It's not really "clean" but it works.

Hope this help.

Laurent

bisk

Monday 08 September 2003 6:40:26 am

Although I did a search on the forum, I didn't come across that thread. So thanks for the link Bjørn.

Laurent, I'll do an overrride to keep things clean ;)

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Georg Franz

Tuesday 07 October 2003 1:42:16 am

Hi,

I think the "cleanest" solution is to create an own tag like "<subtitle>" to format the text as you like.

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Paul Forsyth

Tuesday 07 October 2003 2:18:30 am

Since we are using xml to write html is there a recommended way we do this? It seems a common occurence people fall into when first using ez.

The online editor simplifies this process a *lot* for end users but without it mistakes are easily made.

The documentation here:

http://ez.no/developer/ez_publish_3/documentation/customization/components/datatypes/ezxmltext/tags

mentions that the text processing is loosely based on xhtml 2.0. maybe there should be options for the xml field to determine which transformation will take place when the field is submitted to the xml parser. With this we would understand the mechanics better.

I believe Paul Borgermans and his team are working on things like this:

http://ez.no/developer/ez_publish_3/contributions/xslttemplate_operator

I should buy a decent xml book to learn all of the terminologies :)

Paul

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.