[TYPO3] XML output of a Page

Peter Klein peter at umloud.dk
Wed Oct 31 17:43:27 CET 2007


Hi Schani.
For XML you need to convert all named entities into numeric entities, as XML 
doesn't accepts 5 named enteties, unless you create your own DTD.
See: http://www.xml.com/pub/a/2001/01/31/qanda.html

--
Peter Klein / Umloud Untd

"Schani" <usenet at schani.com> wrote in message 
news:mailman.1.1193839519.13812.typo3-english at lists.netfielders.de...
> Hello all,
>
> i need for a own flash file a page output in XML.
> It is easy to generate them with TS. I set all components to encoding 
> utf-8 (like the hole website). And if i use Umlaute (öäü), i get a problem 
> at xml output.
> Now in the RTE i change the entry of "ü" to &uuml; and get the problem of 
> a error in XML at the "&" sign. If i set the value in TS diect in öäüß? 
> then i have also the cryptic output in Flash.
>
> Is ther a chance to set the encoding correctly? Flash preferred to use 
> utf-8.
>
>
> Can anyone help me?
>
> Best Regards
>
> Christian
>
>
>
>
> xml = PAGE
> xml{
>   typeNum = 21
>   config {
>     renderCharset = utf-8
>     disableAllHeaderCode = 1
>     additionalHeaders = Content-type:text/xml
>     no_cache = 1
>     xhtml_cleaning = 0
>     admPanel = 0
>   }
>   10 = CONTENT
>   10{
>     table = tt_content
>     select{
>       pidInList = 140
>       orderBy = sorting ASC
>     }
>     wrap = <?xml version="1.0" encoding="utf-8"?><channel>|</channel>
>     renderObj = COA
>     renderObj{
>
>       wrap = <person>|</person>
>       30 = COA
>       30{
>       50 = TEXT
>       50 {
>         wrap = <header>|</header>
>         field = header
>         }
>
>                 60 = TEXT
>       60 {
>         #value = äöü?ß
>         wrap = <bodytext>|</bodytext>
>         field = bodytext
>         }
> .....
>
> 




More information about the TYPO3-english mailing list