www.webdeveloper.com
Results 1 to 4 of 4

Thread: XML With HTML Script

  1. #1
    Join Date
    May 2012
    Posts
    3

    XML With HTML Script

    Hi all,

    I hope you can help me. I'm currently developing a tourist website with flash, however on one of my XML's i want to include a trip advisor widget to appear.

    <item>
    <filetype><![CDATA[txt]]></filetype>
    <sheet><![CDATA[component/xml/home.css]]></sheet>
    <wtext><![CDATA[<h1> xxx Bed and Breakfast</h1>
    <h2></h2>
    <h2> xxxxxx@hotmail.com</h2>
    <h1></h1>

    <div id="TA_rated348" class="TA_rated">
    <ul id="dRTeblmOv" class="TA_links Q92wsm">
    <li id="7nQ3lRBC" class="YzJFJ3Ir6LsW"><a href=http://www.tripadvisor.com.au/xxx.html>xxx</a></li>
    </ul>
    </div>
    <script src="http://www.jscache.com/wejs?wtype=rated&amp;uniq=348&amp;locationId=568007&amp;lang=en_AU"></script>



    <h2></h2>
    <p></p>
    <h2></h2>
    <p><b></b><b></b><b></b></p>]]></wtext>
    </item>
    </window>


    I'm new to XML, so your help appreicated. Can you please advise on how to insert these type of widgets into a flashsite or into XML?

    Thank you

  2. #2
    Join Date
    Dec 2011
    Posts
    74
    I'm not sure I fully understand your problem. However I notice that your CDATA is not opened and closed properly.

    Can you elaborate on your problem?

  3. #3
    Join Date
    May 2012
    Posts
    3
    Thank you for your reply,

    Can you tell me where is the CDATA not closed off?

    I'm trying to insert a HTML Widget, into an XML page. I'm not sure will this work. It works fine under HTML, and displays correctly. However I'm using a flash template and it doesn't seem to display anything.

  4. #4
    Join Date
    Dec 2011
    Posts
    74
    No problem. Line 3 has CDATA opening however it does not close.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles