[TYPO3-dev] Parameters for <LINK> in content are no valid XML

Stefan Geith typo3dev2010.nospam1 at geithware.de
Mon Feb 22 11:44:02 CET 2010


Hi Devs,

I had to export tt_content as XML (easy with phpMyAdmin),
because my client wanted to give this file to a
Translation-Team - many Translators are working with
XML-Editors.

But then I stumpled over a problem:

<LINK>-Tags, no matter if generated 'manually' or by RTE,
are not XML compatible; e.G.
     <link 123 - blueLink "MyTitle">
is no valid XML.

So I would like to suggest, that
a) LINK parameters can be set in an alternative way.
    So e.g. for the line above:
      <link id="123" class="blueLink" title="MyTitle">
    This is valid XML and can be handled by
    XML-Based Translation-tools.
    Typolink could be modified to support this
    syntax in the parameter-property
b) 'old' implementation should work as
    before (for compatibility)
c) RTE should create LINK-Tags in the new form.


All other HTML-Tags in tt_content bodytext is
(or should be) HTML. So the only problem, for
export as XML is only the LINK-Tag.


What do you think about this ?


/Stefan




More information about the TYPO3-dev mailing list