+ Reply to Thread
Results 1 to 2 of 2

Problema conversione tag html in oggetto xml

This is a discussion on Problema conversione tag html in oggetto xml within the FLEX builder 3 forums, part of the Flash Italiano category; Ciao a tutti, sono nuovo nella programmazione in flex e sto realizzando un pannello di gestione news tramite xml e ...

  1. #1
    Junior Member Settled In priade is on a distinguished road
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Problema conversione tag html in oggetto xml

    Ciao a tutti,
    sono nuovo nella programmazione in flex e sto realizzando un pannello di gestione news tramite xml e php.
    Funziona in questo modo:
    carico l'xml esterno, lo elenco in un datagrid e da qui elimino modifco o aggiungo news.
    Ora il programmino č completo ma non riesco a risolvere un problema nell'xml creato da flex.
    Se inserisco il valore htmlText del RichTextEditor mi converte i tag html in < e >.
    ho provat di tutto anche cercando di aggiungere i nodi in modo diverso ma credo sia una proprietą del nodo stesso da impostare che nn conosco

    L'xml viene creat in questo modo

    Code:
    x = 
    {titolo_news.text} testo_news.text {data} {testo_html.htmlText} {didascalia.text}
    //aggiungo le proprietą del nodo x.@Large="imm_news/big_"+nome_img; x.@Thumb="imm_news/"+nome_img; //aggiungo il nodo al file xml news_ = news_.appendChild(x);
    oppure

    Code:
       
      var newNews:XML = new XML("
    "); newNews.@Large="imm_news/big_"+nome_img; newNews.@Thumb="imm_news/"+nome_img; newNews.headline =titolo_news.text; newNews.copy_intro =intro_news.htmlText; newNews.date1 =data; newNews.copy_full =testo_html.htmlText; newNews.copy_pic =didascalia.text; news_ = news_.appendChild(newNews);
    Per non parlare del tag CDATA che mi vede come errore. Qualcuno ha risolto il problema? Grazie.

  2. #2
    Junior Member Settled In priade is on a distinguished road
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Re: Problema conversione tag html in oggetto xml

    Ciao ragazzi nessuna indicazione particolare? Potete inidcarmi se č stata tratta gią questa discussione? Grazie, ciao a tutti.

+ Reply to Thread

Similar Threads

  1. problema posizionamento oggetto su stage
    By giannicasa in forum Actionscript 3.0 base
    Replies: 3
    Last Post: 14-10-09, 11:40
  2. problema con oggetto Sound
    By maddeche in forum Actionscript 3.0 base
    Replies: 2
    Last Post: 26-06-09, 07:32
  3. Conversione di un input di testo in Number
    By monmarzia in forum advanced Actionscript 3.0
    Replies: 0
    Last Post: 19-05-09, 09:00
  4. Conversione String -> Class
    By jseeker in forum Actionscript 3.0 base
    Replies: 7
    Last Post: 21-08-08, 17:11
  5. convertire oggetto loader in oggetto utilizzabile con BitmapData
    By nextframe in forum Actionscript 3.0 base
    Replies: 2
    Last Post: 07-08-08, 09:02

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts