PDA

View Full Version : why don't my styles NEST ?


spyny
03-03-2005, 05:03 PM
This is already my second in one day. I read the tutorial on xml...

Let's say I have an xml file :

<root>
<level1>
<joe>hello</joe>
<mike>hey, where were you <b>for God's sake</b>?</mike>
</level1>
</root>

I'm supposed to be able to make a style for <root> and for <level1>.
<level1> is nested in <root> right ? or am I wrong ?

Let's say <b> is bold and it's nested in <mike>, I managed that.

Making a style called root is the same as making a style called body, right ?

So why doesn't <level1> 's font color change when I change <root>'s color ? (I haven't specified any font color for level1)