If only. Unfortunately, the CB XML is
1) A total mess
2) Incomplete (the powers in the xml don't list everything that's on the power card)
I don't know enough about XML and the WoTC file to answer this myself:
Why is it a mess, and what's missing?
<RulesElement name="Majestic Word" type="Power"
internal-id="ID_FMP_POWER_2339" url="http://www.wizards.com/dndinsider/
compendium/power.aspx?id=2339" charelem="15d0dbe0"
legality="rules-legal" />
The XML isn't well structured, avoiding stuff like Schema. It looks more like a chaotic heap of things thrown together without rhyme or reason. If you want to reverse engineer it you'd have to take care of each and every possible element.
The XML for a power looks like this:
Code:<RulesElement name="Majestic Word" type="Power" internal-id="ID_FMP_POWER_2339" url="http://www.wizards.com/dndinsider/ compendium/power.aspx?id=2339" charelem="15d0dbe0" legality="rules-legal" />
You just have the name and a reference to the Compendium. Not much to work with...
In the Power secions, it does give you damage for each equipped weapon as '1d10+15' etc.So no damage values or anything?
Does the character sheet portion give you any info to work with? What is that section missing?
In the Power secions, it does give you damage for each equipped weapon as '1d10+15' etc.
But the Power section doesn't list the bulk of the power's info, like targets, range, area, hit, miss, effect, etc. So you can't turn that info into a power card.
The XML is a complete disaster. You'd need a schema (a framework of how the xml is supposed to look) just to get started. Not impossible to create one, but then the XML itself is very poorly formatted, like someone hired a .Net dev that didn't know squat about using xml in thier code.
How do the sites like Iplay4e work? (I don't have much experience with them.)
Is it possible to get the bulk of the info from the compendium, and just use the sheet to get the player's numbers?

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.