Changeset 26 for trunk/examples/api_quickstart.php
- Timestamp:
- 01/10/06 11:10:23 (3 years ago)
- Files:
-
- trunk/examples/api_quickstart.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/api_quickstart.php
r2 r26 34 34 $pretty =& new patXMLPretty; 35 35 36 $engine =& $pretty->createEngine( 'DOM' );37 $pretty->setEngine( $engine );38 39 36 // highlight a file 40 37 $highlighted = $pretty->parseFile( 'data/sitemap.xml' ); … … 43 40 } 44 41 45 echo $highlighted;42 displaySection( 'Highlighted source', $highlighted ); 46 43 47 44
