homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Re: creating link in xml doc
malhyp




msg:3726081
 3:03 am on Aug 19, 2008 (gmt 0)

Hi there, we have an xml page which is used for a flash website. The website pulls certain information from the xml doc.

We wanted to know how we can create a link for "All Rights Reserved" and "Privvacy Policy" insted of just showing text.

This is the code that we have.


<?xml version="1.0" encoding="utf-8"?>
<root>
<title val="Your Website Name" fontSize="11"/>
<slogan val="Your Website Slogan" fontSize="42"/>
<!-- <logo enable="1" type="0" val="images/logo.jpg"/> -->

<logo enable="1" type="0" val="images/logo.jpg"/>

<footer val="Copyright 2008 Your Business Name All Rights Reserved Privacy Policy" fontSize="11"/>
<contacts val="media@yourbusinessname.com"/>
<colors>
<title val="#ffffff"/>
<slogan val="#ffffff"/>
<menua val="#ffffff"/>
<menup val="#a4a4a4"/>
<copyright val="#474747"/>
<pagetitle val="#ffffff"/>

This is what we normaly use for html documents. How would we combine the two?

<a href="html/provacy-policy.html" target="_blank">Privacy Policy</a>
Cheers
Hyperion

 

httpwebwitch




msg:3726618
 9:03 pm on Aug 19, 2008 (gmt 0)

AFAIK you can import HTML into a text area of a Flash movie. So if your content is being loaded asynchronously into a Movie Clip, you can put an <a> element in to the content.

Put HTML into the <footer> and see what happens. Just be sure to turn your angle brackets into &lt; and &gt; or the XML parser will barf.

Or - couldn't you could put your footer links into the main Flash layout? in the FLA/SWF?

malhyp




msg:3726688
 11:43 pm on Aug 19, 2008 (gmt 0)

Sorry, my xml = 0.

is this what you mean?

<?xml version="1.0" encoding="utf-8"?>
<root>
<title val="Your Website Name" fontSize="11"/>
<slogan val="Your Website Slogan" fontSize="42"/>
<!-- <logo enable="1" type="0" val="images/logo.jpg"/> -->

<logo enable="1" type="0" val="images/logo.jpg"/>

<footer val="Copyright 2008 Your Business Name All Rights Reserved <a href="html/provacy-policy.html" target="_blank">Privacy Policy</a>" fontSize="11"/>
<contacts val="media@yourbusinessname.com"/>
<colors>
<title val="#ffffff"/>
<slogan val="#ffffff"/>
<menua val="#ffffff"/>
<menup val="#a4a4a4"/>
<copyright val="#474747"/>
<pagetitle val="#ffffff"/>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved