Listing 7. C++ Code Fragment Applying an XSLT to a Filesystem

fh_context c = Resolve( "~/example.odt/content.xml/"
 "office:document-content/office:body/office:text");
DOMDocument* theDOM = Factory::makeDOM( c );
...
// should use XercesDOMWrapperParsedSource
XalanTransformer theXalanTransformer;
theXalanTransformer.transform(
    theDOM, "~/my-oo.xsl", cout );


