I'm using something very similar on http://plostoo.hubmed.org to render XML files as XHTML. Just one little thing - you might want to add the UTF-8 flag: new DOMDocument("1.0", "UTF-8")

Comments

weam’s picture

Assigned: Unassigned » weam
Status: Active » Fixed

Thx hickory, good point.

weam’s picture

Status: Fixed » Closed (fixed)