<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I was trying xmltex in XeTeX. It is running fine but I couldn't understand how can I translate or convert a unicode entity (e.g. <FONT color=#0000bf>&amp;#x0101;</FONT> for letter "<FONT face=TimesUnic color=#0000bf><STRONG>ā</STRONG></FONT>") into a UTF-8 character (for given&nbsp;example "<FONT color=#0000bf><STRONG>Ä</STRONG></FONT><FONT color=#000000>") internally.</FONT></DIV>
<DIV><FONT color=#000000></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000>When I compile XML file using XeTeX then UTF-8 characters (e.g. "<FONT color=#0000bf><STRONG>Ä</STRONG></FONT><FONT color=#000000>"</FONT>) get output directly from font (my assumption)&nbsp;without any explicit tex&nbsp;definition for this while uncode entity (e.g. <FONT color=#0000bf>&amp;#x0101;</FONT></FONT><FONT color=#000000>) expects the explicit definition with the command "<FONT color=#0000bf>\UnicodeCharacter{x0101}{\={a}}</FONT>"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>On the other hand when I compile XML file using LaTeX then in both the cases (i.e. for UTF-8 character sequence "<FONT color=#0000bf><STRONG>Ä</STRONG></FONT><FONT color=#000000>" </FONT>and uncode entity <FONT color=#0000bf>&amp;#x0101;</FONT>) it expect the command "<FONT color=#0000bf>\UnicodeCharacter{x0101}{\={a}}</FONT>" defined. If it is not defined then it do not give any output for UTF-8&nbsp;and unicode entity.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can somebody tell why is this difference and how one can internally force (using tex macros added to xmltex.tex) unicode entities to be translated automatically in xetex as it is translating UTF-8 encoded characters to get the correct output without defining each unicode character using&nbsp; "<FONT color=#0000bf>\UnicodeCharacter{x####}{TeX definition}</FONT>"</DIV>
<DIV>&nbsp;</DIV>
<DIV>If my question is not clear then please write.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>David</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></div><br>

      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>

</body></html>