Sample Usage:

  • List PBL entries and related comments:

 

var pbl = new Pbl.Reader.PblReader(@"C:\PBL\MySamplePBL.pbl");

foreach (var entry in pbl.Entries)
{
    Console.WriteLine("Object: {0} [{1}]", entry.Name, pbl.Comments);
}

 

  • Get a 'srd' object (Data Window) source code and parse it into a Xml DOM:
var pbl = new Pbl.Reader.PblReader(@"C:\PBL\MySamplePBL.pbl");

var scode = pbl.GetContentAsString(pbl.Entries["MySampleDataWindow.srd"]);

Console.WriteLine(scode);

XmlDocument srdDom = Pbl.Parser.SrdParser(scode);

Last edited Jul 17, 2012 at 5:21 PM by wanjos, version 8

Comments

No comments yet.