With today's browser technology, you can use css to style any content you wish. This includes any generic XML inserted into the HTML file. For example, consider that you just wish to place the sales data through some dynamic process into a table. If you examine the source HTML for this page here, you will see only XML. It is 100% styled with external css in the file named "xmlsamp.css".
The table below in HTML looks like this:
<StmtSum width="100%"> <TableHeader> <ProdDes> Account Description </ProdDes> <AcctNum>Account Number</AcctNum> <Bal>Balance</Bal> <NName>NName</NName> <PlId>Policy ID</PlId> <ProdGrp>Product Group</ProdGrp> <RspFlg>Flag</RspFlg> </TableHeader> <TableRows> <AcctSum> <ProdDes> Investment Savings Account </ProdDes> <AcctNum>3003747305</AcctNum> <Bal>$15,998.45</Bal> ...
And this table is formatted according to the css styling, even carried through to the PDF. You do not have to change XML tags, you only indicate their style as "table" or "table-row" or "block" or "inline" in the css and XEPOnline will format the generic XML according to the css styling to print.