<?xml version="1.0" encoding="big5"?>
<?xml-stylesheet href="/xsl/eflyer.xsl" type="text/xsl"?>

<page>

	<currLang>zh-TW</currLang>
  
	<layout>
	</layout>

	<embeddedcss>/css/eflyer_gray.xml</embeddedcss>

  <mainContent>
		<headline1>Web Page Design Guideline</headline1>
		
		<textBlock>
			<listContent>
				<list><name link="#Introduction">Introduction</name></list>
				<list><name link="#EflyerOrDeclaration">Eflyers or Declarations ─ The Two Basic Layouts</name></list>
				<list><name link="#MainContent">What's in the Main Content</name></list>
				<list><name link="#EditAnXMLFileEditor">How to edit an XML file?</name></list>
				<list><name link="#InstallWampServer">Install WampServer (Apache, PHP, and MySQL)</name></list>
				<list><name link="#FileStructure">File Structure vs. Site Map</name></list>
				<list><name link="#ThingsToKnowWhenWritingXML">Few things to know to be a good xml writer</name></list>
				<list><name link="#ThingsToKnowWhenEditCalendar">Few extra things to know when editing a calendar</name></list>
				<list><name link="#ThingsToKnowWhenEditEvent">Few extra things to know when editing an event</name></list>
			</listContent>
		</textBlock>
		
		<textBlock>
			<blockTitle id="Introduction">Introduction</blockTitle>
			<textContent>The new 2008 facelift adopt the XML and XSLT technology as the main design trend. Since the business logic and presentation display are separated, XML is very friendly for non-technic user to crate a new web page or modify an existing one. Non-technic people do not need to touch the presentation rules, .xsl files. Of cause, certain rules still need to follow.</textContent>
		</textBlock>
		
		<textBlock>
			<blockTitle id="EflyerOrDeclaration">Eflyers or Declarations ─ The Two Basic Layouts</blockTitle>
			<textContent>Before you start please decide what layout you are plan to have. Eflyers are used to boradcast emails to members. Declaractions are used for regular web pages which has common header, top menu, side bar, and footer.</textContent>
		</textBlock>
		
		<textBlock>
			<blockTitle style="color:#888">Eflyer Page:</blockTitle>
			<quoteContent style="overflow:scroll; background-color:#eee">
				<pre>
&lt;?xml version="1.0" encoding="big5"?&gt;   </pre><pre style="color:#0000ff;">&lt;== define the xml file encoding; this has to be big5 even for English language</pre><pre>
&lt;?xml-stylesheet href="/xsl/eflyer.xsl" type="text/xsl"?&gt;   </pre><pre style="color:#0000ff;">&lt;== select the eflyer presentation</pre><pre>
				
&lt;page&gt;   </pre><pre style="color:#0000ff;">&lt;== define the main root of the xml file; DON'T CHANGE!</pre><pre>

  &lt;currLang&gt;zh-TW&lt;/currLang&gt;   </pre><pre style="color:#0000ff;">&lt;== define the page language: zh-TW or en</pre><pre>
	
  &lt;layout&gt;
    &lt;title&gt;美國菩提學會 ─ 宗薩欽哲仁波切開示&lt;/title&gt;   </pre><pre style="color:#0000ff;">&lt;== define the page title used by the browser</pre><pre>
  &lt;/layout&gt;

  &lt;embeddedcss&gt;/css/eflyer_yellow.xml&lt;/embeddedcss&gt;   </pre><pre style="color:#0000ff;">&lt;== define a eflyer presentation template; two templates have been created: eflyer_yellow.xml and eflyer_gray.xml; more can be created as needed.</pre><pre>

  &lt;header&gt;美國菩提學會邀請您 ~&lt;/header&gt;   </pre><pre style="color:#ff00ff;">&lt;== define the header</pre><pre>

  &lt;mainContent&gt;
   .....  (same as Declaration)   </pre><pre style="color:#ff00ff;">&lt;== define the main contents</pre><pre>
  &lt;/mainContent&gt;
  
  &lt;footer&gt;   </pre><pre style="color:#ff00ff;">&lt;== define the footer</pre><pre>
		&lt;mbs&gt;&lt;/mbs&gt;   </pre><pre style="color:#0000ff;">&lt;== display mbs' contact information </pre><pre>
		&lt;mla&gt;&lt;/mla&gt;   </pre><pre style="color:#0000ff;">&lt;== display mla's contact information (option; comment it if no need for this eflyer)</pre><pre>
  &lt;/footer&gt;
	
