1<?php 2header('Content-type: application/xhtml+xml; charset=utf-8'); 3?><?php echo '<'.'?xml version="1.0" encoding="UTF-8"?'.'>'; ?> 4<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 5<html xmlns="http://www.w3.org/1999/xhtml"> 6<head> 7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 8 <title>SyntaxHighlighter XHTML Demo</title> 9 <script type="text/javascript" src="../scripts/xregexp.js"></script> <!-- XRegExp is bundled with the final shCore.js during build --> 10 <script type="text/javascript" src="../scripts/shCore.js"></script> 11 <script type="text/javascript" src="../scripts/shBrushAS3.js"></script> 12 <link type="text/css" rel="stylesheet" href="../styles/shCore.css"/> 13 <link type="text/css" rel="Stylesheet" href="../styles/shThemeDefault.css"/> 14 <script type="text/javascript">SyntaxHighlighter.all();</script> 15</head> 16 17<body> 18 19<h1>SyntaxHighlighter XHTML Demo</h1> 20 21<p> 22 The purpose of this demo is to show XML content compatibility. Since there's no 23 way to force HTTP headers to have required content content type, this demo requires 24 a PHP featured HTTP server such as Apache. 25</p> 26 27<pre class="brush: as3;"> 28package free.cafekiwi.gotapi; 29 30function foo() 31{ 32 /* 33 34 comment 35 36 */ 37 38 // comment 39 40 "string" 41 42 'string' 43 44 "multiline 45 string shouldnt match" 46 47 'multiline 48 string shouldnt match' 49} 50</pre> 51 52</body> 53</html> 54