Methods and systems are provided for allowing software applications
capable of reading and saving Extensible Markup Language (XML)
representations of documents to quickly and efficiently detect the
presence of executable code contained in a given document being read or
saved by the software applications. Examples of executable code include,
but are not limited to macros, VBA macros, OLE code, OCX or ActiveX
controls, embedded executable objects, and the like.