&lt;/page&gt;
				</pre>
			</quoteContent>

			<blockTitle style="color:#888; margin-top:1em;">Declaration Page:</blockTitle>
			<quoteContent style="overflow:scroll; background-color:#eee">
				<pre>
&lt;?xml version="1.0" encoding="big5"?&gt;   </pre><pre style="color:#0000ff;">&lt;== define the xml file encoding; this has to be big5 even for English language</pre><pre>
&lt;?xml-stylesheet href="/xsl/declaration.xsl" type="text/xsl"?&gt;   </pre><pre style="color:#0000ff;">&lt;== select the declaration presentation</pre><pre>
				
&lt;page&gt;   </pre><pre style="color:#0000ff;">&lt;== define the main root of the xml file; DON'T CHANGE!</pre><pre>

  &lt;currLang&gt;zh-TW&lt;/currLang&gt;   </pre><pre style="color:#0000ff;">&lt;== define the page language: zh-TW or en</pre><pre>
  &lt;currMenuPos&gt;classes&lt;/currMenuPos&gt;   </pre><pre style="color:#0000ff;">&lt;== define the first level position in the top menu</pre><pre>
  &lt;currSubmenuPos&gt;zw&lt;/currSubmenuPos&gt;   </pre><pre style="color:#0000ff;">&lt;== define the second level position in the top menu</pre><pre>
	
  &lt;layout&gt;
    &lt;title&gt;美國菩提學會 ─ 首頁&lt;/title&gt;   </pre><pre style="color:#0000ff;">&lt;== define the page title used by the browser</pre><pre>
  &lt;/layout&gt;

  &lt;css&gt;   </pre><pre style="color:#0000ff;">&lt;== define the layout style</pre><pre>
    &lt;filename&gt;/css/newcss.css&lt;/filename&gt;   </pre><pre style="color:#0000ff;">&lt;== template for the common area: header, top menu, footer, and side bar</pre><pre>
    &lt;filename&gt;/css/declare_white.css&lt;/filename&gt;   </pre><pre style="color:#0000ff;">&lt;== select a declaration presentation template; two templates have been created: declare_white.css and declare_event.css; more can be created as needed.</pre><pre>
  &lt;/css&gt;

  &lt;mainContent&gt;
    ..... (same as Eflyer)   </pre><pre style="color:#ff00ff;">&lt;== define the main contents; header, footer, menu and side bar are handled in declaration.xsl</pre><pre>
  &lt;/mainContent&gt;
	
