I’ve never used XML before, and now I must change the align of text.
I try to do it like in HTML, but it doesn’t happen.
Maybe I do something wrong?
Here is he script:
<gallery>
<title><![CDATA[<FONT SIZE="20" COLOR="#C3A25D"></FONT>]]></title>
<text><![CDATA[<FONT SIZE="20" COLOR="#C3A25D">text, which i want to to be in right position</FONT>]]></text>
<thmb></thmb>
<img wdt="421">images/avetiskhakhamyan.jpg</img>
</gallery>
I try to write align="right" in <font> tag, but it deosn’t work.
Could you tell me what is the problem?
Update:
And I can’t understand anyway, if I don’t set any align attribute, why it show text in center?
is it the default value?
XML is not a display format. It doesn’t not “understand” alignments.
As far as XML is concerned,
align="right"is an attribute namedalignwith the valueright. Noting more and nothing less.