# Externally loaded XML combined with CSS

**URL:** <https://forum.kirupa.com/t/externally-loaded-xml-combined-with-css/79058>\
**Category:** flash\
**Created:** [February 10, 2005, 4:03pm UTC](https://forum.kirupa.com/t/externally-loaded-xml-combined-with-css/79058 "2005-02-10T16:03:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macro\_design](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Macro\_design](https://forum.kirupa.com/u/Macro_design)\
**Post date:** [February 10, 2005, 4:03pm UTC](https://forum.kirupa.com/t/externally-loaded-xml-combined-with-css/79058/1 "2005-02-10T16:03:18Z")

</div>

[color=black]I’ve been trying to load an externally XML file into flash - in a textbox. Now I was wondering if it was possible to use CSS in this XML file, and if so, how do I do this?[/color]

So I have, let’s say 4 xml files, loading in some text into my flash movie. But instead of changing the values in each xml file, when I need a new text colour, I can just change it in my CSS file, and then all the text colours have been changed.

.xml file code:

```auto
 
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="style.css"?>
<text><![CDATA[This is a test]]></text>

```

.css file code:

```auto
 
text
{
color: #00601A;
} 

```