&lt;/page&gt;
				</pre>
			</quoteContent>
		</textBlock>
		
		<textBlock>
			<blockTitle id="MainContent">What's in the Main Content</blockTitle>
			<listContent>
				<list><htmldata><pre style="color:#0000ff">&lt;headline1&gt;</pre></htmldata></list>
				<list><htmldata><pre style="color:#0000ff">&lt;headline2&gt;</pre></htmldata></list>
				<list><htmldata><pre style="color:#0000ff">&lt;headline3&gt;</pre></htmldata></list>
				<list><htmldata><pre style="color:#0000ff">&lt;quoteBlock&gt;</pre><br/>is used to display a quotation from a book by some author. This block is similar to textBlock except it can handle the subtitle, from, and by elements. Depending on the css file you choose, the quotation may align in center or left. Varied background color and font color are also available when using different css file.</htmldata>
					<listContent>
						<list><htmldata><pre style="color:#0000ff">&lt;blockTitle&gt;</pre><br/>is used to display the title of the block. It is bold in light burgundy by default. Adding <pre style="color:#0000ff">id</pre> attribute places an anchor at the declared position. This is the same as &lt;a name="abc"&gt; in html. Adding <pre style="color:#0000ff">style</pre> attribute changes the default style settings.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">&lt;subtitleLeft&gt; or &lt;subtitleCenter&gt; or &lt;subtitleRight&gt;</pre></htmldata>
							<listContent>
								<list><htmldata><pre style="color:#0000ff">&lt;by&gt;</pre></htmldata></list>
								<list><htmldata><pre style="color:#0000ff">&lt;from&gt;</pre></htmldata></list>
							</listContent>
						</list>
					</listContent>
				</list>
				<list><htmldata><pre style="color:#0000ff">&lt;textBlock&gt;</pre></htmldata>
					<listContent>
						<list><htmldata><pre style="color:#0000ff">&lt;blockTitle&gt;</pre><br/>is used to display the title of the block. It is bold in light burgundy by default. Adding <pre style="color:#0000ff">id</pre> attribute places an anchor at the declared position. This is the same as &lt;a name="abc"&gt; in html. Adding <pre style="color:#0000ff">style</pre> attribute changes the default style settings.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">&lt;textContent&gt;</pre></htmldata></list>
						<list><htmldata><pre style="color:#0000ff">&lt;listContent&gt;</pre><br/>is used to display list. The default is unordered list with square bullet. Adding <pre style="color:#0000ff">start</pre> attribute, the list becomes an ordered list. The default ordered list using decimal value for numbering. The style of bullet or numbering can be changed by adding the <pre style="color:#0000ff">style</pre> attribute.<br/><pre style="color:#008000">&lt;listContent&gt;</pre> --&gt; display unordered list with square bullet<br/><pre style="color:#008000">&lt;listContent start="1"&gt;</pre> --&gt; display ordered list starting from 1<br/><pre style="color:#008000">&lt;listContent style="list-style:circle;"&gt;</pre> --&gt; display unordered list with circle bullet<br/><pre style="color:#008000">&lt;listContent start="3" style="list-style:upper-alpha;"&gt;</pre> --&gt; display ordered list with upper-alpha C<br/></htmldata>   
							<listContent>
								<list><htmldata><pre style="color:#0000ff">&lt;list&gt;</pre></htmldata></list>
							</listContent>
						</list>
						<list><htmldata><pre style="color:#0000ff">&lt;tableContent&gt; or &lt;tableContentHeadAndBorder&gt;</pre></htmldata>
							<listContent>
								<list><htmldata><pre style="color:#0000ff">&lt;rowContent&gt;</pre></htmldata>
									<listContent>
										<list><htmldata><pre style="color:#0000ff">&lt;col&gt;</pre></htmldata></list>
									</listContent>
								</list>
							</listContent>
						</list>
					</listContent>
				</list>
				<list><htmldata><pre style="color:#0000ff">&lt;importantBlock&gt;</pre><br/></htmldata> is used for important notes. The font weight is bold. The font color is burgundy. </list>
				<list><htmldata><pre style="color:#0000ff">&lt;imageBlockLeft&gt;</pre><br/></htmldata> places enclosed image to the left of the page. The width of the image has to be specified due to the bug of IE6.</list>
				<list><htmldata><pre style="color:#0000ff">&lt;imageBlockRight&gt;</pre><br/></htmldata> places enclosed image to the right of the page. The width of the image has to be specified due to the bug of IE6.</list>	
			</listContent>
		</textBlock>
		
		<textBlock>
			<blockTitle id="EditAnXMLFileEditor">How to Edit an XML File?</blockTitle>
			<blockTitle style="color:#888">Preparing an XML File Editor</blockTitle>
			<textContent>The xml file is just a regular text file. Theoretically, you can use any text editor to edit the xml file. However, since our website is a Chinese website, the XML editor must be able to support big5 encoding. Don't ask me how it works. I studied some and still don't quite understand. I just tried and then checked if the xml file can be displayed eventually.<br/><br/>
