# Photogallery XML with HTMLtags

**URL:** <https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202>\
**Category:** flash\
**Created:** [March 24, 2006, 4:23pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202 "2006-03-24T16:23:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![robouden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/robouden/32/2294_2.png) [@robouden](https://forum.kirupa.com/u/robouden)\
**Post date:** [March 24, 2006, 4:23pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/1 "2006-03-24T16:23:24Z")

</div>

I’m building a photo gallery with XML and Flash. But want the XML data file to include HTML tags. Like \<br\> or \<font\> tags. Any suggestions ?

**current XML data (partial)**  
\<gallery\>  
\<image title=“KYOTO was the title of Roland’s photo exhibition at the Gallery of the Austrian Embassy in Tokyo (November 2005).Maiko Toshihana was featured on video” main=“images1/1.jpg” thmb=“thumbnails1/1.jpg” url="\<A href=“[http://www.landlocked.tv/maiko/index.html"/"](http://www.landlocked.tv/maiko/index.html%22/%22)\>[http://www.landlocked.tv/maiko/index.html](http://www.landlocked.tv/maiko/index.html)”/\>  
\</gallery\>

[FONT=Verdana]**[COLOR=olive][FONT=‘MS PGothic’][FONT=Verdana]Rob Oudendijk[/FONT][/FONT][/COLOR]\*\*\*\*[COLOR=#2b7d65][FONT=‘MS PGothic’] [/FONT][/COLOR]**[/FONT]**[COLOR=#2b7d65]  
[/COLOR]**[COLOR=gray][FONT=Verdana]Nakasato[/FONT][/COLOR][COLOR=gray][FONT=Verdana] 19-5  
Abiko-shi, Chiba 270-1122[/FONT][/COLOR]  
[FONT=Verdana][COLOR=gray]map[/COLOR][COLOR=gray]: [/COLOR]**[COLOR=olive][[COLOR=olive]click here[/COLOR]](http://www.roboudendijk.com/maphouse2.html)[/COLOR]**[COLOR=gray][/COLOR][/FONT]  
[COLOR=gray][FONT=Verdana]phs :+81 07050768865[/FONT][/COLOR]  
[COLOR=gray][FONT=Verdana]voipstunt in:+31202221360  
voipstunt: robouden1  
skype : robouden  
skype : robouden  
[/FONT][/COLOR][**[COLOR=olive][FONT=‘MS PGothic’][FONT=Verdana]http://www.roboudendijk.com[/FONT][/FONT][/COLOR]**](http://www.roboudendijk.com/)  
[**[COLOR=olive][FONT=‘MS PGothic’][FONT=Verdana]http://www.oudendijk.biz[/FONT][/FONT][/COLOR]**](http://www.oudendijk.biz/)[COLOR=gray][FONT=Verdana] (under construction)[/FONT][/COLOR]

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 24, 2006, 4:28pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/2 "2006-03-24T16:28:15Z")

</div>

put the title and link in different nodes, then make it a link in flash.

---

<div class="post-metadata">

**Author:** ![Ordinathorreur](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ordinathorreur/32/536_2.png) [@Ordinathorreur](https://forum.kirupa.com/u/Ordinathorreur)\
**Post date:** [March 24, 2006, 4:45pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/3 "2006-03-24T16:45:41Z")

</div>

Enclose your node values in a CDATA tag, do a search for it and you should get some info. (remember that you will need to go one node deeper too)

---

<div class="post-metadata">

**Author:** ![robouden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/robouden/32/2294_2.png) [@robouden](https://forum.kirupa.com/u/robouden)\
**Post date:** [March 24, 2006, 5:08pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/4 "2006-03-24T17:08:24Z")

</div>

Thanks for the fast replies. My skills with XML are not so good yet. I need more information. I made a mistake in the pasting of the XML data.

**should be:**  
\<gallery\>  
\<image title=“KYOTO was the title of Roland’s photo exhibition at the Gallery of the Austrian Embassy in Tokyo (November 2005).Maiko Toshihana was featured on video” main=“images1/1.jpg” thmb=“thumbnails1/1.jpg” url=“[http://www.landlocked.tv/maiko/index.html](http://www.landlocked.tv/maiko/index.html)”/\>  
\</gallery\>

Works fine for normal text  
But I want to use for example to make KYOTO bold by \<b\>KYOTO\</b\>. in the xml code. How to do that? I did some searching for CDATA but was confused how to implement it.

---

<div class="post-metadata">

**Author:** ![zooey74](https://avatars.discourse-cdn.com/v4/letter/z/a9a28c/32.png) [@zooey74](https://forum.kirupa.com/u/zooey74)\
**Post date:** [March 24, 2006, 10:39pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/5 "2006-03-24T22:39:07Z")

</div>

Something like this:

```auto
    <photo filename="eu-santorini.jpg" caption="Santorini">
      <![CDATA[My favorite <b>Greek</b> Island.]]>
    </photo>

```

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 24, 2006, 10:46pm UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/6 "2006-03-24T22:46:08Z")

</div>

wow… i didn’t know that. Thanx zooey

---

<div class="post-metadata">

**Author:** ![robouden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/robouden/32/2294_2.png) [@robouden](https://forum.kirupa.com/u/robouden)\
**Post date:** [March 25, 2006, 2:37am UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/7 "2006-03-25T02:37:05Z")

</div>

Thanks all for the info.  
I’ll try tonight (probally your day times…🙂

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [March 25, 2006, 2:37am UTC](https://forum.kirupa.com/t/photogallery-xml-with-htmltags/183202/8 "2006-03-25T02:37:55Z")

</div>

Heh… I would’ve thought you had wanted XSLT by your original description. 😛
