3 using System
.Collections
;
5 using System
.Xml
.XPath
;
7 namespace Mono
.Tools
.LocaleBuilder
{
9 public class TextInfoEntry
: Entry
{
17 public TextInfoEntry (int lcid
, XPathDocument d
)
19 string q
= "/textinfos/textinfo [@lcid=" + lcid
+ "]";
20 XPathNodeIterator ni
= (XPathNodeIterator
) d
.CreateNavigator ().Evaluate (q
);
21 // no info, move along
23 throw new Exception ();
25 ansi
= ni
.Current
.GetAttribute ("ansi", String
.Empty
);
26 ebcdic
= ni
.Current
.GetAttribute ("ebcdic", String
.Empty
);
27 mac
= ni
.Current
.GetAttribute ("mac", String
.Empty
);
28 oem
= ni
.Current
.GetAttribute ("oem", String
.Empty
);
29 listsep
= ni
.Current
.GetAttribute ("listsep", String
.Empty
);
32 public override string ToString ()
34 StringBuilder b
= new StringBuilder ();