Personally, I use Macromedia Dreamweaver as my editor. I did try some free xml editors and found "Peter's XML Editor" is the best among all (I checked four or five editors). It has both tree view and regular source view for xml content. You can also locate your files from its tree structure file display pane. It also provides a preview feature which unfortunately we cannot use it due to our own file structure. To preview an xml file locally, please <a href="#InstallWampServer">install Apache</a> web server on your PC.<br/><br/>To download the "Peter's XML Editor". Please go to the following website and click the download link. Although the designer has stopped supporting this editor, the editor itself has been well written and is a very user friendly tool.<br/><br/>
<a href="http://www.iol.ie/~pxe/">http://www.iol.ie/~pxe/</a></textContent>
		</textBlock>

		<textBlock>
			<blockTitle style="color:#888">Some Rules About an XML File</blockTitle>
			<textContent>The html file is a loose xml file. In fact, a lot of websites are using xhtml which is extactly an xml file. For those of you don't know anything about html nor xml, four terminologies you have to know:</textContent>
			<listContent>
				<list>tag --- a text surounded with &lt; and &gt; e.g. &lt;mainContent&gt; a closing tag is text surrounded with &lt; and &gt; and prefixed with a '/'. eg. &lt;/mainContent&gt;</list>
				<list>element --- an opening tag and a closing tag together form a complete element. The name of an element is the text in the opening tag. e.g. mainContent in the &lt;mainContent&gt;...&lt;/mainContent&gt; element.</list>
				<list>attribute --- the characters of an element; e.g. In &lt;menu id="newsletters"&gt;, id is an attribute of the menu element.</list>
				<list>value --- the value of an element which is everything surrounded by the opening and closing tags. e.g. "Hello world!" is the value of &lt;mainContent&gt;Hello world!&lt;/mainContent&gt; element.</list>
			</listContent>
			
			<textContent style="margin-top:1em">The following are few import rules that we have to follow when editing an xml file. More rules are listed in <a href="http://www.w3schools.com/xml/xml_syntax.asp">w3schools</a> for your reference.</textContent>
			<listContent>
				<list>All XML elements must have a closing tag. --- Has to be either &lt;aaa&gt;&lt;/aaa&gt; or &lt;aaa/&gt;.</list>
				<list>XML tags are case sensitive. --- &lt;aaa&gt;, &lt;Aaa&gt;, and &lt;aAa&gt; are three different elements in xml,</list>
				<list>XML elements must be properly nested. --- Has to be &lt;aaa&gt;&lt;bbb&gt;&lt;ccc&gt;&lt;/ccc&gt;&lt;/bbb&gt;&lt;/aaa&gt; and cannot be &lt;aaa&gt;&lt;bbb&gt;&lt;ccc&gt;&lt;/bbb&gt;&lt;/ccc&gt;&lt;/aaa&gt;</list>
				<list>XML documents must have a root element. --- "&lt;page&gt;" is the chosen root element in our xml files.</list>
				<list>XML attribute values must be quoted. --- attribute value has to be surrounded by the double quotes ("). </list>
			</listContent>
		</textBlock>		

		<textBlock>
			<blockTitle id="FileStructure">File Structure vs. Site Map</blockTitle>
			<listContent>
				<list><htmldata><pre style="color:#0000ff">base/</pre> - the base directory (e.g. c:/wamp/mahabodhi/)<br/>
					<pre style="color:#999">index.php</pre> is used to access the new home page from base path.</htmldata>
					<listContent>
						<list><htmldata><pre style="color:#0000ff">css/</pre> - all css files<br/>
							<pre style="color:#999">declare_event.css</pre> is used with newcss.css; for event and home page display<br/>
							<pre style="color:#999">declare_white.css</pre> is used with newcss.css; for most pages other than events<br/>
							<pre style="color:#999">eflyer_gray.xml</pre> is used for eflyer in the gray tone<br/>
							<pre style="color:#999">eflyer_yellow.xml</pre> is used for eflyer in the yellow tone<br/>
							<pre style="color:#999">eflyer_blue.xml</pre> is used for eflyer in the blue tone<br/>
							<pre style="color:#999">flyout_ie.css</pre> is a special dropdown menu style; It is only used for ie6<br/>
							<pre style="color:#999">newcss_ie.css</pre> is used with the declare_xxx.css; It contains the display styles for header, footer, top menu and side bar.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">en/</pre> - all English xml<br/></htmldata></list>
						<list><htmldata><pre style="color:#0000ff">includes/</pre> - files to be included by php<br/></htmldata>
							<listContent>
								<list><htmldata><pre style="color:#0066ff">MM_XSLTransform/</pre><br/>
								<pre style="color:#999">MM_XSLTransform.class.php</pre> is used to transform xml with the associated xslt.</htmldata></list>
							</listContent>
						</list>
						<list><htmldata><pre style="color:#0000ff">js/</pre> - the javascript files<br/>
							<pre style="color:#999">show_hide_div.js</pre> is used in calendar to pop up more information of an event when mouse over.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">xsl/</pre> - the presentation files<br/>
							<pre style="color:#999">calendar.xsl</pre> is used by all calendar pages (calendar/*.xml)<br/>
							<pre style="color:#999">classes.xsl</pre> is only used by the classes summary page (classes/summary.xml); All study group pages are using declaration.xsl file.<br/>
							<pre style="color:#999">contactus.xsl</pre> is only used by contact us page (about/contactus.xml)<br/>
							<pre style="color:#999">declaration.xsl</pre> is used by any non-eflyer page that has no exceptions.<br/>
							<pre style="color:#999">document.xsl</pre> is an include file. Most xsl files include this file. It handles the presentation of the main content.<br/>
							<pre style="color:#999">document_inline.xsl</pre> is an include file similar to document.xsl. It is derived from document.xsl and is only included by the eflyer.xsl. The stylesheets are transferred in inline format instead of linked externally. This is because most web email servers ignore all the linked stylesheets and/or embeded stylesheets. Only inline stylesheet is preserved. In order to have seamless appearence when send an eflyer via email, we CANNOT simply link the external css. First of all, the traditional css file is now presented in xml. And then, this .xsl file places all the style delared in the xml file into the inline format. <br/>
							<pre style="color:#999">eflyer.xsl</pre> is used by eflyer pages; Unlike declaration.xsl, it doesn't have side bar nor the top menu. The header and footer are also handled in different way.<br/>
							<pre style="color:#999">events.xsl</pre> is used by all event pages (events/*.xml)<br/>
							<pre style="color:#999">index.xsl</pre> is only used by the home page (index.xml)<br/>
							<pre style="color:#999">navigation.xsl</pre> is an include file. All xsl file must include this file. It handles the presentation of the header, footer, top menu, and side bar.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">zh-TW/</pre> - the Chinese version<br/>
							<pre style="color:#999">index.xml</pre> is the home page<br/>
							<pre style="color:#999">navigation.xml</pre> is an include file. All xml files refer to this file.</htmldata>
							<listContent>
								<list><htmldata><pre style="color:#0066ff">about/</pre> - all pages under 關於<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">calendar/</pre> - all pages under 活動月曆<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">classes/</pre> - all pages under 讀書會<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">community/</pre> - all pages under 社區服務<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">downloads/</pre> - all pages under 下載<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">eflyers/</pre> - all eflyer pages<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">events/</pre> - all pages under 活動資訊<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">libray/</pre> - all pages under 藏書<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">newsletters/</pre> - all pages under 菩提會訊<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">offrecord/</pre> - all pages not to be accessed by the public<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">recipes/</pre> - all pages under 創意廚房<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">resources/</pre> - all pages under 資源<br/></htmldata></list>
								<list><htmldata><pre style="color:#0066ff">teachers/</pre> - all pages under 師長檔案<br/></htmldata></list>
							</listContent>
						</list>
						<list><htmldata><pre style="color:#0000ff">en/</pre> - the English version<br/>Its subfolders are the same as zh-TW.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">photos/</pre> - the images used by a specific xml file<br/>Its subfolders are the same as zh-TW.</htmldata></list>
						<list><htmldata><pre style="color:#0000ff">images/</pre> - the images shared by all xml files</htmldata></list>
					</listContent>
				</list>
			</listContent>
		</textBlock>

		<textBlock>
			<blockTitle id="InstallWampServer">Install WampServer (Apache, PHP, and MySQL)</blockTitle>
			<blockTitle style="color:#888">1. Install WampServer</blockTitle>
			<textContent>Please go to <a href="http://www.wampserver.com/en/download.php" target="_blank">http://www.wampserver.com/en/download.php</a> and click on DOWNLOAD WampServer 2.0. I found this website provided the easiest way to install Apache, php, and MySQL all in one. I installed an older version a year ago. Unlike others, I didn't do anything to make it work. I set my WampServer directory to 'wamp'.</textContent>
		</textBlock>
		
		<textBlock>
		<blockTitle style="color:#888">2. Start WampServer</blockTitle>
		<textContent>Locate the Start WampServer Icon from your desktop and double click it to start the Apache web server. You should see a half circle white icon (meter) in your task bar (on the right of the very bottom line in your screen). Meter icon with some red inside means the services are stopped. Meter icon with some yellow inside means the services are starting. Meter icon with all white inside means the services are running normally.</textContent>
		</textBlock>
		
		<textBlock>
			<blockTitle style="color:#888">3. Create a Sub-Directory Named 'mahabodhi' Under C:/wamp</blockTitle>
			<textContent>Create a new folder named 'mahabodhi' under c:/wamp. Copy the files listed in the <a href="#FileStructure">File Structure vs. Site Map to this new folder.</a> You don't have to copy all the xml files. But files with file extension other than .xml should be copied.</textContent>
		</textBlock>
		
		<textBlock>
			<blockTitle style="color:#888">4. Create a Virtual Host to Simulate http://mahabodhi.org</blockTitle>
			<listContent>
				<list>Open file C:/wamp/bin/apache/apache2.2.8/conf/httpd.conf with Nodepad.</list>
				<list>Press ctrl-F to find "httpd-vhosts.conf" in the file</list>
				<list>Uncomment "#Include conf/extra/httpd-vhosts.conf" by removing the '#' sign to include the Virtual Host configuration.</list>
				<list><htmldata>Open file C:/wamp/bin/apache/apache2.2.8/confextra/httpd-vhosts.conf with Nodepad. Add the following declarations to the end of file<br/>
<pre>
&lt;VirtualHost *:80&gt;
  ServerAdmin webmaster@mahabodhi
	DocumentRoot "c:/wamp/mahabodhi/"
	ServerName  mahabodhi
	ErrorLog "c:/wamp/mahabodhi/_logs/error.log"

  &lt;Directory "c:/wamp/mahabodhi/"&gt;
    Options All
    AllowOverride All
    order allow,deny
    allow from all
  &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre></htmldata></list></listContent>
		</textBlock>
		
		<textBlock>
			<blockTitle style="color:#888">5. Let Windows OS Know About This Too</blockTitle>
			<listContent>
				<list>Open "C:\WINDOWS\system32\drivers\etc\hosts" with Notepad (this file has no file extension).</list>
				<list>Add a line "127.0.0.1 mahabodhi" at the end of the file.</list>
			</listContent>
		</textBlock>
			
		<textBlock>
			<textContent>From now on you can test your changes locally by opening a web browser (ff, ie,...) first. Type in "http://mahabodhi/index.php" or "http://mahabodhi/zh-TW/index.xml" to access the home page. To access other xml files please refer to <a href="#FileStructure">File Structure vs. Site Map</a>. The base path is "http://mahabodhi" for your local web server and "http://mahabodhi.org" is still used to acesss your remote web server.</textContent>
		</textBlock>

		<textBlock>
			<blockTitle id="ThingsToKnowWhenWritingXML">Few things to know to be a good xml writer</blockTitle>
			<listContent>
				<list>Use '&amp;amp;' for '&amp;' symbol; use '&amp;lt;' for '&lt;'; use '&amp;gt;' for '&gt;'</list>
				<list>Don't use '&lt;' or '>' in your content; especially '&lt;'; '&lt;' is a special character to all xml and html file. It is a symbol to tell browser that a tag is starting.</list>
				<list>Don't leave unnecessary space or new line in your content. They might show when browser interprets your xml file. It is hard for me to explain this. So just leaving no extra space or new line is the best rule to follow.</list>
				<list>Indent your xml tag in a nice way; it helps you to spot the uneven tags; I set my indentation to 2 blank spaces;</list>
				<list>Be consistent with your punctuation. If content is Chinese please use Chinese punctuation.</list>
				<list>Unlike html, xml is a strict language. The tag HAS TO be closed! Two way to do this: &lt;tag&gt;....&lt;/tag&gt; (tag with value) or &lt;tag/&gt; (tag without value). If you are using an xml editor, the editor should take care this for you.</list>
				<list>Don't use &amp;nbsp; in your content; the xml interpreter don't recognize '&amp;nbsp;'; Very sad!</list>
				<list>Place your file in the proper folder. This help others to find the file and understand the site quickly.</list>
			</listContent>
		</textBlock>
		
		<textBlock>
			<blockTitle id="ThingsToKnowWhenEditCalendar">Few extra things to know when editing a calendar</blockTitle>
			<listContent>
				<list>Copy an old calendar file, place it to the proper folder (year), and then rename it to the proper name (month)</list>
				<list>Replace the old currMonth.xml under the calendar folder with the the new latest calendar. This is a duplicated copy. Since the latest calendar is referred by several pages, it is better to have one fix place and name for those pages to refer to.</list>
				<list>Update the previous month's calendar file so it can link to this newly created calendar.</list>
			</listContent>
		</textBlock>
		
		<textBlock>
			<blockTitle id="ThingsToKnowWhenEditEvent">Few extra things to know when editing an event</blockTitle>
			<listContent>
				<list></list>
			</listContent>
		</textBlock>
  </mainContent>
  
</page>