<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Web Design Training Blog</title>
	
	<link>http://web-design.blogs.webucator.com</link>
	<description>Trainer thoughts on web design techs and tools</description>
	<lastBuildDate>Mon, 14 Nov 2011 14:04:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WebDesignTrainingBlog" /><feedburner:info uri="webdesigntrainingblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>CSS3, Fonts, and Legal Issues</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/kk_T8uYDX0c/</link>
		<comments>http://web-design.blogs.webucator.com/2011/11/09/css3-fonts-and-legal-issues/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 21:44:06 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Copyright]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[Typography]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=455</guid>
		<description><![CDATA[Among other hot CSS3 topics, bloggers are buzzing about @font-face. A frequently overlooked topic are the legal issues associated with this new design capability.   The @font-face rule allows designers to upload any font, which the browser will download to render the page for the client. This means that designers can work outside of the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F11%2F09%2Fcss3-fonts-and-legal-issues%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F11%2F09%2Fcss3-fonts-and-legal-issues%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Among other hot CSS3 topics, bloggers are buzzing about @font-face. A frequently overlooked topic are the legal issues associated with this new design capability.  <span id="more-455"></span></p>
<p>The @font-face rule allows designers to upload any font, which the browser will download to render the page for the client. This means that designers can work outside of the traditional web safe fonts.  The rule:</p>
<p>@font-face {</p>
<p>font-family : &#8216;FontName&#8217; ;</p>
<p>src : url (&#8216;link&#8217;) ;</p>
<p>}</p>
<p>For more in-depth information on using the rule, visit <a href="http://www.w3.org/TR/css3-fonts/">w3.org</a>.</p>
<p>After overcoming the initial excitement of the design possibilities, it&#8217;s important to consider a few legal issues.</p>
<h3></h3>
<p>&nbsp;</p>
<h3>Font Copyright</h3>
<p>Unless you created the font yourself, there&#8217;s a proud designer out there who would like credit for their lovely font! Be sure to add attribution in the code. For example:</p>
<p>/* Font created by Jane Smith (link) */</p>
<p>&nbsp;</p>
<h3>Font Licensing</h3>
<p>Where did you get the font from and what are the regulations associated with it? It&#8217;s so easy to browse through <a href="http://www.dafont.com/">dafont.com</a> or <a href="http://www.fontspace.com/">fontspace.com</a> and just download font after font. Are there limitations for using the font? Is it for personal or commercial use? Remember to keep track of the licensing regulations before publishing it for thousands or millions of website visitors to see!</p>
<p>&nbsp;</p>
<h3>Font Piracy</h3>
<p>Hopefully no one would do this, but it&#8217;s possible to go to a person&#8217;s website and download their font files! Be sure to consider this before uploading $1,000 worth of fonts for your website.</p>
<p>(Note: As was pointed out in the comment section of this post by Brian Love, you can protect your fonts on the web. Be sure to do this! Here is a link to instructions on <a href="http://blog.typekit.com/2009/07/21/serving-and-protecting-fonts-on-the-web/">protecting your fonts</a>.)</p>
<p>&nbsp;</p>
<h3>Your Responsibility</h3>
<p>As with any new development, it&#8217;s exciting to try out this new capability right away! As you do, keep your fellow designer in mind and consider these issues of copyright, licensing, and piracy.</p>
<p>&nbsp;</p>
<p>To learn more about web design, consider our <a href="http://www.webucator.com/webdesign/css.cfm">CSS Training</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/kk_T8uYDX0c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/11/09/css3-fonts-and-legal-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/11/09/css3-fonts-and-legal-issues/</feedburner:origLink></item>
		<item>
		<title>Social Media from a Web Developer’s Perspective</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/29XXdggYMTw/</link>
		<comments>http://web-design.blogs.webucator.com/2011/11/01/social-media-from-a-web-developer%e2%80%99s-perspective/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 18:51:07 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[career advice]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=449</guid>
		<description><![CDATA[Americans spend more time on Facebook than any other website, according to a recent Nielson study. In general, Americans spend a quarter of their Internet time on social sites. For web developers, jumping into the social trend is a must. To help students in our web design training and web development training classes, we reached [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F11%2F01%2Fsocial-media-from-a-web-developer%25e2%2580%2599s-perspective%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F11%2F01%2Fsocial-media-from-a-web-developer%25e2%2580%2599s-perspective%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Americans spend more time on Facebook than any other website, according to a recent <a href="http://blog.nielsen.com/nielsenwire/online_mobile/social-media-report-spending-time-money-and-going-mobile/">Nielson study</a>. In general, Americans spend a quarter of their Internet time on social sites. For web developers, jumping into the social trend is a must.</p>
<p>To help students in our <a href="http://www.webucator.com/webdesign/index.cfm">web design training</a> and <a href="http://www.webucator.com/webdev/index.cfm">web development training</a> classes, we reached out to an expert on social site development. We asked Paul deGrandis, a developer who has worked at social sites such as Etsy and Tutorspree, for his perspective on the social trend. <span id="more-449"></span></p>
<p>&nbsp;</p>
<p><em>Q: Paul, can you tell us about the social sites you have worked on?</em></p>
<p>A:  I was an early hire at <a href="http://www.etsy.com/">Etsy.com</a>. I founded and successfully exited my own startup, <a href="http://beta.rshelf.com/">OurShelf</a>. Then, I worked in online social games for a little while with <a href="http://pushbuttonlabs.com/">PushButton Labs</a>. Now I&#8217;m the VP of Engineering at <a href="http://www.tutorspree.com/">Tutorspree</a>, a YC-backed company.</p>
<p>&nbsp;</p>
<p><em>Q: How does a social site approach it’s interaction with site visitors? </em></p>
<p>A: All of these companies aggressively searched (and continue to search) on the best ways to apply and enhance social interactions online and offline to drive the product.</p>
<p>Both Tutorspree and Etsy face the same challenges: How do you connect the best people together, and help maintain and grow that relationship?</p>
<p>OurShelf was all about creating a social cataloging site. Empower users through everything they own and everyone they know.  The real goal was to build the best marketing/targeting data possible, put it in the hands of the consumers, and build useful applications that harness it.</p>
<p>&nbsp;</p>
<p><em>Q:</em><em> </em><em>How do you keep your skills sharp? </em></p>
<p>A: I keep my skills sharp by continually reading and learning new technologies, even if I don&#8217;t think I’ll use them in production work.  I also try to always contribute to an open source project too. I&#8217;ve instilled the same belief at Tutorspree, where we take Fridays to grow our individual skill sets and contribute to open source projects.  So, every week the entire team gets a little more talented than we were the week before.  We have &#8220;Teach Tuesdays&#8221; where an employee will give a lightning talk during lunch about any topic they choose, with the only goal to teach all the employees something new.</p>
<p><em> </em></p>
<p><em>Q: Do you have any suggestions for someone who would like to work in web development for a social site?</em></p>
<p>A: If you want to start working in social web, the best thing you can do is contribute to relevant open source projects that are used by social web startups.  From there, it&#8217;s an easy jump into commercial development (and most companies will happily hire you).<br />
Make the most of your experiences; every startup has something new that it can teach you.</p>
<p>&nbsp;</p>
<p>____</p>
<p>Paul deGrandis is the VP of Engineering for Tutorspree.  He loves metrics, taking on the impossible, and making lives better through technology. Previously Paul worked at PushButton Labs, Etsy.com, OurShelf, and SilverCloud Software as well as working in advanced research (DARPA). Visit his blog at <a href="http://www.pauldee.org/blog" target="_blank">http://www.pauldee.org/blog</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/29XXdggYMTw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/11/01/social-media-from-a-web-developer%e2%80%99s-perspective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/11/01/social-media-from-a-web-developer%e2%80%99s-perspective/</feedburner:origLink></item>
		<item>
		<title>Business Tips for Web Designers</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/UjC4YRltbaI/</link>
		<comments>http://web-design.blogs.webucator.com/2011/10/20/business-tips-for-web-designers/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 18:22:58 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=439</guid>
		<description><![CDATA[In addition to writing code and planning Web sites, freelance designers and developers need an arsenal of business skills. To help students in our our web design training classes, we asked an expert to provide his advice. The following guest post from Neil Tortorella provides advice on the business side of web design and development. The Business [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F20%2Fbusiness-tips-for-web-designers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F20%2Fbusiness-tips-for-web-designers%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><em>In addition to writing code and planning Web sites, freelance designers and developers need an arsenal of business skills. To help students in our our <a href="http://www.webucator.com/webdesign/index.cfm">web design training</a> classes, we asked an expert to provide his advice. The following guest post from Neil Tortorella provides advice on the business side of web design and development.</em></p>
<p><em><span id="more-439"></span><br />
</em></p>
<p><em> </em></p>
<p><strong> </strong></p>
<p style="padding-left: 30px"><strong>The Business of Freelance Web Design by Neil Tortorella</strong></p>
<p style="padding-left: 30px"><strong> </strong></p>
<p style="padding-left: 30px">Beyond writing code and designing, there are many skills web designers should know. This is, after all, a business. It makes little difference whether a designer is self-employed or working for a company. But, if one is self-employed, the imperative is perhaps a bit more important. They can’t usually rely on account executives, company administrators, various assistants and the likes to handle the numerous tasks needed to get things done.</p>
<p style="padding-left: 30px">
<p style="padding-left: 30px"><strong>Basic Business Skills</strong></p>
<p style="padding-left: 30px">Basic, yet essential, business skills are paramount. That means understanding how to communicate with clarity, both verbally and written. There will be proposals to write, presentations to give, memos and a myriad of other forms of communications, both to external and internal audiences.</p>
<p style="padding-left: 30px">
<p style="padding-left: 30px"><strong>Project Management</strong></p>
<p style="padding-left: 30px">Next up is project management. Web work can quickly become a tangled mess. And, it happens before you know it. Know your process and stick to it. If you trip up here you can easily string another loop around the noose. Process means to go from point A to point B in a predicable manner. In other words, the proposal gets approved; you get a check; get the content; do the layouts; get an approval; go into production, etc. It’s a foreseeable process and when things don’t go right, you can throw up the red flag.</p>
<p style="padding-left: 30px">
<p style="padding-left: 30px"><strong>Finance</strong></p>
<p style="padding-left: 30px">Money. You can only do so much for this or that amount. Keep an eye on the budget. Ideally, develop a “back out” budget. In other words, start from the end and work to the beginning. The problems will show up fairly quick.</p>
<p style="padding-left: 30px">
<p style="padding-left: 30px">If a client asks for something halfway through a project, think it through. How much time and expense will be involved? All too often, we designers simply say, “Sure. No problem.” Thinking it through can mean the difference between making some money, or losing your shirt.</p>
<p style="padding-left: 30px">
<p style="padding-left: 30px"><strong>Customer Relationships</strong></p>
<p style="padding-left: 30px">Beyond all that is the ability to simply get along with people. We often say we buy this or that from this or that company. In most cases, that’s not so. We don’t often buy from a faceless company. People buy from people … and usually people they like. So, it’s important to be likeable. But that likeability needs to be authentic. Care for your clients like a newborn babe. Nurture their needs. Find ways to help them be the best at whatever it is they do. If you do this simple thing, you’ll always be the hero.</p>
<p><strong>Want more from Neil Tortorella? You can order his book on <a href="http://web-design.blogs.webucator.com/www.webucator.com/contests/learn-web-design-package-giveaway.cfm">Amazon</a>, or enter our <a href="http://www.webucator.com/contests/learn-web-design-package-giveaway.cfm">contest</a> to win a free copy plus a web design class. </strong></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/UjC4YRltbaI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/10/20/business-tips-for-web-designers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/10/20/business-tips-for-web-designers/</feedburner:origLink></item>
		<item>
		<title>Develop your Web Design Career</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/uGUjUisWDA4/</link>
		<comments>http://web-design.blogs.webucator.com/2011/10/18/develop-your-web-design-career/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 20:01:39 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=437</guid>
		<description><![CDATA[Neil Tortorella calls himself a “designosaur.” Why? He’s been a designer since the 80s. Originally a graphic designer, he switched to web design in the early years of AOL’s release.   “Back then we all did strange stuff, mostly because we were pretty much clueless,” Tortorella says. “Flaming, spinning logos. Metaphor designs and all such weirdness.” [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F18%2Fdevelop-your-web-design-career%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F18%2Fdevelop-your-web-design-career%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Neil Tortorella calls himself a “designosaur.” Why? He’s been a designer since the 80s.</p>
<p>Originally a graphic designer, he switched to web design in the early years of AOL’s release.   “Back then we all did strange stuff, mostly because we were pretty much clueless,” Tortorella says. “Flaming, spinning logos. Metaphor designs and all such weirdness.”</p>
<p>Web design has come a long way since the blinking images and scrolling text of the 90s, and so has Tortorella. He now has a successful career as a web designer and has recently published a book, <em><a href="http://www.amazon.com/Starting-Your-Career-Freelance-Designer/dp/1581158599/">Starting Your Career as a Freelance Web Designer</a></em>.  We asked Tortorella the three essential questions commonly asked by newbie web designers from our <a href="http://www.webucator.com/webdesign/index.cfm">web design training</a> classes.  Here are his thoughts. <span id="more-437"></span></p>
<p><strong> </strong></p>
<p><strong>Question: What training and preparation do you recommend for someone looking to design web pages?</strong></p>
<p><strong>Tortorella’s Advice</strong>: Web design is continually evolving enterprise. Technologies are forever changing. It can be frustrating. Just when you think you’ve got things handled, they change the rules. So, a commitment to training is imperative.</p>
<p>Whether a designer/developer went to school or is self-taught, the trick, if there is one, is to keep it up. Buy a book. Sign up for a class. The easiest way, I believe, to keep up is to simply read and do. There are loads and loads of free tutorials on the web.</p>
<p>The bottom line is to know your craft intimately. Find the way you learn. Some folks learn best in a formal classroom setting. Others learn on their own by reading. Still others learn by watching videos and such. Find what works for you and make a commitment to keep it up. What you learn today will be out-of-date tomorrow.</p>
<p><strong>Question:  What are your biggest frustrations as a web designer? Do you have any recommendations for how others might deal with the same problems</strong>?</p>
<p><strong>Tortorella’s Advice</strong>:  Every project has its frustrations. Some are bigger than others. Tracking down content material. People going on vacation. Wrong formats. Unrealistic delivery expectations. Cross-browser and cross-platform issues. Finding a script that does what you need. The list goes on and on.</p>
<p>Probably, the biggest frustration is poor communication. I believe it’s the designer/developer’s responsibility to clearly communicate how this stuff works.</p>
<p>It’s important to remember that the designer/developer and the client speak different languages. We, as designers, work with web design every day. Clients don’t. They simply want a site that works, does what it’s supposed to and hopefully completed within a reasonable amount of time and money.</p>
<p>Remember to spell things out in common language. Describe it. Explain it. Put yourself in the client’s position and speak or write from there.</p>
<p><strong>Question: What advice do you have for someone starting a freelance career?</strong></p>
<p><strong>Tortorella’s Advice</strong>:   When one works for a company, churning out sites on a full time basis, things are often fairly clear-cut. The project comes in … the project goes out. The designer comes in at eight or nine and goes home at five. Sort of. Nonetheless, it’s predicable.</p>
<p>For the moonlighter, things are not always so easily packaged. It’s a serious trick to blend life with work. The solution seems to be in the planning.</p>
<p>Striking a balance between work and life can be a challenge. What are you willing to give up? You need time to go to work each day; do the side work; keep up your training; do the billing and other tasks; make dinner and the laundry; pick up little Jonnie from soccer practice and meet or email your clients with progress reports. It’s, in a word, exhausting. Yet it can be done.</p>
<p>Plan your time. How much can you devote to side projects after hours? Plot out your personal time. When do you need to pick up the kids? When do you need to cook dinner and clean the house? Can you take an entire Saturday to work on client stuff, or should you trim the hedges and mow the lawn? How much time is left?</p>
<p>Our lives are measured in hours, minutes and seconds. How much will you devote to work and personal time is really up to you. But remember, time is a non-renewable resource. When time is gone, it’s gone.</p>
<p>Envision your life and your work and then, in the words of Nike®, “Just do it.”</p>
<p><strong>Want more from Neil Tortorella? You can order his book on <a href="http://web-design.blogs.webucator.com/www.webucator.com/contests/learn-web-design-package-giveaway.cfm">Amazon</a>, or enter our <a href="http://www.webucator.com/contests/learn-web-design-package-giveaway.cfm">contest</a> to win a free copy plus a web design class. </strong></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/uGUjUisWDA4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/10/18/develop-your-web-design-career/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/10/18/develop-your-web-design-career/</feedburner:origLink></item>
		<item>
		<title>Two Introduction to Web Design Webinars</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/K2AbEQ7HoWM/</link>
		<comments>http://web-design.blogs.webucator.com/2011/10/13/two-introduction-to-web-design-webinars/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 19:17:34 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=444</guid>
		<description><![CDATA[If you&#8217;ve ever wondered how to learn web design, these webinars are the answer! These two webinars introduce attendees to the basics of web design and key web design concepts. Those interested in learning Dreamweaver should attend “Get Started with Adobe Dreamweaver” on October 27. Anyone looking to learn HTML is invited to “Introduction to HTML” on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F13%2Ftwo-introduction-to-web-design-webinars%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F13%2Ftwo-introduction-to-web-design-webinars%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>If you&#8217;ve ever wondered how to learn web design, these webinars are the answer! These two webinars introduce attendees to the basics of web design and key web design concepts. Those interested in learning Dreamweaver should attend “Get Started with Adobe Dreamweaver” on October 27. Anyone looking to learn HTML is invited to “Introduction to HTML” on December 14. Each webinar will provide helpful tips and suggest key resources. Below are the details for both webinars.</p>
<p><span id="more-444"></span></p>
<h3>Web Design Webinars</h3>
<p><strong>Get Started with Adobe Dreamweaver Webinar</strong>: This webinar will discuss the capabilities of Dreamweaver and talk about planning your website. Attendees will learn about the interface, get a quick introduction to the tools, and watch as a very simple HTML page is created. There will also be Introduction to Dreamweaver course giveaways! Webinar will be held on October 27 at 1pm ET. Click to sign up for the <a title="Dreamweaver Webinar" href="http://www.webucator.com/webinars/getstartedwithadobedreamweaver.cfm?utm_source=PRweb&amp;utm_medium=Release&amp;utm_campaign=WebDWebinar">Dreamweaver webinar</a>.</p>
<p><strong>Introduction to HTML Webinar</strong>: This webinar will explore basics of web design, the evolution of HTML, and the basic structure of an HTML page. Attendees will learn about resources to help them develop their web design skills. Selected attendees will win a free Introduction to HTML course. The webinar is scheduled for December 14 at 1pm ET. Click to sign up for the <a title="HTML webinar" href="http://www.webucator.com/webinars/introduction-html.cfm?utm_source=PRweb&amp;utm_medium=Release&amp;utm_campaign=WebDWebinar">HTML webinar</a>.</p>
<h3>About the presenter</h3>
<p>Allison Kenien has a passion for publishing content, both on the web and in print. She has a wide range of experience with Adobe products, including Dreamweaver, InDesign, Illustrator, and Acrobat. She is the manager for the Syracuse Adobe User Group. Connect with her on Twitter @AllisonKenien.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/K2AbEQ7HoWM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/10/13/two-introduction-to-web-design-webinars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/10/13/two-introduction-to-web-design-webinars/</feedburner:origLink></item>
		<item>
		<title>Create iPhone Apps: Tips to Get You Started</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/az4Ntx2SvTE/</link>
		<comments>http://web-design.blogs.webucator.com/2011/10/07/create-iphone-apps-tips-to-get-you-started/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 18:55:42 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[App Developers]]></category>
		<category><![CDATA[App Development]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[Create iPhone Apps]]></category>
		<category><![CDATA[Creating iPhone Apps]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=426</guid>
		<description><![CDATA[When Apple announced their iPhone 4S on October 4, their website crashed, likely because of the high volume of traffic. As the iPhone trend continues to explode, seasoned programmers and IT newbies a like face an exciting new career option: iPhone app development. To help students in our iPhone training classes, we asked successful iPhone [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F07%2Fcreate-iphone-apps-tips-to-get-you-started%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F10%2F07%2Fcreate-iphone-apps-tips-to-get-you-started%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>When Apple announced their iPhone 4S on October 4, their website crashed, likely because of the high volume of traffic. As the iPhone trend continues to explode, seasoned programmers and IT newbies a like face an exciting new career option: iPhone app development. To help students in our <a href="http://www.webucator.com/programming/iphone-ipad.cfm">iPhone training</a> classes, we asked successful iPhone developers for their best advice on developing apps.</p>
<p>Meet Raphael Caixeta and Gavin Miller. Caixeta is the co-founder of Grip’d, a web and iOS development and marketing company. His projects have received attention from Techcrunch, Mashable, Lifehacker and more. Miller is the co-owner of RANDOMTYPE, a company specializing in web strategy, design, and development. His projects include web development work for Nissan USA, development of video encoding and compression software, and of course developing iPhone apps.</p>
<p>Here are insights on creating apps from the developers.</p>
<p><span id="more-426"></span></p>
<h3>When you spot a good opportunity to build iPhone apps, jump on it!</h3>
<p>When the city of Calgary announced that they would be releasing real-time traffic data on the web, Gavin Miller recognized the opportunity for a useful iPhone app. “I literally called up my business partner and says we have to do this,” Miller says. “Parking in downtown Calgary can be a nightmare, and so the chance to make it easier for people was such a draw for me.”  Miller ended up developing an app called <a href="http://itunes.apple.com/ca/app/yycparking/id460852653?mt=8">yycParking</a>, which keeps users updated on parking availability, directions, and lot information.  “We&#8217;ve gotten some local press from the app, and we&#8217;re currently talking with the city about how we can work with them to do more with the app,” Miller says. “It&#8217;s turned out to be a bigger splash than we thought!”</p>
<h3>Take on Challenging App Development Projects</h3>
<p>When Raphael Caixeta set out to develop his <a href="http://itunes.apple.com/us/app/qr-scanner/id377643590?mt=8">QR Scanner</a> iPhone app, he faced an enormous amount of work.  “I had no idea what I was doing when it came to 90% of the application and had to figure everything out &#8211; with very little help!” Caixeta says. Although he faced a challenge, he jumped in and eventually developed a successful app. “It&#8217;s all paid off,” he says. “Every day when I look at the downloads number from iTunes I get more and more excited that so many people are using something I&#8217;ve made.”</p>
<h3>Make Creating Apps a Fun Project</h3>
<p>When Gavin Miller set out to create a game app, he was determined to get it done quickly and enjoy the process.  “This was the second app I created, and I did it during a 24 hour code-a-thon,” Miller says. “The goal was to build a game (something I hadn&#8217;t done before) over the course of 24 hours. It was a ton of fun. I picked something silly like lolcats so that my interest wouldn&#8217;t wane over the project, and I was able to get 95% done. I spent the next week doing bug fixes and released it to the app store.”</p>
<h3>Connect with Other App Developers</h3>
<p>The web is packed with app development experts, resources, and advice. Caixeta recommends <a href="http://stackoverflow.com/" target="_blank">StackOverflow.com</a>, <a href="http://reddit.com/r/simpleios" target="_blank">Reddit.com/r/simpleios</a>, and <a href="http://developer.apple.com/devcenter/ios/index.action" target="_blank">Apple iOS Dev Center</a>. “ There are so many great developer communities on the web today that are willing to point you in the right direction and help you figure out whatever problems you may be having,” Caixeta says. “Google is also a great friend, don&#8217;t ever underestimate Google. If you get stuck somewhere or don&#8217;t know how to do something, chances are Google has already helped someone find the solution to the very same problem.”</p>
<h3>Get Started</h3>
<p>“Don&#8217;t keep finding excuses not to do something you&#8217;re itching to do,” Caixeta says. “It&#8217;ll probably be very hard in the beginning and you&#8217;ll come across a lot of different challenges, but if you stick through it, it&#8217;ll pay off in the end.”</p>
<p>Find Raphael Caixeta on Twitter <a href="http://twitter.com/#!/raphaelcaixeta">@raphaelcaixeta</a>. Find Gavin Miller on Twitter <a href="http://twitter.com/#!/gavingmiller">@gavingmiller</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/az4Ntx2SvTE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/10/07/create-iphone-apps-tips-to-get-you-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/10/07/create-iphone-apps-tips-to-get-you-started/</feedburner:origLink></item>
		<item>
		<title>Free Dreamweaver Tutorial and Webinar</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/vRnnyrN2Ehk/</link>
		<comments>http://web-design.blogs.webucator.com/2011/08/29/free-dreamweaver-tutorial-and-webinar/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 22:38:27 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=413</guid>
		<description><![CDATA[Do you want to learn how to use Dreamweaver? Webucator regularly provides Dreamweaver tutorials and Dreamweaver webinars. On October 27, our trainers will present a free Dreamweaver webinar to help you get started with this program! Click here to register. To get a sample of the content, check out the tutorial below, which shows you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F08%2F29%2Ffree-dreamweaver-tutorial-and-webinar%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F08%2F29%2Ffree-dreamweaver-tutorial-and-webinar%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Do you want to learn how to use Dreamweaver? Webucator regularly provides Dreamweaver tutorials and Dreamweaver webinars. On October 27, our trainers will present a free Dreamweaver webinar to help you get started with this program! <a title="Webinar Registration" href="http://www.webucator.com/webinars/getstartedwithadobedreamweaver.cfm?utm_source=Blog&amp;utm_medium=BlogPost&amp;utm_campaign=DWWebinar">Click here to register</a>. To get a sample of the content, check out the tutorial below, which shows you how to set up an HTML page in Dreamweaver. <span id="more-413"></span></p>
<h2 style="text-align: center">Dreamweaver Tutorial</h2>
<p style="text-align: center">[youtube:http://www.youtube.com/watch?v=zQXUGGZFvhA&amp;h=505&amp;w=640]</p>
<p><a title="Free Dreamweaver Webinar" href="http://www.webucator.com/webinars/getstartedwithadobedreamweaver.cfm?utm_source=Blog&amp;utm_medium=BlogPost&amp;utm_campaign=DWWebinar"><img src="http://farm7.static.flickr.com/6076/6093715283_2f49eff540_z.jpg" alt="Free Dreamweaver Webinar" width="600" height="105" /></a></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/vRnnyrN2Ehk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/08/29/free-dreamweaver-tutorial-and-webinar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/08/29/free-dreamweaver-tutorial-and-webinar/</feedburner:origLink></item>
		<item>
		<title>Understanding the CSS Inherit Value</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/40_jJi_vFwQ/</link>
		<comments>http://web-design.blogs.webucator.com/2011/07/18/understanding-the-css-inherit-value/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 11:40:41 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=405</guid>
		<description><![CDATA[I had a student ask to see an example of the inherit property in CSS. It is a little hard to demonstrate, because most of the time the property does not change anything as it is the default value in most cases. However, it can be used to turn off the default browser-assigned property of [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F07%2F18%2Funderstanding-the-css-inherit-value%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F07%2F18%2Funderstanding-the-css-inherit-value%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I had a student ask to see an example of the <em>inherit</em> property in CSS. It is a little hard to demonstrate, because most of the time the property does not change anything as it is the default value in most cases. However, it can be used to <em>turn off</em> the default browser-assigned property of a tag.<span id="more-405"></span></p>
<p>Very quickly for those new to the <em>inherit</em> property in CSS, when a property is assigned the <em>inherit</em> value it indicates that the property should be inherited from the parent element. This is default behavior in HTML. For example, take the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>The <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;em<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Inherit<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/em<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> Value<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>The text within the <code>em</code> tag will also be big and bold, because it inherits size and weight from the <code>h1</code> tag.</p>
<p>We can also use <code>inherit</code> to turn off default properties. For example, look at the following CSS:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">p <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
em <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The rule for <code>p</code> sets the <code>font-style</code> of paragraphs to <em>none</em>, which means plain, non-italicized text. <em>We don&#8217;t really have to do this as the default value for <code>font-style</code> for paragraphs is</em> none.</p>
<p>Now take a look at this HTML:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Even the word <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;em<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>inherit<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/em<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> isn't italicized.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>The <code>em</code> tag will now inherit the <em>none</em> value from the containing <code>p</code> tag. We also set the <code>text-decoration</code> property to <em>underline</em>, so we can still see that the tag&#8217;s content is emphasized:</p>
<p><img src="http://web-design.blogs.webucator.com/files/2011/07/071811_1140_Understandi1.gif" alt="" /></p>
<p>I hope that gives a better understanding of how <code>inherit</code> works. This is also covered in our <a href="http://www.webucator.com/webdesign/course/introduction-css-training.cfm">CSS classes</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/40_jJi_vFwQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/07/18/understanding-the-css-inherit-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/07/18/understanding-the-css-inherit-value/</feedburner:origLink></item>
		<item>
		<title>Regular Expression Tester</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/rVL18gso768/</link>
		<comments>http://web-design.blogs.webucator.com/2011/06/06/regular-expression-tester/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 19:15:56 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=401</guid>
		<description><![CDATA[I know there are a lot out there already, but we built a simple regular expression tester for use in our Intro to PHP class and Advanced JavaScript class.  I&#8217;ve made the tester publicly available here: Regular Expression Tester. Happy regexing!]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F06%2F06%2Fregular-expression-tester%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F06%2F06%2Fregular-expression-tester%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I know there are a lot out there already, but we built a simple regular expression tester for use in our <a href="http://www.webucator.com/webdev/course/introduction-php-training.cfm">Intro to PHP class</a> and <a href="http://www.webucator.com/webdesign/course/advanced-javascript-programming.cfm">Advanced JavaScript class</a>.  I&#8217;ve made the tester publicly available here: <a href="http://www.webucator.com/resources/regex-tester.cfm">Regular Expression Tester</a>. Happy regexing!</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/rVL18gso768" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/06/06/regular-expression-tester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/06/06/regular-expression-tester/</feedburner:origLink></item>
		<item>
		<title>Dreamweaver CS5 and PHP/MySQL Total Connectivity Webinars</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/OPFeKOSr7U4/</link>
		<comments>http://web-design.blogs.webucator.com/2011/05/04/dreamweaver-cs5-and-phpmysql-total-connectivity-webinars/#comments</comments>
		<pubDate>Wed, 04 May 2011 00:21:58 +0000</pubDate>
		<dc:creator>akenien</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=394</guid>
		<description><![CDATA[Get set up with PHP/MySQL using DreamWeaver CS5 and XAMPP! These recorded webinars show you everything you need to know! Dreamweaver CS5 and PHP/MySQL Total Connectivity: Part One [youtube:http://www.youtube.com/watch?v=0XdGfsM750Q&#38;h=505&#38;w=640] Dreamweaver CS5 and PHP/MySQL Total Connectivity: Part Two [youtube:http://www.youtube.com/watch?v=yM89ys87Ras&#38;h=505&#38;w=640] Learn more about our web design training. Hear about our latest webinars by subscribing to our newsletter. Click [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F05%2F04%2Fdreamweaver-cs5-and-phpmysql-total-connectivity-webinars%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F05%2F04%2Fdreamweaver-cs5-and-phpmysql-total-connectivity-webinars%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Get set up with PHP/MySQL using DreamWeaver CS5 and XAMPP! These recorded webinars show you everything you need to know!<span id="more-394"></span></p>
<h3 style="text-align: center">Dreamweaver CS5 and PHP/MySQL Total Connectivity: Part One</h3>
<p style="text-align: center">[youtube:http://www.youtube.com/watch?v=0XdGfsM750Q&amp;h=505&amp;w=640]</p>
<h3 style="text-align: center">Dreamweaver CS5 and PHP/MySQL Total Connectivity: Part Two</h3>
<p style="text-align: center">[youtube:http://www.youtube.com/watch?v=yM89ys87Ras&amp;h=505&amp;w=640]</p>
<p>Learn more about our <a href="http://www.webucator.com/webdesign/index.cfm?utm_source=Blog&amp;utm_medium=Post&amp;utm_campaign=WebDesignBlog">web design training</a>. <strong>Hear about our latest webinars by subscribing to our newsletter.</strong><strong> </strong><strong><a href="http://www.webucator.com/webunews/index.cfm">Click here to subscribe.</a></strong></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/OPFeKOSr7U4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/05/04/dreamweaver-cs5-and-phpmysql-total-connectivity-webinars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/05/04/dreamweaver-cs5-and-phpmysql-total-connectivity-webinars/</feedburner:origLink></item>
		<item>
		<title>Testing Web Pages in Old Versions of IE with Virtual PC</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/b_Y8Tba4tzA/</link>
		<comments>http://web-design.blogs.webucator.com/2011/03/11/testing-web-pages-in-old-versions-of-ie-with-virtual-pc/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 19:05:21 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=390</guid>
		<description><![CDATA[Testing on old versions of Internet Explorer can be a pain. I have used IE Tester a lot and it used to do a pretty good job, but lately it has been having trouble with IE7 and IE8. One of my colleagues recently told me about these Virtual PC images provided by Microsoft explicitly for [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F03%2F11%2Ftesting-web-pages-in-old-versions-of-ie-with-virtual-pc%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F03%2F11%2Ftesting-web-pages-in-old-versions-of-ie-with-virtual-pc%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Testing on old versions of Internet Explorer can be a pain. I have used <a href="http://www.my-debugbar.com/wiki/IETester/HomePage">IE Tester</a> a lot and it used to do a pretty good job, but lately it has been having trouble with IE7 and IE8.</p>
<p>One of my colleagues recently told me about <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&amp;displaylang=en">these Virtual PC images</a> provided by Microsoft explicitly for testing web pages on older versions of Internet Explorer.  I downloaded and installed XPSP3-IE6.EXE, XPSP3-IE7.EXE, and XPSP3-IE8.EXE .<span id="more-390"></span></p>
<p>I didn&#8217;t want to have to move files from my main machine to each of the VMs every time I need to test, so I tried to map a drive to a shared folder.  But that didn&#8217;t work.  The correct way (at least the way that worked for me) is to enable Integration Services.   It took a while to figure out just how to do that, but I finally got it working.  As the VMs time out and need to be reinstalled every few months, I knew I&#8217;d have to go through this process again, so I figured I&#8217;d document it.  Here&#8217;s the way I did it:</p>
<ol>
<li>Set the Password for <strong>IE User</strong> in <strong>Computer Management</strong>: <img src="http://web-design.blogs.webucator.com/files/2011/03/031111_1905_TestingWebP1.png" alt="" /></li>
<li>Select <strong>Enable Integration Services</strong> from the <strong>Tools</strong> menu.</li>
<li>If prompted to Download Updates, download and run them.</li>
<li>You&#8217;ll be prompted to restart.  Do so.</li>
<li>Again, select <strong>Enable Integration Services</strong> from the <strong>Tools</strong> menu.</li>
<li>Select <strong>Settings</strong> from the Tools menu.</li>
<li>Click on <strong>Integration Services</strong> in the left panel.  Make sure the drive containing the files you want to test is checked.<img src="http://web-design.blogs.webucator.com/files/2011/03/031111_1905_TestingWebP2.png" alt="" /></li>
<li>Close and Reopen Virtual PC and log into Windows.  You should now see the drive available in your <strong>Computer</strong> folder.</li>
</ol>
<p>I hope this helps make the process easier for someone else (and for me when I need to go through it again).</p>
<p>Happy testing!</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/b_Y8Tba4tzA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/03/11/testing-web-pages-in-old-versions-of-ie-with-virtual-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/03/11/testing-web-pages-in-old-versions-of-ie-with-virtual-pc/</feedburner:origLink></item>
		<item>
		<title>JavaScript Division by Zero and Infinity</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/uf8da4nVcic/</link>
		<comments>http://web-design.blogs.webucator.com/2011/03/03/javascript-division-by-zero-and-infinity/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 13:21:52 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=381</guid>
		<description><![CDATA[In JavaScript, division by zero does not cause an error. Instead, it evaluates to Infinity, which is a reserved word (note the capital &#8220;I&#8221;). To see this, run the following code: alert&#40;5/0&#41;; You&#8217;ll get an alert that reads &#8220;Infinity&#8221;, which is a number: alert&#40;typeof Infinity&#41;; //number alert&#40;isNaN&#40;Infinity&#41;&#41;; //false You can check for an infinite number [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F03%2F03%2Fjavascript-division-by-zero-and-infinity%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F03%2F03%2Fjavascript-division-by-zero-and-infinity%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In JavaScript, division by zero does not cause an error. Instead, it evaluates to <code>Infinity</code>, which is a reserved word (note the capital &#8220;I&#8221;). To see this, run the following code:<span id="more-381"></span></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">5</span><span style="color: #339933;">/</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You&#8217;ll get an alert that reads &#8220;Infinity&#8221;, which is a <code>number</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> Infinity<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//number</span>
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>isNaN<span style="color: #009900;">&#40;</span>Infinity<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//false</span></pre></div></div>

<p>You can check for an infinite number using the <code>isFinite()</code> function:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">isFinite<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">5</span><span style="color: #339933;">/</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//false</span></pre></div></div>

<p>There is also negative infinity:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">5</span><span style="color: #339933;">/</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//-Infinity</span></pre></div></div>

<p>Finally, numbers that are too big or too small for JavaScript to handle evaluate to <code>Infinity</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">pow</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">10</span><span style="color: #339933;">,</span><span style="color: #CC0000;">309</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//Infinity</span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/uf8da4nVcic" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/03/03/javascript-division-by-zero-and-infinity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/03/03/javascript-division-by-zero-and-infinity/</feedburner:origLink></item>
		<item>
		<title>XMLHttpRequest readyState bug in Opera</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/434tXTFbqzw/</link>
		<comments>http://web-design.blogs.webucator.com/2011/03/02/xmlhttprequest-readystate-bug-in-opera/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 22:44:18 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=376</guid>
		<description><![CDATA[The readyState holds the current state of an XMLHttpRequest object. It is generally used to see if the requested content has been received. According to the W3C specification: 0 = UNSENT 1 = OPENED 2 = HEADERS_RECEIVED 3 = LOADING 4 = DONE Here is a simple script to show how to use readyState to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F03%2F02%2Fxmlhttprequest-readystate-bug-in-opera%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F03%2F02%2Fxmlhttprequest-readystate-bug-in-opera%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The <strong>readyState</strong> holds the current state of an XMLHttpRequest object. It is generally used to see if the requested content has been received. According to the <a href="http://www.w3.org/TR/XMLHttpRequest/">W3C specification</a>: </p>
<p><span id="more-376"></span></p>
<ul>
<li>0 = UNSENT</li>
<li>1 = OPENED</li>
<li>2 = HEADERS_RECEIVED</li>
<li>3 = LOADING</li>
<li>4 = DONE</li>
</ul>
<p>Here is a simple script to show how to use <strong>readyState</strong> to output the <strong>responseHeaders</strong>: </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">window.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> ajax <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> responseHeaders<span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> output <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;headers&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> temp <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span>
	ajax.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;GET&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;arrays.html&quot;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	ajax.<span style="color: #660066;">send</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	ajax.<span style="color: #660066;">onreadystatechange</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">readyState</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">2</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			responseHeaders <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAllResponseHeaders</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			temp <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;ol&gt;&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #000066; font-weight: bold;">in</span> responseHeaders<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>responseHeaders<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					temp <span style="color: #339933;">+=</span> <span style="color: #3366CC;">&quot;&lt;li&gt;&quot;</span> <span style="color: #339933;">+</span> responseHeaders<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span>
			temp <span style="color: #339933;">+=</span> <span style="color: #3366CC;">&quot;&lt;/ol&gt;&quot;</span><span style="color: #339933;">;</span>
			output.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span>temp<span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>This script works as expected in IE9, Firefox 4, Chrome 10, and Safari 5, but errors in Opera 11. Opera doesn&#8217;t appear to have the <strong>responseHeaders</strong> yet so <strong>this.getAllResponseHeaders() </strong>causes an <strong>INVALID_STATE_ERR</strong> exception. </p>
<p>To get around this bug, we change our if condition as follows: </p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">readyState</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">2</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000066; font-weight: bold;">typeof</span> responseHeaders <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;undefined&quot;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>...</pre></div></div>

<p>This <strong>if</strong> block will run if this.readyState is greater than 2 and the <strong>responseHeaders</strong> variable is yet to be defined. The first part of the condition will be true in <strong>readyState</strong>s 3 and 4, but the second part will only be true in <strong>readyState</strong> 3.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/434tXTFbqzw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/03/02/xmlhttprequest-readystate-bug-in-opera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/03/02/xmlhttprequest-readystate-bug-in-opera/</feedburner:origLink></item>
		<item>
		<title>JavaScript and the User’s Environment</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/RWIHDeIfE7c/</link>
		<comments>http://web-design.blogs.webucator.com/2011/02/04/javascript-and-the-users-environment/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 15:16:44 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=368</guid>
		<description><![CDATA[A lot of support forms ask users what browser and operating system they&#8217;re using as this can be useful information for debugging the problem. But users sometimes do not provide accurate information. And sometimes the support tech needs additional information like whether cookies are enabled. So, I played with the idea of capturing information on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F02%2F04%2Fjavascript-and-the-users-environment%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F02%2F04%2Fjavascript-and-the-users-environment%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A lot of support forms ask users what browser and operating system they&#8217;re using as this can be useful information for debugging the problem. But users sometimes do not provide accurate information.  And sometimes the support tech needs additional information like whether cookies are enabled.  So, I played with the idea of capturing information on the user&#8217;s environment in a hidden field of a support form as a JSON string. Here&#8217;s a script I came up with:
</p>
<p><span id="more-368"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;title&gt;Navigation Info&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;json2.js&quot;&gt;&lt;/script&gt;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">function</span> dumpNav<span style="color: #009900;">&#40;</span>type<span style="color: #339933;">,</span>destination<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">switch</span> <span style="color: #009900;">&#40;</span>type<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;list&quot;</span> <span style="color: #339933;">:</span>
        document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;ol&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">,</span>j<span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>i <span style="color: #000066; font-weight: bold;">in</span> navigator<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  
          document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;li&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
          <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;object&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>    
              document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;ol&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>      
              <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>j <span style="color: #000066; font-weight: bold;">in</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
                  document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;li&gt;&lt;label&gt;&quot;</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> j <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;: &lt;/label&gt; &lt;input id='&quot;</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> j <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;' name='&quot;</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> j <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;' value='&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                  navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">?</span> document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">?</span> document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span>navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                  document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;'&gt;&lt;/li&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
                  document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> j<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">size</span> <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span>i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> j<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span>.<span style="color: #660066;">length</span>
                <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                  <span style="color: #006600; font-style: italic;">//alert(e.message);  </span>
                <span style="color: #009900;">&#125;</span>
              <span style="color: #009900;">&#125;</span>
              document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;/ol&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
              <span style="color: #006600; font-style: italic;">//alert(e.message);  </span>
            <span style="color: #009900;">&#125;</span>
          <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
            document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;label&gt;&quot;</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;: &lt;/label&gt; &lt;input name='&quot;</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;' value='&quot;</span> <span style="color: #339933;">+</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;' size='&quot;</span> <span style="color: #339933;">+</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;'&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
          <span style="color: #009900;">&#125;</span>
          document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;/li&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;/ol&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #3366CC;">&quot;json&quot;</span> <span style="color: #339933;">:</span>
        <span style="color: #003366; font-weight: bold;">var</span> navInfo<span style="color: #339933;">=</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">,</span>j<span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>i <span style="color: #000066; font-weight: bold;">in</span> navigator<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;object&quot;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            navInfo<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>j <span style="color: #000066; font-weight: bold;">in</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
              <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
                navInfo<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span>navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">?</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">:</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">?</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">:</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
              <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #006600; font-style: italic;">//alert(e.message);  </span>
              <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
          <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
            navInfo<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> navigator<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
          <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;navInfo&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #339933;">=</span>JSON.<span style="color: #660066;">stringify</span><span style="color: #009900;">&#40;</span>navInfo<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">default</span> <span style="color: #339933;">:</span>
        <span style="color: #000066; font-weight: bold;">throw</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;message&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;type must be 'list' or 'json'&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">message</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&lt;/head&gt;
&lt;body onload=&quot;dumpNav('json','navInfo')&quot;&gt;
&lt;form&gt;
	&lt;textarea id=&quot;navInfo&quot; style=&quot;width:500px;height:500px&quot;&gt;This would normally be a hidden field.&lt;/textarea&gt;
&lt;/form&gt;
&lt;div id=&quot;navList&quot;&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>The function can either dump the navigator information as a nested ordered list (for displaying in the browser) or as a JSON string (for putting in a hidden field). In the example above, I use a textarea instead of a hidden field just for testing.
</p>
<p>The script throws an <strong>Object Not Supported</strong> error in IE6, but works in IE9.  I&#8217;m not sure about IE7 and IE8 because my <a href="http://www.my-debugbar.com/wiki/IETester/HomePage">IETester</a> seems to be freaking out.
</p>
<p>Anyone know of a script out there that does something similar or of a better approach of getting a general dump of the user&#8217;s environment?</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/RWIHDeIfE7c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/02/04/javascript-and-the-users-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/02/04/javascript-and-the-users-environment/</feedburner:origLink></item>
		<item>
		<title>window.document bug in Chrome and Opera?</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/19Q_maFdXIU/</link>
		<comments>http://web-design.blogs.webucator.com/2011/02/02/window-document-bug-in-chrome-and-opera/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 22:32:53 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=363</guid>
		<description><![CDATA[I&#8217;ve found some strange behavior in Google Chrome and Opera when dealing with new windows and I&#8217;m wondering if it&#8217;s a bug or if it&#8217;s by design. Here&#8217;s the code: 1 2 3 4 5 6 7 8 9 10 11 var newwin; &#160; function openWin&#40;&#41; &#123; newwin = window.open&#40;&#34;newwin.html&#34;,&#34;newwin&#34;,&#34;height=200px,width=300px&#34;&#41;; alert&#40;newwin.document&#41;; setTimeout&#40;function&#40;&#41; &#123; alertDoc&#40;&#41;; &#125;,1000&#41;; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F02%2F02%2Fwindow-document-bug-in-chrome-and-opera%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F02%2F02%2Fwindow-document-bug-in-chrome-and-opera%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve found some strange behavior in Google Chrome and Opera when dealing with new windows and I&#8217;m wondering if it&#8217;s a bug or if it&#8217;s by design.
</p>
<p>Here&#8217;s the code:
</p>
<p><span id="more-363"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> newwin<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> openWin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	newwin <span style="color: #339933;">=</span> window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;newwin.html&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;newwin&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;height=200px,width=300px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>newwin.<span style="color: #660066;">document</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	setTimeout<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> alertDoc<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> alertDoc<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>newwin.<span style="color: #660066;">document</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>In Safari, IE and Firefox, this code works fine, meaning that an alert dialog similar to the following pops up when <code>openWin()</code> is called and it pops up again one second later when <code>alertDoc()</code> is called:
</p>
<p><img src="http://web-design.blogs.webucator.com/files/2011/02/020211_2232_windowdocum1.png" alt=""/>
	</p>
<p>In Opera and Chrome, however, <code>newwin.document</code> is only recognized within the <code>openWin()</code> function. The second alert from within the <code>alertDoc()</code> function pops up &#8220;undefined.&#8221;
</p>
<p>Anyone know why?</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/19Q_maFdXIU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/02/02/window-document-bug-in-chrome-and-opera/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/02/02/window-document-bug-in-chrome-and-opera/</feedburner:origLink></item>
		<item>
		<title>CSS Units of Measurement</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/P6sRikRz3rM/</link>
		<comments>http://web-design.blogs.webucator.com/2011/01/20/css-units-of-measurement/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 13:18:40 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=351</guid>
		<description><![CDATA[CSS allows you to specify font size, border size, margins, padding, etc. using many different units of measurement. The table below shows the units available. Unit Description Example px Pixels margin-top: 10px; pt Points font-size: 12pt; in Inches padding-top: .5in; cm Centimeters top: 5cm; mm Millimeters left: 45mm; pc Picas bottom: 12pc; em Ems font-size: [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F01%2F20%2Fcss-units-of-measurement%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2011%2F01%2F20%2Fcss-units-of-measurement%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p id="controllingSpaceAndSize">CSS allows you to specify font size, border size, margins, padding, etc. using many different units of measurement. The table below shows the units available.</p>
<p><span id="more-351"></span></p>
<table id="TableUnits" title="CSS Units of Measurement" border="1" width="100%">
<thead>
<tr>
<th><strong>Unit</strong></th>
<th><strong>Description</strong></th>
<th><strong>Example</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
				<code>px</code>
			</td>
<td>Pixels</td>
<td>
				<code>margin-top: 10px;</code>
			</td>
</tr>
<tr>
<td>
				<code>pt</code>
			</td>
<td>Points</td>
<td>
				<code>font-size: 12pt;</code>
			</td>
</tr>
<tr>
<td>
				<code>in</code>
			</td>
<td>Inches</td>
<td>
				<code>padding-top: .5in;</code>
			</td>
</tr>
<tr>
<td>
				<code>cm</code>
			</td>
<td>Centimeters</td>
<td>
				<code>top: 5cm;</code>
			</td>
</tr>
<tr>
<td>
				<code>mm</code>
			</td>
<td>Millimeters</td>
<td>
				<code>left: 45mm;</code>
			</td>
</tr>
<tr>
<td>
				<code>pc</code>
			</td>
<td>Picas</td>
<td>
				<code>bottom: 12pc;</code>
			</td>
</tr>
<tr>
<td>
				<code>em</code>
			</td>
<td>Ems</td>
<td>
				<code>font-size: 1.5em;</code>
			</td>
</tr>
<tr>
<td>
				<code>ex</code>
			</td>
<td>Exs</td>
<td>
				<code>font-size: 1.5ex;</code>
			</td>
</tr>
<tr>
<td>
				<code>%</code>
			</td>
<td>Percentage</td>
<td>
				<code>width: 80%;</code>
			</td>
</tr>
</tbody>
</table>
<h3>Pixels (px)</h3>
<p>The measurement unit most often used for designing web pages is pixels. A pixel is not an absolute measurement like, for example, an inch or a point. The actual size of a pixel depends on the resolution and size of a user&#8217;s monitor. Consider an image that is 900 pixels wide. If the monitor resolution is set to 800 by 600 pixels, then the image will not fit on the screen. However, if the monitor resolution on the same computer is set to 1024 by 768 pixels, the image will fit with room to spare.</p>
<h3>Points (pt)</h3>
<p>Points should be reserved for print. There are 72 points in an inch.</p>
<h3>Inches (in), Centimeters (cm), and Millimeters (mm)</h3>
<p>Although these are the most common units of measurement in life, they should be avoided in Web design.</p>
<h3>Picas (pc)</h3>
<p>Picas should be reserved for print. There are 6 picas in an inch.</p>
<h3>Ems (em)</h3>
<p>An em (or Mutt) is a relative unit that refers to the size of the letter &#8220;M&#8221; in a font. Because em is a relative rather than absolute measurement, it is often used in Web design.</p>
<h3>Exs (ex)</h3>
<p>The &#8220;x-height&#8221; is the height of font&#8217;s lowercase &#8220;x&#8221;. Exs are used to set the size of content based on the size of the surrounding font.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/P6sRikRz3rM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2011/01/20/css-units-of-measurement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2011/01/20/css-units-of-measurement/</feedburner:origLink></item>
		<item>
		<title>HTML5 Canvas Bézier Curve Application</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/Ts5APmhymiE/</link>
		<comments>http://web-design.blogs.webucator.com/2010/12/14/html5-canvas-bezier-curve-application/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 16:46:40 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=331</guid>
		<description><![CDATA[As part of our upcoming HTML5 training, we have created a small HTML5-based application for generating Bézier curves. The video below shows how to use this application, both to get a better understanding of how Bézier curves work and to generate HTML5 code for the drawings you create.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F14%2Fhtml5-canvas-bezier-curve-application%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F14%2Fhtml5-canvas-bezier-curve-application%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>As part of our upcoming <a href="http://www.webucator.com/classes/html5.cfm">HTML5 training</a>, we have created a small <a href="http://www.webucator.com/resources/html5-canvas-bezier.cfm">HTML5-based application for generating Bézier curves</a>.  The video below shows how to use this application, both to get a better understanding of how Bézier curves work and to generate HTML5 code for the drawings you create.<span id="more-331"></span></p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="640" height="480" align="center">
      <param name="movie" value="http://web-design.blogs.webucator.com/files/2010/12/bezier_controller.swf" />
      <param name="align" value="center" />
      <param name="allowfullscreen" value="true" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://web-design.blogs.webucator.com/files/2010/12/bezier_controller.swf" width="640" height="480" align="center" allowfullscreen="true">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/Ts5APmhymiE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/12/14/html5-canvas-bezier-curve-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/12/14/html5-canvas-bezier-curve-application/</feedburner:origLink></item>
		<item>
		<title>HTML5 Canvas-based Raffle Picker</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/BW0nRLEiKtM/</link>
		<comments>http://web-design.blogs.webucator.com/2010/12/10/html5-canvas-based-raffle-picker/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 22:56:28 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=314</guid>
		<description><![CDATA[I&#8217;ve been playing with HTML5 Canvas. All the examples I&#8217;ve seen are either overly simplified (for teaching purposes) or full-blown applications (like Sketchpad). I&#8217;m trying to figure out how your average web developer might incorporate it into their websites. I don&#8217;t have a great answer yet, but I am having fun with it! At Webucator, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F10%2Fhtml5-canvas-based-raffle-picker%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F10%2Fhtml5-canvas-based-raffle-picker%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve been playing with HTML5 Canvas.  All the examples I&#8217;ve seen are either overly simplified (for teaching purposes) or full-blown applications (like <a href="http://mugtug.com/sketchpad/">Sketchpad</a>). I&#8217;m trying to figure out how your average web developer might incorporate it into their websites. I don&#8217;t have a great answer yet, but I am having fun with it!<span id="more-314"></span></p>
<p>At Webucator, we do a lot of giveaways and we commissioned a Flash-based solution, which we call the Webuwheel. I&#8217;m no designer, but I tried to do something similar with HTML5 Canvas.  I couldn&#8217;t get it to run in WordPress, so it&#8217;s hosted on our main site.  Have a look: An <a href="http://www.webucator.com/resources/html5-canvas-based-raffle-picker.cfm">HTML Canvas-based Raffle Picker</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/BW0nRLEiKtM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/12/10/html5-canvas-based-raffle-picker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/12/10/html5-canvas-based-raffle-picker/</feedburner:origLink></item>
		<item>
		<title>HTML5 WebKit Browser Bug: required fails for color input type</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/9KreuCz2IJs/</link>
		<comments>http://web-design.blogs.webucator.com/2010/12/10/html5-webkit-browser-bug-required-fails-for-color-input-type/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 04:55:12 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=308</guid>
		<description><![CDATA[The required attribute doesn&#8217;t work for the color input type in Google Chrome 8 and Safari 5 &#8211; the WebKit browsers. Consider the following code: 1 2 3 &#60;input type=&#34;text&#34; name=&#34;c&#34; id=&#34;c&#34; required placeholder=&#34;Enter Color&#34;&#62; &#60;button type=&#34;button&#34; onclick=&#34;alert(document.getElementById('c').validity.valid)&#34;&#62;check&#60;/button&#62; Clicking the Check button before filling in the field results in a &#8220;false&#8221; alert. That is correct [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F10%2Fhtml5-webkit-browser-bug-required-fails-for-color-input-type%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F10%2Fhtml5-webkit-browser-bug-required-fails-for-color-input-type%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The <strong>required</strong> attribute doesn&#8217;t work for the color input type in Google Chrome 8 and Safari 5 &#8211; the WebKit browsers. Consider the following code:
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;c&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;c&quot;</span> required <span style="color: #000066;">placeholder</span>=<span style="color: #ff0000;">&quot;Enter Color&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;button</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span></span>
<span style="color: #009900;">  <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;alert(document.getElementById('c').validity.valid)&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>check<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/button<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p><span id="more-308"></span></p>
<p>Clicking the <strong>Check</strong> button before filling in the field results in a &#8220;false&#8221; alert. That is correct as the <strong>required</strong> attribute indicates that the field must be filled out.
</p>
<p>Now change the type from &#8220;text&#8221; to &#8220;color&#8221; like so:
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;color&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;c&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;c&quot;</span> required <span style="color: #000066;">placeholder</span>=<span style="color: #ff0000;">&quot;Enter Color&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;button</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span></span>
<span style="color: #009900;">  <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;alert(document.getElementById('c').validity.valid)&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>check<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/button<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Again, click the <strong>Check</strong> button before filling in the field. Now the alert reads &#8220;true.&#8221; And that is a bug.
</p>
<p>I tested the same thing in Opera 10.6 and Firefox 4 (beta) and both appropriately alert &#8220;false&#8221; when the color field is left empty.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/9KreuCz2IJs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/12/10/html5-webkit-browser-bug-required-fails-for-color-input-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/12/10/html5-webkit-browser-bug-required-fails-for-color-input-type/</feedburner:origLink></item>
		<item>
		<title>HTML5 autofocus attribute messes up number types in Chrome</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/a5dpaOTGxgI/</link>
		<comments>http://web-design.blogs.webucator.com/2010/12/09/html5-autofocus-attribute-messes-up-number-types-in-chrome/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 17:40:43 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=301</guid>
		<description><![CDATA[When one field in a form contains the autofocus attribute, Chrome&#8217;s number spinboxes break. Check out the following code: 1 2 3 4 5 6 7 8 9 10 &#60;form method=&#34;post&#34; action=&#34;process.xyz&#34;&#62; &#60;div&#62; &#60;label for=&#34;fullname&#34;&#62;Your name:&#60;/label&#62; &#60;input type=&#34;text&#34; name=&#34;fullname&#34; id=&#34;fullname&#34; autofocus&#62; &#60;/div&#62; &#60;div&#62; &#60;label for=&#34;age&#34;&#62;Your age:&#60;/label&#62; &#60;input type=&#34;number&#34; name=&#34;age&#34; id=&#34;age&#34; min=&#34;0&#34; step=&#34;1&#34;&#62; &#60;/div&#62; &#60;/form&#62; That [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F09%2Fhtml5-autofocus-attribute-messes-up-number-types-in-chrome%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F09%2Fhtml5-autofocus-attribute-messes-up-number-types-in-chrome%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>When one field in a form contains the <strong>autofocus</strong> attribute, Chrome&#8217;s number spinboxes break. Check out the following code:
</p>
<p>
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;post&quot;</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;process.xyz&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;label</span> <span style="color: #000066;">for</span>=<span style="color: #ff0000;">&quot;fullname&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Your name:<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/label<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fullname&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fullname&quot;</span> autofocus<span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;label</span> <span style="color: #000066;">for</span>=<span style="color: #ff0000;">&quot;age&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Your age:<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/label<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;number&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;age&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;age&quot;</span> <span style="color: #000066;">min</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">step</span>=<span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</p>
<p><span id="more-301"></span>
<p>That <strong>autofocus</strong> attribute in the <strong>fullname</strong> field on line 4 messes up the <strong>age</strong> field&#8217;s spinbox in Chrome (testing on v. 8.0.552.215 on Windows 7). When you click on the up or down arrow, nothing happens until the field loses focus. To test this:
</p>
<ol>
<li>Click on the age field&#8217;s up arrow three times. Nothing happens.
</li>
<li>Click somewhere else on the page to remove focus from the element.  The value updates to 2.
</li>
</ol>
<p>Chrome registers all three clicks, but doesn&#8217;t update the value until focus is removed from the element.
</p>
<p>Very strange. If you remove the <strong>autofocus</strong> attribute from the <strong>fullname</strong> element, everything works swimmingly.
</p>
<p>So, I think the takeaway for now is that we cannot yet use <strong>autofocus</strong> in any forms that include <strong>number</strong> types.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/a5dpaOTGxgI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/12/09/html5-autofocus-attribute-messes-up-number-types-in-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/12/09/html5-autofocus-attribute-messes-up-number-types-in-chrome/</feedburner:origLink></item>
		<item>
		<title>Using Modernizr to Check for HTML5 Features</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/sVVheGcHpls/</link>
		<comments>http://web-design.blogs.webucator.com/2010/12/09/using-modernizr-to-check-for-html5-features/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 02:58:33 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=296</guid>
		<description><![CDATA[Modernizr In our new HTML5 class, we use a great little JavaScript library called Modernizr. Modernizr to check the browser for feature support so you can write code like this: 1 2 3 4 5 if &#40;Modernizr.xyzFeature&#41; &#123; //do this; &#125; else &#123; //do something different &#125; Here&#8217;s an example of how you can check [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F09%2Fusing-modernizr-to-check-for-html5-features%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F09%2Fusing-modernizr-to-check-for-html5-features%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<h3>Modernizr</h3>
<p>In our <a href="http://www.webucator.com/webdesign/course/comprehensive-introduction-html5.cfm">new HTML5 class</a>, we use a great little JavaScript library called <a href="http://www.modernizr.com">Modernizr</a>. Modernizr to check the browser for feature support so you can write code like this:<span id="more-296"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Modernizr.<span style="color: #660066;">xyzFeature</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">//do this;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">//do something different</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Here&#8217;s an example of how you can check for the new email input type:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Modernizr.<span style="color: #660066;">inputtypes</span>.<span style="color: #660066;">email</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;woohoo!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;boohoo!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>And you can use the below to do a pretty complete HTML5 feature check of your browser of choice:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE HTML&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;meta</span> <span style="color: #000066;">charset</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>HTML5 Feature Check<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
.true {
	color:#060;
}
.false {
	color:#f00;
}
.probably {
	color:#3c3;
}
.maybe {
	color:#960;
}
table {
	width:400px;
	margin:auto;
}
caption {
	font-weight:bold;
}
th,td {
	border:1px solid black;
	text-align:center;	
}
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;modernizr.min.js&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;caption<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	Your Browser's Feature Support according to <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.modernizr.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Modernizr<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/caption<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;thead<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Feature<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Your Browser Support<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/thead<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>	
			var i,j,o,prop;
			for (i in Modernizr) {
				if (typeof(Modernizr[i])==&quot;boolean&quot;) {
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">'&quot; + Modernizr[i] + &quot;'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>&quot;);
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot; + i + &quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);	
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot; + Modernizr[i] + &quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);	
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);
				} else if (typeof(Modernizr[i])==&quot;object&quot;) {
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">'&quot; + Modernizr[i] + &quot;'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>&quot;);
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot; + i + &quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);
					o = Modernizr[i];
					for (j in o) {
						document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">'&quot; + o[j] + &quot;'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>&quot;);
						document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot; + j + &quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);	
						if (o[j] == '') {
							prop = 'unknown';	
						} else {
							prop = o[j];
						}
						document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot; + prop + &quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);		
						document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);
					}
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/table<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);	
					document.write(&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;);
				}
			}
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>It&#8217;s a great tool and, in most cases, it gets it right, but be careful with the date/time input types. According to Modernizr, Chrome doesn&#8217;t support them, but it does (although in an ugly way).</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/sVVheGcHpls" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/12/09/using-modernizr-to-check-for-html5-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/12/09/using-modernizr-to-check-for-html5-features/</feedburner:origLink></item>
		<item>
		<title>You can use the HTML5 tel Type Now</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/RiUz9J1vGFQ/</link>
		<comments>http://web-design.blogs.webucator.com/2010/12/08/you-can-use-the-html5-tel-type-now/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 17:38:25 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=290</guid>
		<description><![CDATA[HTML5 comes with a bunch of new input types, including a tel type for entering telephone numbers: &#60;input name=&#34;telephone&#34; type=&#34;tel&#34;&#62; Currently, only Safari, Chrome and Firefox 4 (beta) support the tel. And even in these supporting browsers, you don&#8217;t really gain anything &#8220;out of the box&#8221; by using the tel input type. As telephone numbers [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F08%2Fyou-can-use-the-html5-tel-type-now%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F12%2F08%2Fyou-can-use-the-html5-tel-type-now%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>HTML5 comes with a bunch of new input types, including a <strong>tel</strong> type for entering telephone numbers:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;telephone&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;tel&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

</p>
<p>Currently, only Safari, Chrome and Firefox 4 (beta) support the <strong>tel</strong>.  And even in these supporting browsers, you don&#8217;t really gain anything &#8220;out of the box&#8221; by using the <strong>tel</strong> input type. As telephone numbers can come in all different formats, there are no constraints on what can be entered here.
</p>
<p><span id="more-290"></span>
<p>However, you could add your own custom validation to all telephone inputs and use the <strong>type=&#8221;tel&#8221;</strong> as a means of finding them.
</p>
<p>But the biggest reason to use the <strong>tel</strong> type now is that user agents can provide a different/better means for filling out input fields based on their type. And the iPhone does just that for the <strong>tel</strong> type. Rather than giving you the standard keyboard, it provides this interface:
</p>
<p><img src="http://web-design.blogs.webucator.com/files/2010/12/120810_1542_Youcanuseth1.gif" alt=""/>
	</p>
<p>That makes things a lot easier and eventually they might even add a way to grab telephone numbers out of your contact list.
</p>
<p>So, there is no harm in using the <strong>tel</strong> type now and there is at least something to gain.
</p>
<p>We cover all the new input types in our new <a href="http://www.webucator.com/webdesign/course/comprehensive-introduction-html5.cfm">HTML5 training class</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/RiUz9J1vGFQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/12/08/you-can-use-the-html5-tel-type-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/12/08/you-can-use-the-html5-tel-type-now/</feedburner:origLink></item>
		<item>
		<title>Nesting CDATA Blocks</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/215eboNiGd8/</link>
		<comments>http://web-design.blogs.webucator.com/2010/11/20/nesting-cdata-blocks/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 00:51:26 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=279</guid>
		<description><![CDATA[You can&#8217;t nest CDATA sections in XML. It&#8217;s not allowed. But Steve Claflin, our Java trainer extraordinaire and courseware author figured out a work around. Nesting CDATA Sections &#8211; (workaround) Imagine you&#8217;re starting with this code: 1 2 3 4 5 6 7 &#60;foo&#62; code here &#60;![CDATA[ escaped code here ]]&#62; more code here &#60;/foo&#62; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F20%2Fnesting-cdata-blocks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F20%2Fnesting-cdata-blocks%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>You can&#8217;t nest CDATA sections in XML. It&#8217;s not allowed. But Steve Claflin, our Java trainer extraordinaire and courseware author figured out a work around.<span id="more-279"></span></p>
<h3>Nesting CDATA Sections &#8211; (workaround)</h3>
<p>Imagine you&#8217;re starting with this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	code here
	<span style="color: #339933;">&lt;![CDATA[</span>
<span style="color: #339933;">		escaped code here</span>
<span style="color: #339933;">	]]&gt;</span>
	more code here
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>You then want to wrap everything inside the <strong>foo</strong> tag within a CDATA section like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><span style="color: #339933;">&lt;![CDATA[</span>
<span style="color: #339933;">	code here</span>
<span style="color: #339933;">	&lt;![CDATA[</span>
<span style="color: #339933;">		escaped code here</span>
<span style="color: #339933;">	]]&gt;</span>
	more code here
]]&gt;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>But you can&#8217;t do that, because the closing of the nested CDATA tag closes the outer CDATA tag leaving you with poorly formed XML.</p>
<p>Here&#8217;s the workaround Steve came up with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;foo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><span style="color: #339933;">&lt;![CDATA[</span>
<span style="color: #339933;">	code here</span>
<span style="color: #339933;">	&lt;![CDATA[</span>
<span style="color: #339933;">		escaped code here</span>
<span style="color: #339933;">	]]]]&gt;&lt;![CDATA[&gt;</span>
<span style="color: #339933;">	more code here</span>
<span style="color: #339933;">]]&gt;</span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/foo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The magic is in line 5 where he splits up the closing CDATA code (i.e., ]]&gt;) using a close and open CDATA tag. This essentially does away with the nested CDATA tag, but keeps the original content whole.  Very sweet!</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/215eboNiGd8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/11/20/nesting-cdata-blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/11/20/nesting-cdata-blocks/</feedburner:origLink></item>
		<item>
		<title>Converting an HTML table to WordProcessingML with XSLT</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/tLUjtGkdHTI/</link>
		<comments>http://web-design.blogs.webucator.com/2010/11/19/converting-an-html-table-to-wordprocessingml-with-xslt/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 21:06:49 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=266</guid>
		<description><![CDATA[This tutorial shows how to convert an HTML table to WordProcessingML using XSLT. I&#8217;ll start with a simple table with the same number of cells in each row. Then I&#8217;ll address cell merging, which makes everything much more complicated. Simple Tables A Simple HTML Table 1 2 3 4 5 6 7 8 9 10 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F19%2Fconverting-an-html-table-to-wordprocessingml-with-xslt%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F19%2Fconverting-an-html-table-to-wordprocessingml-with-xslt%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This tutorial shows how to convert an HTML table to WordProcessingML using XSLT. I&#8217;ll start with a simple table with the same number of cells in each row. Then I&#8217;ll address cell merging, which makes everything much more complicated.<span id="more-266"></span></p>
<h3>Simple Tables</h3>
<h4>A Simple HTML Table</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;caption<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>My Caption<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/caption<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;thead<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 4<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/thead<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The result with some styling to show borders:</p>
<p style="text-align: center"><img src="http://web-design.blogs.webucator.com/files/2010/11/111910_1911_Convertinga1.png" alt="Simple HTML Table"/></p>
<h4>A Simple WordProcessingML Table</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;Caption&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:keepNext</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>My Caption<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;TableGrid&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblGrid</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 4<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The result with some basic Word 2010 styling:</p>
<p style="text-align: center"><img src="http://web-design.blogs.webucator.com/files/2010/11/111910_1911_Convertinga2.png" alt="Simple WordProcessingML Table"/></p>
<h4>Comparing the HTML and WordProcessingML Tables</h4>
<table border="1" cellpadding="2">
<thead>
<tr>
<th><strong>HTML</strong></th>
<th><strong>WordProcessingML</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>&lt;table&gt;</td>
<td>&lt;w:tbl&gt;</td>
<td>&#8220;Root&#8221; table element</td>
</tr>
<tr>
<td>&lt;caption&gt;</td>
<td>Use &lt;w:p&gt; before &lt;w:tbl&gt;</td>
<td>Table caption</td>
</tr>
<tr>
<td>&lt;thead&gt;, &lt;tbody&gt;, &lt;tfoot&gt;</td>
<td>No equivalent</td>
<td>Row grouping elements</td>
</tr>
<tr>
<td>No equivalent</td>
<td>&lt;w:tblPr&gt;</td>
<td>Table properties</td>
</tr>
<tr>
<td>No equivalent</td>
<td>&lt;w:tblGrid&gt;</td>
<td>To define the columns</td>
</tr>
<tr>
<td>&lt;tr&gt;</td>
<td>&lt;w:tr&gt;</td>
<td>Table row</td>
</tr>
<tr>
<td>&lt;th&gt;, &lt;td&gt;</td>
<td>&lt;w:tc&gt;</td>
<td>Table cells</td>
</tr>
<tr>
<td>No equivalent</td>
<td>&lt;w:tcPr&gt;</td>
<td>Table cell properties</td>
</tr>
</tbody>
</table>
<p> </p>
<h4>The XSLT (No Merging)</h4>
<p>The XSLT for converting the above HTML table to a WordProcessingML table is not that complicated. Here it is:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:stylesheet</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">xmlns:xsl</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/1999/XSL/Transform&quot;</span></span>
<span style="color: #009900;">	<span style="color: #000066;">xmlns:w</span>=<span style="color: #ff0000;">&quot;http://schemas.openxmlformats.org/wordprocessingml/2006/main&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:output</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;xml&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span> <span style="color: #000066;">indent</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;body&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;table&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--caption goes before the table in WordProcessingML--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;Caption&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:keepNext</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;caption&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--Start Table--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;TableGrid&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblGrid</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;*[name() != 'caption']&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;thead | tbody | tfoot&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--No WordProcessingML equivalent.  Keep drilling down.--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;tr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;th&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;td&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:stylesheet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<h4>Things to note:</h4>
<ol>
<li>The <strong>caption</strong> in HTML is nested within the table, while in WordProcessingML the caption comes before the start of the table. So we need to pull the caption out of the table in the table template (lines 12 to 20) and ignore the caption element when applying further templates (line 28). </li>
<li>In WordProcessingML, table header cells are handled with basic formatting tags (e.g, <strong>&lt;w:jc w:val=&#8221;center&#8221;/&gt;</strong> (for centering) and <strong>&lt;w:b/&gt;</strong> (for bold). </li>
<li>The <strong>&lt;w:tblGrid&gt;</strong> element would normally have nested <strong>&lt;w:gridCol&gt;</strong> elements to define the width of the table columns. However, WordProcessingML allows the element to be empty and Microsoft Word 2010 is able to interpret the number of columns from the table itself and auto adjust it for the width of the content (note the <strong>&lt;w:tcW w:w=&#8221;0&#8243; w:type=&#8221;auto&#8221;/&gt;</strong> elements nested within the <strong>&lt;w:tcPr&gt;</strong> elements). </li>
</ol>
<h3>Merging Cells</h3>
<p>HTML and WordProcessingML use very different models for merging cells so cell merging makes the XSLT much more complicated.</p>
<h4>HTML Model for Merging Cells</h4>
<p>In HTML, cell merging is handled with the <strong>colspan</strong> and <strong>rowspan</strong> attributes, which can be applied to <strong>th</strong> and <strong>td</strong> elements.</p>
<h4>An HTML Table with Cell Merging</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;caption<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>My Caption<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/caption<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;thead<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 4<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/th<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/thead<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td</span> <span style="color: #000066;">rowspan</span>=<span style="color: #ff0000;">&quot;4&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Long column<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td</span> <span style="color: #000066;">colspan</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Long row top<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td</span> <span style="color: #000066;">colspan</span>=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>2 cols merged<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td</span> <span style="color: #000066;">colspan</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Long row bottom<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The result with some styling to show borders:</p>
<p style="text-align: center"><img src="http://web-design.blogs.webucator.com/files/2010/11/111910_1911_Convertinga3.png" alt="HTML Table with Cell Merging"/></p>
<h4>A WordProcessingML Table with Cell Merging</h4>
<p>Note the <strong>vMerge</strong> and <strong>gridSpan</strong> tags.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;Caption&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:keepNext</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>My Caption<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;TableGrid&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblGrid</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 3<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Heading 4<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;restart&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Long column<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Long row top<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2 cols merged<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Long row bottom<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The result with some basic Word 2010 styling:</p>
<p style="text-align: center"><img src="http://web-design.blogs.webucator.com/files/2010/11/111910_1911_Convertinga4.png" alt="WordProcessingML Table with Cell Merging"/></p>
<h4>The XSLT (Cell Merging)</h4>
<p>Dealing with horizontal merging (merging across columns) is pretty straightforward. Where HTML uses the <strong>colspan</strong> attribute, WordProcessingML uses a <strong>gridSpan</strong> tag with a <strong>val</strong> attribute to specify the number of merged columns. So&#8230;</p>
<p><strong>&lt;td colspan=&#8221;2&#8243;&gt;</strong> would be <strong>&lt;w:gridSpan w:val=&#8221;2&#8243;/&gt;</strong> (nested within the <strong>&lt;w:tcPr&gt;</strong> element)</p>
<p>To handle this in the XSLT, we add the following to our <strong>td</strong> and <strong>th</strong> templates:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@colspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;{@colspan}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<h4>The Challenge</h4>
<p>The challenge of using XSLT to convert an HTML table with merged cells to WordProcessingML is that the models for vertical cell merging are so different.</p>
<p>HTML uses the <strong>rowspan</strong> attribute, which is analogous to the <strong>colspan</strong> attribute.</p>
<p>WordProcessingML , however, uses a <strong>&lt;w:vMerge/&gt;</strong> element, which must be included in every cell that is included in the vertical merge. The <strong>&lt;w:vMerge/&gt;</strong> element in the topmost cell (<strong>w:tc</strong>) must include a <strong>w:val</strong> attribute with a value of <strong>&#8220;restart&#8221;</strong>. The subsequent <strong>&lt;w:vMerge/&gt;</strong> elements do not require a <strong>w:val</strong> attribute, but if they have one, the value should be <strong>&#8220;continue&#8221;</strong>.</p>
<p>So in WordProcessingML, each row has the same number of child cell elements. In HTML, however, there are no elements in subsequent rows that match up with the cell containing the <strong>rowspan</strong> attribute.  The whole merged cell is handled with a single element.</p>
<p>That leaves us with the challenge of creating something from nothing. Specifically, we need to determine for each row (after the first):</p>
<ol>
<li>Does the current cell contain a <strong>rowspan</strong> attribute?</li>
<li>Do any of the previous rows contain a cell with a <strong>rowspan</strong> attribute?</li>
<li>If so, does the <strong>rowspan</strong> reach down to the current row?</li>
<li>If so, in which position should we insert a cell?</li>
</ol>
<p>The first problem is easy enough. We just add this bit of code to the <strong>td</strong> and <strong>th</strong> templates:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@rowspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;restart&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Since we&#8217;ll need to add a lot of logic to the <strong>th</strong> and <strong>td</strong> templates, let&#8217;s merge them like this (note lines 14-16 and 20-22):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;th|td&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@colspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;{@colspan}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@rowspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;restart&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;name()='th'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;name()='th'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Questions 2-4 above are tougher to answer. I took the approach of creating a pseudo-lookup-table to indicate where we need to insert the <strong>vMerge</strong> cells. The pseudo-lookup-table (<strong>vMergeLookUp</strong>) is a string formatted as follows:</p>
<pre>|cellPos:rowPos||cellPos:rowPos||cellPos:rowPos||cellPos:rowPos|</pre>
<p>The idea is that we should be able to look at any cell position in the table grid and determine from the <strong>vMergeLookUp</strong> whether we need to insert a <strong>vMerge</strong> cell in that position.</p>
<p>To illustrate, let&#8217;s look at the following relatively simple table:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td</span> <span style="color: #000066;">rowspan</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td</span> <span style="color: #000066;">rowspan</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>data<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tbody<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/table<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The XSLT processor will hit five <strong>td</strong> elements. Our code needs to tell it to insert four <strong>vMerge</strong> cells: one before and one after each of the lone <strong>td</strong> elements in the second and third rows. So our <strong>vMergeLookUp</strong> string would look like this:</p>
<pre>|1:2||1:3||3:2||3:3|</pre>
<p>I created the <strong>vMergeLookUp</strong> using a called template, which makes use of another called template.  The code is a bit complex as it involves recursively looking through preceding siblings for <strong>colspan</strong> attributes and adding their values to interpret the position at which we need to insert a <strong>vMerge</strong> cell.  I&#8217;m not going to go through it here (phew, that&#8217;s a relief!).</p>
<p>I first create the <strong>vMergeLookUp</strong> at the <strong>thead/tbody/tfoot</strong> level and then pass it on to other templates using <strong>xsl:with-param</strong>. If your HTML table doesn&#8217;t use these row grouping elements, you can move the code to the <strong>table</strong> template.</p>
<p>I make use of the <strong>vMergeLookUp</strong> in two places:</p>
<ol>
<li>In the <strong>tr</strong> template, I use it to see if we need to insert a <strong>vMerge</strong> cell before the first cell.</li>
<li>In the <strong>td | th</strong> template, I use it to see if we need to insert a <strong>vMerge</strong> cell after the current cell.</li>
</ol>
<p>Here&#8217;s the code for the <strong>tr</strong> template (note lines 5-13):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;tr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--add a cell at the beginning of the row if necessary--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;contains($vMergeLookUp,concat('|1:',position(),'|'))&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;position()&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:apply-templates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>And here&#8217;s the code for the <strong>td | th</strong> template (note lines 2-10 and 39-47):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;th|td&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;getInterpretedCellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cell&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;position()&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:call-template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:variable<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;nextCellPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$cellPos+1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@colspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;{@colspan}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@rowspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;restart&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;name()='th'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;name()='th'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;contains($vMergeLookUp,concat('|',$nextCellPos,':',$rowPos,'|'))&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Here is the complete code, in case you are dealing with this same issue (which you must be or you never would have made it this far):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:stylesheet</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">xmlns:xsl</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/1999/XSL/Transform&quot;</span> <span style="color: #000066;">xmlns:w</span>=<span style="color: #ff0000;">&quot;http://schemas.openxmlformats.org/wordprocessingml/2006/main&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:output</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;xml&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span> <span style="color: #000066;">indent</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;body&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;table&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--caption goes before the table in WordProcessingML--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;Caption&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:keepNext</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;caption&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--Start Table--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblStyle</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;TableGrid&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tblPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tblGrid</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;*[name() != 'caption']&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tbl<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;thead | tbody | tfoot&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;createVMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:variable<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:comment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:comment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:apply-templates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;tr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #808080; font-style: italic;">&lt;!--add a cell at the beginning of the row if necessary--&gt;</span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;contains($vMergeLookUp,concat('|1:',position(),'|'))&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:apply-templates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;position()&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:apply-templates<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;th|td&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;vMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;getInterpretedCellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cell&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;position()&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:call-template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:variable<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;nextCellPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$cellPos+1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@colspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:gridSpan</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;{@colspan}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@rowspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;restart&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;name()='th'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;name()='th'&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
							<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:b</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:rPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;contains($vMergeLookUp,concat('|',$nextCellPos,':',$rowPos,'|'))&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:tcW</span> <span style="color: #000066;">w:w</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">w:type</span>=<span style="color: #ff0000;">&quot;auto&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:vMerge</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tcPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:tc<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;createVMergeLookUp&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">			produces string: |cellPos:rowPos||cellPos:rowPos|</span>
<span style="color: #808080; font-style: italic;">			the firstRowPos is the first row needing a vMerge after the restart vMerge</span>
<span style="color: #808080; font-style: italic;">		--&gt;</span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:for-each</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.//tr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;position()&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:for-each</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;td|th&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:variable</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;getInterpretedCellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cell&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;position()&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:call-template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:variable<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;@rowspan&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;insertCellLocation&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cellPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$cellPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$rowPos + 1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;lastRow&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$rowPos + @rowspan - 1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:call-template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:for-each<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:for-each<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;insertCellLocation&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cellPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;lastRow&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:text<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>|<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:text<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$cellPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:text<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>:<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:text<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$rowPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:text<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>|<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:text<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:if</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;$rowPos &amp;lt; $lastRow&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;insertCellLocation&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cellPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$cellPos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;rowPos&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$rowPos + 1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;lastRow&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$lastRow&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:call-template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:if<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;getInterpretedCellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cell&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:choose<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:when</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;not($cell/preceding-sibling::*/@colspan) and not(@colspan)&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$pos&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:when<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:when</span> <span style="color: #000066;">test</span>=<span style="color: #ff0000;">&quot;not($cell/preceding-sibling::*/@colspan)&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$pos - 1 + @colspan&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:when<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:otherwise<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:call-template</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;getInterpretedCellPos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cell&quot;</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$cell/preceding-sibling::*[@colspan][1]&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:with-param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
						<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:value-of</span> <span style="color: #000066;">select</span>=<span style="color: #ff0000;">&quot;$pos - 1 + $cell/preceding-sibling::*[@colspan][1]/@colspan&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
					<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:with-param<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:call-template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:otherwise<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:choose<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:stylesheet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>I had a tough time with this one. If anyone has a simpler way of tackling this problem, I&#8217;d love to hear about it.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/tLUjtGkdHTI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/11/19/converting-an-html-table-to-wordprocessingml-with-xslt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/11/19/converting-an-html-table-to-wordprocessingml-with-xslt/</feedburner:origLink></item>
		<item>
		<title>Using XSLT to Break out a Nested Inline Element</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/68Hz2YyS0ZU/</link>
		<comments>http://web-design.blogs.webucator.com/2010/11/12/using-xslt-to-break-out-a-nested-inline-element/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 06:43:32 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=258</guid>
		<description><![CDATA[Webucator uses an XHTML-based courseware system. At publishing time, we compile all the lessons, written in XHTML, into a single large XML file and then we use XSLT/XSL-FO to create a PDF. We are now planning to submit several of our courses to the Microsoft Courseware Library. To do so, we need to get them [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F12%2Fusing-xslt-to-break-out-a-nested-inline-element%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F12%2Fusing-xslt-to-break-out-a-nested-inline-element%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Webucator uses an XHTML-based courseware system.  At publishing time, we compile all the lessons, written in XHTML, into a single large XML file and then we use XSLT/XSL-FO to create a PDF.</p>
<p>We are now planning to submit several of our courses to the Microsoft Courseware Library. To do so, we need to get them into Microsoft Word. It would be a ton of work to convert them manually and then we would have to keep both version in sync.</p>
<p>So, I dove into WordProcessingML.  I&#8217;ve looked at it several times before, but always walked away after an hour or two of frustration. This time, I pushed further as we now have a real incentive to get it working. It&#8217;s actually kind of cool. Maybe I&#8217;ll write a WordProcessingML course someday?  <a href="mailto:sales@webucator.com">Interested</a>?</p>
<p>Anyway, right now I&#8217;m struggling with an XSLT problem that I hope someone might be able to help me with.<span id="more-258"></span></p>
<p><strong>I&#8217;m starting with the following code from my source XML:<br />
</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	Some text and inline elements.
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	Some more text and inline elements
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p><strong>And here&#8217;s my desired output:</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Some text and inline elements.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:drawing<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		...
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:drawing<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Some more text and inline elements.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:t<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The issue is that the image needs to appear centered on a block by itself. I know there&#8217;s WordProcessingML markup for doing that within a paragraph, but I haven&#8217;t been able to get that to behave correctly even while working in Word 2010 directly. </p>
<p>In XSL-FO, this isn&#8217;t a problem, because you can simply nest one fo:block in another fo:block, but in WordProcessingML, that&#8217;s not allowed.</p>
<p>The above &#8220;Desired Output&#8221; markup works correctly in Word (meaning it displays like I want it to), but it&#8217;s an XSLT challenge.</p>
<p><strong>Essentially, what I need is this:</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;xsl:template</span> <span style="color: #000066;">match</span>=<span style="color: #ff0000;">&quot;img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:jc</span> <span style="color: #000066;">w:val</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:pPr<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:drawing<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			...
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:drawing<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:r<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;w:p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/xsl:template<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>But, of course, that&#8217;s not well-formed XML, so it chokes.</p>
<p>Anybody know of a solution for this sort of problem?</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/68Hz2YyS0ZU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/11/12/using-xslt-to-break-out-a-nested-inline-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/11/12/using-xslt-to-break-out-a-nested-inline-element/</feedburner:origLink></item>
		<item>
		<title>Dreamweaver CS5 with PHP and MySQL</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/eHoKjMKJU8U/</link>
		<comments>http://web-design.blogs.webucator.com/2010/11/05/dreamweaver-cs5-with-php-and-mysql/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 19:19:06 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[connectivity]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=253</guid>
		<description><![CDATA[Have you ever wanted to use Dreamweaver CS5 to run PHP pages? What about displaying data in a PHP page from a MySQL database? Well, it is a lot easier than you might think! I have written a series of 5 blogs to take you step-by-step through the connection and testing process. To achieve total [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F05%2Fdreamweaver-cs5-with-php-and-mysql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F11%2F05%2Fdreamweaver-cs5-with-php-and-mysql%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Have you ever wanted to use Dreamweaver CS5 to run PHP pages? What about displaying data in a PHP page from a MySQL database? Well, it is a lot easier than you might think! I have written a series of 5 blogs to take you step-by-step through the connection and testing process. To achieve total success, go through the blogs in the order listed below.</p>
<p><span id="more-253"></span></p>
<h3>How to Use Dreamweaver CS5 with PHP and MySQL</h3>
<ol>
<li><a title="PHP installation" href="http://web-design.blogs.webucator.com/2010/10/20/creating-php-pages-using-dreamweaver-cs5-part-one/">PHP      Installation with XAMPP</a>. This blog takes you through the process of installing XAMPP. XAMPP is an application that combines the downloading of phpMyAdmin, MySQL, and the required files to run PHP pages.</li>
<li><a title="MySQL configuration" href="http://web-design.blogs.webucator.com/2010/10/21/creating-php-pages-using-dreamweaver-cs5-part-two/">MySQL      Configuration for Windows</a>. This blog will help you configure MySQL and phpMyAdmin, so that you can administer the database.</li>
<li><a title="PHP Connectivity" href="http://web-design.blogs.webucator.com/2010/10/24/creating-php-pages-using-dreamweaver-cs5-part-three/">Dreamweaver      CS5 and PHP Connectivity Test</a>. This blogs walks you through the process of defining a site in Dreamweaver CS5. It also gives you everything you need to run a test page to ensure that everything is running smoothly.</li>
<li><a title="Database Connectivity" href="http://web-design.blogs.webucator.com/2010/10/27/dreamweaver-cs5-and-database-connectivity/">Dreamweaver      CS5 and Database Connectivity</a>. This blog establishes the connection to the database and teaches you to retrieve a recordset of the data from a database table to display on your PHP page.</li>
<li><a title="Entering Data" href="http://web-design.blogs.webucator.com/2010/10/29/using-dreamweaver-cs5-to-enter-data-into-a-mysql-database/">Using      Dreamweaver CS5 to Enter Data into a MySQL Database</a>. The final blog ties everything together! We use a wizard to create a form that will accept data from the end-user and insert it into the database table to which you connected in blog four.  Then, we refresh the page and see if our new data appears! I bet you it will!</li>
</ol>
<p>I know you are probably thinking that this process will take a long time. Not at all! Blogs 1-3 will take about 30 minutes, depending on your Internet connection. Blogs 4-5, getting data in and out of a database, I have perfected to take 8 minutes flat!</p>
<p>If you&#8217;d like to learn more, please consider our <a href="http://www.webucator.com/webdev/php.cfm">PHP training</a>, <a href="http://www.webucator.com/database/mysql.cfm">MySQL training</a> and <a href="http://www.webucator.com/adobe/dreamweaver.cfm">Dreamweaver training</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/eHoKjMKJU8U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/11/05/dreamweaver-cs5-with-php-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/11/05/dreamweaver-cs5-with-php-and-mysql/</feedburner:origLink></item>
		<item>
		<title>Using Dreamweaver CS5 to Enter Data into a MySQL Database</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/TbjfJJyI100/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/29/using-dreamweaver-cs5-to-enter-data-into-a-mysql-database/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 18:53:58 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=217</guid>
		<description><![CDATA[Getting data into a MySQL database is actually easy! It is the connectivity that is confusing. I have written a few blogs on the topic: PHP Installation through XAMPP, MySQL Configuration, and Dreamweaver CS5 and PHP Connectivity test. Those blogs will take you step-by-step through the connection process. The fun part is creating a form [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F29%2Fusing-dreamweaver-cs5-to-enter-data-into-a-mysql-database%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F29%2Fusing-dreamweaver-cs5-to-enter-data-into-a-mysql-database%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Getting data into a <strong>MySQL</strong> database is actually easy! It is the connectivity that is confusing. I have written a few blogs on the topic: PHP Installation through XAMPP, MySQL Configuration, and Dreamweaver CS5 and PHP Connectivity test. Those blogs will take you step-by-step through the connection process. The fun part is creating a form and submitting data into your database. To do this, you must create a page that inserts the data using a form, and then displays a record set of the same table where the data was inserted. It is the whole round-trip! Let&#8217;s get started:</p>
<p><span id="more-217"></span></p>
<h3><strong>Entering Data into the Database</strong></h3>
<ol>
<li>Make sure you have your connectivity set up. (See the blog links above.)</li>
<li>You must have the <strong>connectivity</strong> done and the site <strong>defined</strong> in Dreamweaver.</li>
<li>Open the <strong>XAMPP</strong> console and start <strong>MySQL</strong> and <strong>Apache</strong>.</li>
<li>Create a <strong>new PHP page</strong> in the Dreamweaver site you have defined. Save it with no spaces in the name.</li>
<li>Click <strong>on Insert &gt; Data Objects &gt; Insert Record &gt; Record Insertion Form Wizard.</strong></li>
<li>Choose your <strong>Connection</strong> from the dropdown.</li>
<li>Choose the <strong>table</strong> that you want to insert the data into.</li>
<li>In the <strong>&#8220;After inserting, go to:&#8221;</strong> text field, type in the name of the page that will open automatically after the end user submits the form data. For example, it could go to a page that displays &#8220;Thanks for signing up for our Newsletter.&#8221; It can be a simple page named “thankyou.htm”.</li>
<li>Click <strong>OK</strong>.</li>
<li>Save the page, run it, and insert some text into the fields.</li>
<li>Click the <strong>Insert Record</strong> button.</li>
<li>Hopefully, you will now see your “thankyou.htm” page. Remember, you have to create the “ThankYou” page!</li>
</ol>
<h3><strong>Now, let’s create a PHP page to display the data you just entered.</strong></h3>
<ol>
<li>Create a new <strong>PHP</strong> page.</li>
<li>Click on the <strong>Bindings</strong> tab in the upper right corner.</li>
<li>Click the little &#8216;<strong>+</strong>&#8216; and choose <strong>Recordset (Query)</strong>.</li>
<li>Give the recordset a name, like <strong>rsMyRecords</strong>.</li>
<li>Select the <strong>Connection</strong>.</li>
<li>Select the table from the database that you want to get data from.</li>
<li>Select the <strong>Test</strong> button on the left side. If the connection is successful, you will see all of the rows from that table.</li>
<li>Click <strong>OK</strong>.</li>
<li>Click the <strong>expander button</strong> next to the record. Then, set and drag a field from your database over to your new PHP page.</li>
<li><strong>Save</strong> the page, <strong>run</strong> the page, and poof! You are displaying data from a database!</li>
</ol>
<p>If you are interested in learning more, check out our <a href="http://www.webucator.com/webdev/php.cfm">PHP training</a>, <a href="http://www.webucator.com/database/mysql.cfm">MySQL training</a> and <a href="http://www.webucator.com/adobe/dreamweaver.cfm">Dreamweaver training</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/TbjfJJyI100" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/29/using-dreamweaver-cs5-to-enter-data-into-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/29/using-dreamweaver-cs5-to-enter-data-into-a-mysql-database/</feedburner:origLink></item>
		<item>
		<title>Dreamweaver CS5 and Database Connectivity</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/HvMaC6HVysg/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/27/dreamweaver-cs5-and-database-connectivity/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 16:38:02 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=211</guid>
		<description><![CDATA[After you have successfully installed PHP and MySQL, it is time to open Dreamweaver CS5 and connect to MySQL. Make sure that every window is closed except Dreamweaver CS5. When inserting data into a database, or retrieving data from a database, it is best to have that database application closed. How to Connect Dreamweaver CS5 to MySQL [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F27%2Fdreamweaver-cs5-and-database-connectivity%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F27%2Fdreamweaver-cs5-and-database-connectivity%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>After you have successfully installed PHP and MySQL, it is time to open <strong>Dreamweaver</strong> <strong>CS5</strong> and connect to <strong>MySQL</strong>. <em>Make sure that every window is closed except Dreamweaver CS5.</em> When inserting data into a database, or retrieving data from a database, it is best to have that database application closed. <span id="more-211"></span></p>
<h3>How to Connect Dreamweaver CS5 to MySQL</h3>
<ol>
<li>Define a site in <strong>Dreamweaver</strong>. Once you have a site defined, create a new <strong>PHP </strong>page and give it a name, without spaces.</li>
<li>On the Menu, click <strong>Window &gt; Databases</strong>, then click the little &#8216;<strong>+</strong>&#8216; and select <strong>MySQL Connection</strong>.</li>
<li>Give the <strong>Connection a name</strong>, such as connMyTest.</li>
<li>For the <strong>MySQL Server</strong>, type in <strong>localhost</strong>.</li>
<li>For the <strong>Username</strong>, type in <strong>root</strong>.</li>
<li>For the password, type in the password you created earlier.</li>
<li>Click the <strong>Select</strong> button and choose the database you want to connect to.</li>
<li>Click the <strong>Test</strong> button to confirm your connection. You should now see the connection in the databases window with an expander &#8216;+&#8217;.</li>
<li>Click on the <strong>Bindings</strong> tab next to <strong>Databases</strong>.</li>
<li>Click the little &#8216;<strong>+</strong>&#8216;, and then select <strong>Recordset (Query).</strong></li>
<li>Give the recordset a name, like <strong>rsMyRecords</strong>.</li>
<li>Select the <strong>Connection</strong> you created earlier.</li>
<li>Select the <strong>table</strong> from the database that you want to get data from.</li>
<li>Select the<strong> Test button</strong> on the left side. If the connection is successful, you will see all of the rows from that table.</li>
<li>Click &#8216;<strong>Ok</strong>&#8216;.</li>
<li>Click the <strong>expander button</strong> next to the record set and drag a field from your database over to your new <strong>PHP</strong> page.</li>
<li>Save the page, run the page, and poof! You are displaying data from a database!</li>
</ol>
<p>If you are interested in learning more, check out our <a href="http://www.webucator.com/webdev/php.cfm">PHP training</a>, <a href="http://www.webucator.com/database/mysql.cfm">MySQL training</a> and <a href="http://www.webucator.com/adobe/dreamweaver.cfm">Dreamweaver training</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/HvMaC6HVysg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/27/dreamweaver-cs5-and-database-connectivity/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/27/dreamweaver-cs5-and-database-connectivity/</feedburner:origLink></item>
		<item>
		<title>Creating PHP pages using Dreamweaver CS5: Part Three</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/ApSkMovzuzo/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/24/creating-php-pages-using-dreamweaver-cs5-part-three/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 18:37:44 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=208</guid>
		<description><![CDATA[Once you have PHP installed, it is time to test the connectivity in Dreamweaver CS5. Follow the easy steps below to display the date dynamically using PHP. This tutorial assumes you have downloaded XAMPP. If you don’t have it installed, please see the first blog in this series, which covers PHP Installation through XAMPP.   Dreamweaver [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F24%2Fcreating-php-pages-using-dreamweaver-cs5-part-three%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F24%2Fcreating-php-pages-using-dreamweaver-cs5-part-three%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Once you have PHP installed, it is time to test the connectivity in Dreamweaver CS5. Follow the easy steps below to display the date dynamically using PHP. This tutorial assumes you have downloaded XAMPP. If you don’t have it installed, please see the first blog in this series, which covers <a href="http://web-design.blogs.webucator.com/2010/10/20/creating-php-pages-using-dreamweaver-cs5-part-one/">PHP Installation through XAMPP</a>.  <span id="more-208"></span></p>
<h3>Dreamweaver CS5 and PHP Connectivity Test</h3>
<ol>
<li>Make sure the <strong>XAMPP Control Panel</strong> is open. If it is not open, you should have an icon on your desktop. Double-click on the icon to open the Control Panel.</li>
<li> Start <strong>MySQL</strong> by clicking the <strong>Start</strong> button. Then, start <strong>Apache</strong> by clicking the <strong>Start</strong> button.</li>
<li>Minimize the Control Panel.</li>
<li>Now, we need to tell Dreamweaver where your testing server is, as well as the URL to use. Create a folder with any name, like myNewSite, and put it in this location: <strong>C:\xampp\htdocs.</strong></li>
<li> Open Dreamweaver and select <strong>Site &gt; New Site.</strong></li>
<li> Give your site a name, like My PHP Site.</li>
<li>Click the folder icon to the right of Local Site Folder and browse to your testing servers document root: <strong>C:\xampp\htdocs\myNewSite.</strong></li>
<li>Click &gt; Open &gt; Select &gt; Save.
<ul>
<li> NOTE: All of your webpages for this PHP site need to be in a folder in C:\xampp\htdocs from now on.</li>
</ul>
</li>
<li>Select <strong>Servers</strong> on the left side.</li>
<li>Click the &#8216;<strong>+&#8217;</strong> to add a new server.</li>
<li>Make sure you are on the <strong>Basic</strong> button and select <strong>Local/Network</strong> from the <strong>Connect Using List.</strong></li>
<li><strong></strong>Give the server a name, like Local PHP Server.</li>
<li>Set the server folder to your local folder, <strong>C:\xampp\htdocs\myNewSite.</strong></li>
<li><strong></strong>For the URL, type <strong>http://localhost/myNewSit</strong>e.</li>
<li>Select the <strong>Advanced</strong> button.</li>
<li>In the testing server drop-down at the bottom of the screen, choose <strong>PHP MySQL </strong>and click <strong>Save.</strong></li>
<li><strong></strong>Click the <strong>Testing checkbox</strong> as well as the <strong>Remote checkbox</strong>, and then click <strong>Save</strong>.</li>
<li>In Dreamweaver, create a new PHP page.</li>
<li>In the code window, within the body tags, type this line of code:
<ul>
<li><strong>&lt;p&gt;The time on your local machine is &lt;?php echo date(l); ?&gt;&lt;/php&gt; &lt;/p&gt;</strong><strong> </strong>(That is the letter &#8216;l&#8217; in the line of code, not the number &#8217;1&#8242;).</li>
</ul>
</li>
<li>Save the page and run it. If you see Sunday, or whatever day it is, displayed in your browser, then you have done it!</li>
</ol>
<p>This concludes our three-part series on creating PHP pages using Dreamweaver CS5. To learn more about web design, consider our numerous options for <a href="http://www.webucator.com/webdesign/index.cfm">web design training</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/ApSkMovzuzo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/24/creating-php-pages-using-dreamweaver-cs5-part-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/24/creating-php-pages-using-dreamweaver-cs5-part-three/</feedburner:origLink></item>
		<item>
		<title>HTML5 Feature Check with Modernizr</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/EL3qui5X4ak/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/23/html5-feature-check-with-modernizr/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 01:26:32 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=242</guid>
		<description><![CDATA[Modernizr is a relatively small JavaScript file that checks the user&#8217;s browser for HTML5 feature support. The name is a bit of a misnomer as it doesn&#8217;t actually modernize the browser. It doesn&#8217;t add any missing features, it just gives developers an easy way of figuring out if the browser supports a given feature, so [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F23%2Fhtml5-feature-check-with-modernizr%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F23%2Fhtml5-feature-check-with-modernizr%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.modernizr.com/">Modernizr</a> is a relatively small JavaScript file that checks the user&#8217;s browser for HTML5 feature support. The name is a bit of a misnomer as it doesn&#8217;t actually <em>modernize</em> the browser. It doesn&#8217;t add any missing features, it just gives developers an easy way of figuring out if the browser supports a given feature, so they can write conditional code like this:<span id="more-242"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Modernizr.<span style="color: #660066;">canvas</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">//use canvas to create awesome drawing application</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Go get yourself a browser that supports canvas.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>If you&#8217;re curious what HTML5 features your browser supports, check out this <a href="http://www.html5cards.com/html5-feature-check.cfm">HTML5 Feature Check</a> page, which I built using Modernizr.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/EL3qui5X4ak" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/23/html5-feature-check-with-modernizr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/23/html5-feature-check-with-modernizr/</feedburner:origLink></item>
		<item>
		<title>Creating PHP Pages using Dreamweaver CS5: Part Two</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/x3PSjiH1Ijg/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/21/creating-php-pages-using-dreamweaver-cs5-part-two/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 15:55:21 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=196</guid>
		<description><![CDATA[In order to use PHP and MySQL with Dreamweaver CS5, you need to download PHP, MySQL, and you should also download phpMyAdmin. This is done easily by downloading XAMPP, which will download all three applications for you! See my other blog, “PHP Installation through XAMPP,” for detailed instructions on downloading XAMPP. Once downloaded, open the XAMPP console and start MySQL, and then start XAMPP. Now, we [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F21%2Fcreating-php-pages-using-dreamweaver-cs5-part-two%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F21%2Fcreating-php-pages-using-dreamweaver-cs5-part-two%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In order to use <strong>PHP </strong>and <strong>MySQL </strong>with <strong>Dreamweaver CS5</strong>, you need to download <strong>PHP</strong>, <strong>MySQL</strong>, and you should also download <strong>phpMyAdmin</strong>. This is done easily by downloading <strong>XAMPP</strong>, which will download all three applications for you! See my other blog, “<a href="http://web-design.blogs.webucator.com/2010/10/20/creating-php-pages-using-dreamweaver-cs5-part-one/">PHP Installation through XAMPP</a>,” for detailed instructions on downloading <strong>XAMPP</strong>. Once downloaded, open the <strong>XAMPP</strong> console and start <strong>MySQL</strong>, and then start <strong>XAMPP</strong>. Now, we can configure <strong>MySQL</strong>. <span id="more-196"></span></p>
<h3>How to Configure MySQL</h3>
<p>Here are the steps:</p>
<ol>
<li>Go to <a href="http://localhost/">http://localhost</a>. <a href="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step-11.png"><img class="aligncenter size-large wp-image-199" src="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step-11-1024x483.png" alt="" width="600" height="283" /></a></li>
<li>A window should open in the browser with an orange menu on the left side. Click &#8216;<strong>Security</strong>&#8216; on the left and choose a language. Scroll down and click on this link: <a href="http://localhost/security/xamppsecurity.php"><strong>http://localhost/security/xamppsecurity.php</strong></a>. <a href="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step21.png"><img class="aligncenter size-large wp-image-201" src="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step21-1024x410.png" alt="" width="600" height="240" /></a></li>
<li>The window that now displays allows you to choose a password. Choose something easy to remember. Leave all of the defaults as they are and click the <strong>Password Changing</strong> button. <a href="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step-3.png"><img class="aligncenter size-large wp-image-202" src="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step-3-1024x482.png" alt="" width="600" height="282" /></a></li>
<li>Go back to the Welcome window at <strong>http://localhost</strong> and click the <strong>phpMyAdmin </strong>link in the lower left corner.</li>
<li>Put in the password you created. The username is &#8216;<strong>root</strong>&#8216;.</li>
<li>If you logged in correctly, you should see the main <strong>phpMyAdmin</strong> window. Within this window, you can create a database to work with for the time being. I suggest creating one table for now and entering a few records for testing purposes. <a href="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step-6.png"><img class="aligncenter size-large wp-image-203" src="http://web-design.blogs.webucator.com/files/2010/10/image-for-blog-2-step-6-1024x482.png" alt="" width="600" height="282" /></a></li>
</ol>
<p>The next step is to test the connectivity of Dreamweaver CS5 and PHP. I explain how to do this in part three of this series.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/x3PSjiH1Ijg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/21/creating-php-pages-using-dreamweaver-cs5-part-two/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/21/creating-php-pages-using-dreamweaver-cs5-part-two/</feedburner:origLink></item>
		<item>
		<title>Creating PHP Pages using Dreamweaver CS5: Part One</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/zHxEN9eg7uo/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/20/creating-php-pages-using-dreamweaver-cs5-part-one/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 01:45:04 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=190</guid>
		<description><![CDATA[In a series of three blogs, I will take you through the installation and creation of PHP pages using Dreamweaver CS5, PHP, and MySQL. The following steps will guide you in the installation process of PHP. If you want to run PHP pages, you need a web server. Eventually, you will want to run data-driven pages, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F20%2Fcreating-php-pages-using-dreamweaver-cs5-part-one%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F20%2Fcreating-php-pages-using-dreamweaver-cs5-part-one%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In a series of three blogs, I will take you through the installation and creation of PHP pages using <strong>Dreamweaver CS5,</strong> <strong>PHP, and MySQL</strong>. The following steps will guide you in the installation process of PHP.<span id="more-190"></span></p>
<p>If you want to run PHP pages, you need a web server. Eventually, you will want to run data-driven pages, which means you need MySQL (you can use other databases too, but PHP and MySQL go well together).  You also need a user-interface for MySQL &#8211; a good free web-based one is phpMyAdmin. Do you have to install all three separately? No. Just download <strong>XAMPP</strong>.</p>
<p>Before you install <strong>XAMPP</strong>, make sure you are logged on as the administrator in Windows and make sure that you have turned off IIS, if you have it installed.</p>
<h3><strong>How to install XAMPP</strong></h3>
<ol>
<li>Make sure all applications on your computer are closed.</li>
<li> Follow this link: <a href="http://www.apachefriends.org/en/xampp-windows.html#641">http://www.apachefriends.org/en/xampp-windows.html#641</a> and download XAMPP for Windows.</li>
<li>Make sure you download the <strong>Self-extracting RAR archive</strong> from      the <strong>Basic package</strong>. <a href="http://web-design.blogs.webucator.com/files/2010/10/xampp-image.jpg"><img class="aligncenter size-full wp-image-194" src="http://web-design.blogs.webucator.com/files/2010/10/xampp-image.jpg" alt="" width="601" height="216" /></a></li>
<li>Double-click the .exe file you downloaded. When you get the      dialog box about where to install it, choose the default, which is <strong>C:\xampp</strong>.      This folder will be very important later.</li>
<li>When completely      downloaded, a Windows Command Prompt window opens and asks you a few      questions. Just answer “<strong>yes</strong>” or “<strong>no,”</strong> and press <strong>Enter</strong>.</li>
<li>You will now see a message that tells you that XAMPP is ready. A      screen comes up and asks you to enter a number, enter number “<strong>1</strong>”      and press <strong>Enter</strong>. This will start the XAMPP Control Panel.</li>
<li>Close the <strong>Command Prompt Window</strong>.</li>
</ol>
<p>Now, you are ready to configure MySQL! Move on to the next blog in the series: <a href="http://web-design.blogs.webucator.com/2010/10/21/creating-php-pages-using-dreamweaver-cs5-part-two/">Configuring MySQL</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/zHxEN9eg7uo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/20/creating-php-pages-using-dreamweaver-cs5-part-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/20/creating-php-pages-using-dreamweaver-cs5-part-one/</feedburner:origLink></item>
		<item>
		<title>List of New HTML5 Tags</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/Ku-NBP6Z2xU/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/14/list-of-new-html5-tags/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 04:54:39 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=186</guid>
		<description><![CDATA[One great thing about HTML compared to &#8220;programming languages&#8221; is that it is finite. There is probably someone out there who, just for the fun of it, memorized all the HTML tags and can rattle them off in alphabetical order or according to the number of letters in the tag. HTML5 adds some great features [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F14%2Flist-of-new-html5-tags%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F14%2Flist-of-new-html5-tags%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>One great thing about HTML compared to &#8220;programming languages&#8221; is that it is finite. There is probably someone out there who, just for the fun of it, memorized all the HTML tags and can rattle them off in alphabetical order or according to the number of letters in the tag. HTML5 adds some great features to HTML and standardizes some others that were de facto standardized already. There is a lot of new stuff to learn. But, luckily for our friend who memorized all the tags, HTML5 doesn&#8217;t pose such a threat. There are only 28 new tags, which are listed and briefly described below:<span id="more-186"></span></p>
<table style="border-collapse:collapse" border="0">
<colgroup>
<col style="width:37px"/>
<col style="width:96px"/>
<col style="width:506px"/></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #4f81bd 1.0pt; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">#</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #4f81bd 1.0pt; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt"><strong>Tag</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top:  solid #4f81bd 1.0pt; border-left:  none; border-bottom:  solid #4f81bd 1.0pt; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt"><strong>Description</strong></span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>1</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;article&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For a standalone article on a page.  Articles can be nested within other articles; for example, a blog post would be contained in </span>&lt;article&gt;<span style="font-family:Verdana; font-size:9pt"> tags and each comment would be contained within a nested </span>&lt;article&gt;<span style="font-family:Verdana; font-size:9pt"> tag.</span></span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>2</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;aside&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For content contained in an aside.  Often used for navigation elements or for a list of articles or categories (e.g., in a blog).</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>3</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;audio&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For embedding audio files.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>4</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;canvas&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For creating graphics and graphic applications.  (see this <a href="http://testzone.danieljmarra.com/canvas/canvaspong/">cool example of pong created with &lt;canvas&gt;</a></span><span style="font-family:Verdana; font-size:9pt">)</span></span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>5</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;command&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For command buttons similar to what you might see in the Microsoft Office 2010 ribbon. </span>&lt;command&gt; must be nested in &lt;menu&gt;.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>6</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;datalist&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For a dropdown list providing built-in functionality similar to a JavaScript autocomplete boxes.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>7</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;details&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For expandable (usually initially hidden) content to provide more information about an element.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>8</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;embed&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For backwards compatibility with the non-standard (but well supported)</span> &lt;embed&gt;<span style="font-family:Verdana; font-size:9pt"> tag in HTML 4.</span></span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>9</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;figcaption&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For captions on images. (In HTML4, there was no way to semantically associate a caption with an image.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>10</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;figure&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For wrapping embedded content (e.g, an image) with a </span>&lt;figcaption&gt;.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>11</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;footer&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For the footer of a page or a section.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>12</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;header&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For the header of a page or a section.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>13</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;hgroup&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For grouping </span>&lt;h1&gt;&#8230;&lt;h6&gt; tags on a page. For example, the title and subtitle of a page could be an &lt;h1&gt; and &lt;h2&gt; grouped in an &lt;hgroup&gt; tag.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>14</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;keygen&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For a generated key in a form</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>15</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;mark&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For showing marked (or highlighted) text. Unlike &lt;strong&gt; or &lt;em&gt;, &lt;mark&gt; doesn&#8217;t give the text any special meaning. The best example is marking a word or phrase that a user has searched on within the search results.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>16</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;meter&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For a measurement within a set range.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>17</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;nav&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For holding a group of navigation links.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>18</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;output&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For holding output (e.g., produced by a script).</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>19</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;progress&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For a progress indicator (e.g., for a loading).</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>20</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;rp&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">Used within </span>&lt;ruby&gt; tags to tell browsers that cannot render the East Asia characters properly what extra characters (usually parentheses) to display.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>21</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;rt&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">Used within </span>&lt;ruby&gt; tags to show how to pronounce East Asia characters<span style="font-family:Verdana; font-size:9pt">.</span></span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>22</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;ruby&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For ruby annotations.  (<a href="http://www.w3.org/TR/ruby/">See specification for examples</a>.)</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>23</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;section&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><span style="font-family:Verdana; font-size:9pt">For creating a </span>&lt;section&gt; on the page. This helps the browser (user agent) determine the page outline.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>24</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;source&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For indicating media sources within &lt;video&gt; and &lt;audio&gt;.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>25</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;summary&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For the header of a &lt;detail&gt; element. The &lt;summary&gt; would show by default.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91"><strong>26</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91">&lt;time&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For holding a machine-readable date and/or time while displaying a friendly date and/or time.</span></p>
</td>
</tr>
<tr style="background: #d3dfee">
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91"><strong>27</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91">&lt;video&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-left:  none; border-right:  none">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">For embedding video files.</span></p>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-bottom:  solid #4f81bd 1.0pt">
<p><span style="color:#365f91"><strong>28</strong></span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-bottom:  solid #4f81bd 1.0pt">
<p><span style="color:#365f91">&lt;wbr&gt;</span></p>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-bottom:  solid #4f81bd 1.0pt">
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">An opportunity to insert a line break within a word.<br />
</span></p>
<p><span style="color:#365f91; font-family:Verdana; font-size:9pt">(e.g, super&lt;wbr&gt;califragilistic&lt;wbr&gt;expialidocious)</span></p>
</td>
</tr>
</tbody>
</table>
<div style="margin:10px; padding:5px; border:1px dashed #00c">
<p>A note on the &lt;menu&gt; tag.  It was deprecated in HTML4, but is brought back and redefined in HTML5 as a container for controls.</p>
</div>
<p> 
<p>Learn how to use these tags to build great HTML5 applications in our <a href="http://www.webucator.com/classes/html5.cfm">HTML5 training classes</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/Ku-NBP6Z2xU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/14/list-of-new-html5-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/14/list-of-new-html5-tags/</feedburner:origLink></item>
		<item>
		<title>XHTML, HTML5 and Freedom from Choice</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/KEMk5O_NUss/</link>
		<comments>http://web-design.blogs.webucator.com/2010/10/06/xhtml-html5-and-freedom-from-choice/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 13:55:31 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=178</guid>
		<description><![CDATA[I used to work in downtown Boston where you have a lot of lunch options. But every day, my colleagues and I would go to the same pizza place for lunch. That way, we never had to decide what we felt like doing. We called it &#8220;freedom from choice.&#8221; One of the things I love [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F06%2Fxhtml-html5-and-freedom-from-choice%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F10%2F06%2Fxhtml-html5-and-freedom-from-choice%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I used to work in downtown Boston where you have a lot of lunch options. But every day, my colleagues and I would go to the same pizza place for lunch. That way, we never had to decide what we felt like doing. We called it &#8220;freedom <em>from</em> choice.&#8221;</p>
<p>One of the things I love about XHTML is it provides that same freedom <em>from</em> choice. There is (usually) only one way to do things. One of the <a href="http://www.w3.org/TR/REC-xml/">original design goals of XML</a> was:</p>
<blockquote><p><em>The number of optional features in XML is to be kept to the absolute minimum, ideally zero.</em></p></blockquote>
<p>Why? To make it easy to build applications that work with XML. But a nice side effect was that it provided <em>freedom from choice</em>. And with this freedom comes the knowledge that you can look at any valid XHTML document and know what to expect. No need for a style guide to tell authors when to and not to put quotation marks around their attributes or to write in lowercase or uppercase letters.<span id="more-178"></span></p>
<p>HTML5, on the other hand, takes a much more flexible approach. It is designed with the idea that authors have been writing HTML in many different ways over the years and there are zillions of web pages out there that don&#8217;t adhere to the strict XHTML standards. Rather than render those page useless, let&#8217;s just relax the standard a bit (well, a whole lot). So, among the variations of acceptable tag formatting are:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link type=&quot;text/css&quot; href=&quot;style.css&quot;/&gt;
&nbsp;
&lt;LINK TYPE=&quot;text/css&quot; HREF=&quot;style.css&quot;/&gt;
&nbsp;
&lt;link type=text/css href=style.css&gt;
&nbsp;
&lt;LINK TYPE=text/css HREF=style.css&gt;
&nbsp;
&lt;LiNk TyPe=text/css hReF=&quot;style.css&quot;&gt;</pre></div></div>

<p>The last one makes me cringe, but it&#8217;ll work. </p>
<p>At Webucator, we&#8217;re in the process of writing <a href="http://www.webucator.com/classes/html5.cfm">HTML5 training</a> courseware and we have to decide how to approach this new flexibility. I&#8217;m currently reading <a href="http://www.amazon.com/Introducing-HTML5-Voices-That-Matter/dp/0321687299">Introducing HTML5 (Voices That Matter)</a> by Bruce Lawson and Remy Sharp. Bruce and Remy have different styles of writing HTML5. Essentially, Remy likes the XHTML approach and Bruce prefers to make the code as terse as possible, minimizing attributes and avoiding unnecessary quotation marks and self -closing forward slashes.</p>
<p>Early in the book, the authors give this advice: &#8220;Pick the style that works for you and stick to it.&#8221; They point out that this is especially important when working with a team. I agree with this advice and when writing our courseware, we plan to make and stick to some basic rules. But which rules to choose?</p>
<p>I really really <em>really</em> want to take the XHTML approach. I have been coding that way for about 10 years and it is hard to imagine dropping all those pretty self-closing forward slashes. And when I started this article, I was ready to say that that is the approach we will be using in our HTML5 courseware.  But (much to my chagrin) I cannot find any good reason to use XHTML5.</p>
<p>There is a mildly interesting discussion on <a href="http://mathiasbynens.be/notes/xhtml5#comments">XHTML5 vs HTML5</a> that gets into the MIME type issue and IE8 support and what it means to be well-formed or malformed. The discussion is long and drawn out and probably not worth reading (but the article preceding the comments is a quick and good read).  The whole thing seems pretty simple to me. XHTML can be very useful in certain use cases, but unless you <em>are planning</em> for those use cases, there is no reason to write all your HTML5 pages as XHTML. You would just be doing it for the sake of doing it.</p>
<p>So, at this point, I am thinking we will follow these guidelines for writing HTML5:</p>
<ol>
<li>Write tags and attributes in <strong>all lowercase letters</strong> (even event handlers like onclick).
</li>
<li><strong>Do not use short-cut close tags</strong> for void/empty elements.
</li>
<li><strong>Put all attribute values in quotes.</strong> Why? Because attribute values that have spaces in them <em>have to be in quotes</em>. And I do not like the idea of having some attributes in quotes and some not.
</li>
<li><strong>Minimize attributes</strong> when you can.
</li>
</ol>
<p>Simple enough. I may change my mind though. <span style="font-family:Wingdings">J</span></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/KEMk5O_NUss" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/10/06/xhtml-html5-and-freedom-from-choice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/10/06/xhtml-html5-and-freedom-from-choice/</feedburner:origLink></item>
		<item>
		<title>Form Methods: GET versus POST</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/HC8apt3Af0o/</link>
		<comments>http://web-design.blogs.webucator.com/2010/09/27/form-methods-get-versus-post/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 18:45:47 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=155</guid>
		<description><![CDATA[When creating a webpage with a form, you have two methods to use when submitting data: The GET Method The POST Method We will look at the reasons for using each of these methods. Using the GET Method to Submit Data When using the GET Method, data is sent to the server in name-value pairs [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F09%2F27%2Fform-methods-get-versus-post%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F09%2F27%2Fform-methods-get-versus-post%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>When creating a webpage with a form, you have two<strong> me</strong><strong>thods</strong> to use when submitting data:</p>
<ol>
<li>The <strong>GET </strong>Method</li>
<li>The <strong>POST</strong> Method</li>
</ol>
<p>We will look at the reasons for using each of these methods.<span id="more-155"></span></p>
<h3>Using the GET Method to Submit Data</h3>
<p>When using the GET Method, data is sent to the server in name-value pairs as part of the query string. I am sure you have seen this before. Have you ever been to a site where you used a form to search for something, and the next thing you know, the URL is a mile long? Well, next time, take a look at that URL. Do you see the name-value pairs in there? That is the GET Method hard at work!</p>
<h4>GET Method Advantages</h4>
<ul>
<li><span style="font-weight: normal;">The GET Method<strong> </strong>is most commonly used by search engines. </span></li>
<li><span style="font-weight: normal;">The GET Method allows you to bookmark the page that is returned after the form is submitted.</span></li>
</ul>
<h4>GET Method Disadvantages</h4>
<ul>
<li><span style="font-weight: normal;">The GET Method should not be used with sensitive data. </span>Remember, the data will be seen in the URL, and if the user sees their Social Security number, credit card number, or other sensitive data in the URL, it will scare them away! It scares me just thinking about it!</li>
</ul>
<h3>Using the POST Method to Submit Data</h3>
<p>Use the POST Method when you want to hide your data. For example, if the form modifies a database, or you are logging in using a username and password, then the POST Method is the choice for you. When using the POST Method, the name-value pairs are not appended to the URL. So, any data that gets passed from the form will not be visible.</p>
<h4>POST Method Advantages</h4>
<ul>
<li>The POST Method will not display the name-value pairs in the URL, so this is great for passing sensitive data.</li>
<li>The POST Method allows uploading of files, such as images or documents.</li>
</ul>
<h4>POST Method Disadvantages</h4>
<ul>
<li>The POST Method will not allow you to bookmark the page.</li>
</ul>
<p>We offer <a href="http://www.webucator.com/ilo/schedule/webdesign/">web design training</a> on this topic and other web design topics. Visit our <a href="http://www.webucator.com/ilo/schedule.cfm">website</a> to see a full listing of instructor-led online courses.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/HC8apt3Af0o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/09/27/form-methods-get-versus-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/09/27/form-methods-get-versus-post/</feedburner:origLink></item>
		<item>
		<title>Using a Regular Expression to create a simple HTML list</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/XWR-aU4z1rM/</link>
		<comments>http://web-design.blogs.webucator.com/2010/08/09/using-a-regular-expression-to-create-a-simple-html-list/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 18:23:02 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=144</guid>
		<description><![CDATA[I often find myself creating HTML lists from a list of items in a text format. In TextPad (or any other tool that supports regular expressions) you can do this very quickly using a simple regular expression. Start with a list. Using the Replace dialog (F8 in TextPad), replace \n with &#60;/li&#62;\n&#60;li&#62;. \n is a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F08%2F09%2Fusing-a-regular-expression-to-create-a-simple-html-list%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F08%2F09%2Fusing-a-regular-expression-to-create-a-simple-html-list%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I often find myself creating HTML lists from a list of items in a text format. In TextPad (or any other tool that supports regular expressions) you can do this very quickly using a simple regular expression.<span id="more-144"></span></p>
<ol>
<li>Start with a list.<br />
<img src="http://web-design.blogs.webucator.com/files/2010/08/080910_1811_UsingaRegul1.png" alt="" /></li>
<li>
<div>Using the Replace dialog (F8 in TextPad), replace <strong>\n</strong> with <strong>&lt;/li&gt;\n&lt;li&gt;</strong>.</div>
<ul>
<li><strong>\n</strong> is a hard return. This puts a close &lt;/li&gt; at the end of every line and an open &lt;li&gt; at the beginning of every line.</li>
</ul>
</li>
<li>So you end up with this:<br />
<img src="http://web-design.blogs.webucator.com/files/2010/08/080910_1811_UsingaRegul2.png" alt="" /></li>
<li>Then you just cut and paste that extra open &lt;li&gt; tag at the end to the beginning and add your parent &lt;ul&gt; or &lt;ol&gt; tags.<br />
<img src="http://web-design.blogs.webucator.com/files/2010/08/080910_1811_UsingaRegul3.png" alt="" /></li>
</ol>
<p>There you go.  If you haven&#8217;t used regular expressions much, you should consider mastering them. Once you know them, you&#8217;ll find you&#8217;re using them all the time.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/XWR-aU4z1rM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/08/09/using-a-regular-expression-to-create-a-simple-html-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/08/09/using-a-regular-expression-to-create-a-simple-html-list/</feedburner:origLink></item>
		<item>
		<title>Using JavaScript to Blur a TextBox</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/y10zDtzNKuQ/</link>
		<comments>http://web-design.blogs.webucator.com/2010/08/04/using-javascript-to-blur-a-textbox/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 14:24:16 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=112</guid>
		<description><![CDATA[How can you keep a user from changing the contents of a textbox? It is easy to do using HTML Event Handlers. Try the code below. It works like this&#8230; Click the button and type in a color. We&#8217;ll use green. Then, click &#8220;ok&#8221;. The background color will turn green and the word &#8220;green&#8221; will [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F08%2F04%2Fusing-javascript-to-blur-a-textbox%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F08%2F04%2Fusing-javascript-to-blur-a-textbox%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>How can you keep a user from changing the contents of a textbox? It is easy to do using <strong>HTML Event Handlers</strong>. Try the code below. It works like this&#8230;</p>
<p>Click the button and type in a color. We&#8217;ll use green. Then, click &#8220;ok&#8221;. The background color will turn green and the word &#8220;green&#8221; will display itself in the FavColor text box. Try to change the contents of the FavColor text box and you can&#8217;t! That is because of the <strong>HTML Event Handler: onfocus = &#8220;this.blur();&#8221;</strong><br />
<span id="more-112"></span></p>
<h3>Example Using blur()</h3>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Blurring a TextBox<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
function getMyColor() {
  var myColor = prompt(&quot;What is your favorite Color?&quot;, &quot;&quot;);
  var myTextBox = document.MyForm.FavColor;
  document.bgColor = myColor;
  myTextBox.value = myColor;
}
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Example Using Blur<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;MyForm&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Choose A Color&quot;</span> <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;getMyColor();&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  My Favorite Color is:
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FavColor&quot;</span> <span style="color: #000066;">size</span>=<span style="color: #ff0000;">&quot;15&quot;</span> <span style="color: #000066;">onfocus</span>=<span style="color: #ff0000;">&quot;this.blur();&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>And for you geeky rebels out there:<br />
<a href="http://web-design.blogs.webucator.com/files/2010/08/onFocusTShirt.gif"><img src="http://web-design.blogs.webucator.com/files/2010/08/onFocusTShirt.gif" alt="" title="onFocusTShirt" width="371" height="217" class="alignnone size-full wp-image-139" /></a></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/y10zDtzNKuQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/08/04/using-javascript-to-blur-a-textbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/08/04/using-javascript-to-blur-a-textbox/</feedburner:origLink></item>
		<item>
		<title>HTML Event Handlers and JavaScript Event Listeners</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/xgmcL7n0GjU/</link>
		<comments>http://web-design.blogs.webucator.com/2010/08/03/html-event-handlers-and-javascript-event-listeners/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 00:52:30 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=117</guid>
		<description><![CDATA[HTML Event Handlers provide a gateway from HTML to JavaScript. Event Handlers are HTML attributes that force an element to &#8220;listen&#8221; for a specific event to occur. HTML Event Handlers all begin with the word &#8220;on&#8221;. Here are a few: onload onclick onfocus onblur onmouseover onmouseout These event listeners can also be created via JavaScript: [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F08%2F03%2Fhtml-event-handlers-and-javascript-event-listeners%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F08%2F03%2Fhtml-event-handlers-and-javascript-event-listeners%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>HTML Event Handlers</strong> provide a gateway from HTML to JavaScript. <strong>Event Handlers</strong> are HTML attributes that force an element to &#8220;listen&#8221; for a specific event to occur. HTML <strong>Event Handlers</strong> all begin with the word &#8220;on&#8221;.  Here are a few:<span id="more-117"></span></p>
<ul>
<li><strong>on</strong>load</li>
<li><strong>on</strong>click</li>
<li><strong>on</strong>focus</li>
<li><strong>on</strong>blur</li>
<li><strong>on</strong>mouseover</li>
<li><strong>on</strong>mouseout</li>
</ul>
<p>These event listeners can also be created via JavaScript:</p>
<ul>
<li>window.onload&#8230;</li>
<li>element.onclick&#8230;</li>
<li>element.onfocus&#8230;</li>
<li>element.onblur&#8230;</li>
<li>element.onmouseover&#8230;</li>
<li>element.onmouseout&#8230;</li>
</ul>
<p>Here is are a couple of examples of how you can use the HTML onload event handler and the document.onload event listener to accomplish the same thing: placing focus on a form element when the page loads:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Applying Focus to a Form Element<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	function applyFocus() {
		document.getElementById('searchbox').focus();
	}
	window.onload=applyFocus;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body</span> <span style="color: #000066;">onload</span>=<span style="color: #ff0000;">&quot;document.getElementById('searchbox').focus();&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;post&quot;</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;search.php&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;searchbox&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;searchbox&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Search&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The JavaScript on lines 5-8 does the exactly the same thing as the onload event handler in the &lt;body&gt; tag on line 11. You would only need one or the other.</p>
<p>Note that HTML Event Handlers are <strong>NOT</strong> case sensitive. Why? Because they are HTML, not JavaScript. Some programs, such as Dreamweaver, will insert HTML Event Handlers in Camel Case (e.g, onLoad), and that is ok. However, the same is not true for JavaScript event listeners.  They <strong>are</strong> case sensitive.</p>
<p><em>Event handlers are covered in our <a href="http://www.webucator.com/webdesign/course/introduction-javascript-training.cfm">Introduction to JavaScript class</a>.</em></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/xgmcL7n0GjU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/08/03/html-event-handlers-and-javascript-event-listeners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/08/03/html-event-handlers-and-javascript-event-listeners/</feedburner:origLink></item>
		<item>
		<title>Creating a Rollover Effect with CSS</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/buicyJPsWEc/</link>
		<comments>http://web-design.blogs.webucator.com/2010/07/27/creating-a-rollover-effect-with-css/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 02:40:14 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=106</guid>
		<description><![CDATA[I recently discovered there&#8217;s yet another way to create rollover images in Dreamweaver. This method actually doesn&#8217;t even require any knowledge of JavaScript, even minimally. You only need to know basic CSS. In fact, it doesn&#8217;t even require images. How to create a rollover effect in CSS If you remember how rollover images work, they are [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F07%2F27%2Fcreating-a-rollover-effect-with-css%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F07%2F27%2Fcreating-a-rollover-effect-with-css%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I recently discovered there&#8217;s yet another way to <a href="http://adobe.blogs.webucator.com/2010/07/19/creating-rollover-images-in-dreamweaver-cs5/">create rollover images in Dreamweaver</a>. This method actually doesn&#8217;t even require <em>any</em> knowledge of JavaScript, even minimally. You only need to know basic CSS. In fact, it doesn&#8217;t even require <em>images</em>.</p>
<h3>How to create a rollover effect in CSS</h3>
<p>If you remember <a href="http://adobe.blogs.webucator.com/2010/07/19/creating-rollover-images-in-dreamweaver-cs5/">how rollover images work</a>, they are essentially two images that swap with each other depending on whether the cursor is hovering over them. We can create a similar effect in CSS through the use of the <strong>&lt;a&gt;</strong> tag&#8217;s <em>pseudo-classes.</em><br />
<span id="more-106"></span><br />
A link can have the following pseudo-classes:</p>
<ul>
<li><span style="font-family: monospace;">a:hover</span> - indicates the mouse pointer is over the link</li>
<li><span style="font-family: monospace;">a:visited</span> - indicates the link has been visited</li>
<li><span style="font-family: monospace;">a:active</span> - indicates the link is active (e.g, the user has clicked down on it)</li>
</ul>
<p>By using traditional CSS properties &#8220;colors&#8221; and &#8220;text-decoration&#8221; in the link tag&#8217;s pseudo-classes (shown below), we can create the same visual effect of rollover images.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;style</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
 a {
  color:#000066;
  text-decoration:none;
  cursor:pointer;
 }
&nbsp;
 a:visited {
  color:#336699;
 }
&nbsp;
 a:hover {
  color:#ff6600;
  text-decoration:underline;
 }
&nbsp;
 a:active {
  color:#ffcc99;
  cursor:wait;
 }
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>CSS Links<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.washingtonpost.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>WashingtonPost.com<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.webucator.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Webucator<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Note that order matters.  If <span style="font-family: monospace;">a:active</span> precedes <span style="font-family: monospace;">a:hover</span>, the effects in <span style="font-family: monospace;">a:hover</span> will take precedence. So, in this  example, you would not see the color change when the user clicks down on a link.</p>
<p>By using even more properties, such as <em>padding</em>, <em>margin</em>, and <em>border</em>, it is possible to create links that look like buttons, something you would normally need images for. The following example illustrates this.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;style</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
div {
 width:300px;
}
&nbsp;
a {
 display:block;
 background-color: #eaf1dd;
 color:#060;
 text-decoration:none;
 font-family:Verdana, Geneva, sans-serif;
 font-size:1.5em;
 padding: 6px 4px;
 margin: 4px;
 border-right: 2px solid #999999;
 border-bottom: 2px solid #999999;
 border-top-width: 0px;
 border-left-width: 0px;
}
&nbsp;
a:hover
{
 color:#030;
 border: 1px solid #9999ff;
}
&nbsp;
a:active
{
 color:#aca;
 border-left: 2px solid #030;
 border-top: 2px solid #030;
 border-right-width: 0px;
 border-bottom-width: 0px;
}
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Button Links<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.washingtonpost.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>WashingtonPost.com<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.webucator.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Webucator<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.google.com&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Google<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>The screenshots below show how these CSS buttons look in different states: the default state, the hover state, and the active state.</p>
<div id="attachment_457" class="wp-caption alignnone" style="width: 313px"><img class="alignnone size-full wp-image-455" title="default" src="http://adobe.blogs.webucator.com/files/2010/07/default.gif" alt="default" width="303" height="233" /><p class="wp-caption-text">Default State</p></div>
<div id="attachment_457" class="wp-caption alignnone" style="width: 313px"><img class="size-full wp-image-457" title="hover" src="http://adobe.blogs.webucator.com/files/2010/07/hover.gif" alt="a:hover" width="303" height="233" /><p class="wp-caption-text">a:hover - Cursor hovering over link</p></div>
<div id="attachment_456" class="wp-caption alignnone" style="width: 313px"><img class="size-full wp-image-456" title="active" src="http://adobe.blogs.webucator.com/files/2010/07/active.gif" alt="a:active" width="303" height="233" /><p class="wp-caption-text">a:active - Mouse click on link</p></div>
<p>Which method do you like better: the traditional, JavaScript method (which <a href="http://adobe.blogs.webucator.com/2010/07/19/creating-rollover-images-in-dreamweaver-cs5/">Dreamweaver can do for you</a>, without you ever having to code), or the CSS method?</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/buicyJPsWEc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/07/27/creating-a-rollover-effect-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/07/27/creating-a-rollover-effect-with-css/</feedburner:origLink></item>
		<item>
		<title>variables, parameters, arguments and values</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/KXqtdveYk_8/</link>
		<comments>http://web-design.blogs.webucator.com/2010/06/15/variables-parameters-arguments-and-values/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 19:30:28 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=100</guid>
		<description><![CDATA[Programmers often use the following terms incorrectly, which can cause confusion: variable parameter argument value Variable A variable is a string of text that holds data. Parameter A parameter is a type of variable used within a function definition to capture data passed into the function: function getSum&#40;parameter1, parameter2&#41; &#123; return parameter1 + parameter2; &#125; Argument [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F06%2F15%2Fvariables-parameters-arguments-and-values%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F06%2F15%2Fvariables-parameters-arguments-and-values%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Programmers often use the following terms incorrectly, which can cause confusion:</p>
<ul>
<li>variable</li>
<li>parameter</li>
<li>argument</li>
<li>value<span id="more-100"></span></li>
</ul>
<h3>Variable</h3>
<p>A <em>variable</em> is a string of text that holds data.</p>
<h3>Parameter</h3>
<p>A <em>parameter</em> is a type of variable used within a function definition to capture data passed into the function:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> getSum<span style="color: #009900;">&#40;</span>parameter1<span style="color: #339933;">,</span> parameter2<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">return</span> parameter1 <span style="color: #339933;">+</span> parameter2<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<h3>Argument</h3>
<p>An <em>argument</em> is the value passed into the function. For example, the following would add <strong>argument1</strong> and <strong>argument2</strong>.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">getSum<span style="color: #009900;">&#40;</span>argument1<span style="color: #339933;">,</span> argument2<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>Value</h3>
<p>The <em>value</em> is the current contents of a variable.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/KXqtdveYk_8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/06/15/variables-parameters-arguments-and-values/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/06/15/variables-parameters-arguments-and-values/</feedburner:origLink></item>
		<item>
		<title>Passing Arguments to JavaScript Functions</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/rq7hvP2MVds/</link>
		<comments>http://web-design.blogs.webucator.com/2010/06/15/passing-arguments-to-javascript-functions/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 19:12:02 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=82</guid>
		<description><![CDATA[Values can be passed into JavaScript functions to make the functions more flexible. That is where the parentheses come in after the function name. The parentheses hold parameters which will store the arguments (or values) passed in by the function call. Here is an example of a few arguments passed to a function: 1 2 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F06%2F15%2Fpassing-arguments-to-javascript-functions%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F06%2F15%2Fpassing-arguments-to-javascript-functions%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Values can be passed into JavaScript <strong>functions</strong> to make the functions more flexible. That is where the parentheses come in after the function name. The parentheses hold parameters which will store the arguments (or values) passed in by the function call.</p>
<p>Here is an example of a few arguments passed to a <strong>function</strong>:<span id="more-82"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Functions with Values<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      function changeColors(newColor) {
         document.bgColor = newColor;
      }
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;purple&quot;</span> <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;ChangeColors('purple');&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;pink&quot;</span> <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;ChangeColors('pink');&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;green&quot;</span> <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;ChangeColors('green');&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Those three colors in single quotes, &#8216;purple&#8217;, &#8216;pink&#8217;, and &#8216;green,&#8217; get passed to the <strong>newColor</strong> parameter and the function changes the background to the passed-in color! It&#8217;s that simple!</p>
<p><em>JavaScript functions are covered in our <a href="http://www.webucator.com/webdesign/course/introduction-javascript-training.cfm" >Introduction to JavScript class</a>.</em></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/rq7hvP2MVds" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/06/15/passing-arguments-to-javascript-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/06/15/passing-arguments-to-javascript-functions/</feedburner:origLink></item>
		<item>
		<title>Connecting to a Database with Dreamweaver CS4</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/F-1vi6XLWKY/</link>
		<comments>http://web-design.blogs.webucator.com/2010/05/18/connecting-to-a-database-with-dreamweaver-cs4/#comments</comments>
		<pubDate>Tue, 18 May 2010 14:41:20 +0000</pubDate>
		<dc:creator>Connie</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=70</guid>
		<description><![CDATA[Have you ever wanted to get data from a database to display in your webpage, but were unsure how to do it? Have no fear; your Cheat Sheet is here! The steps below will guide you through the process. These instructions are for a Windows XP Pro OS, a Microsoft Access database 2000-2007, and Dreamweaver [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F05%2F18%2Fconnecting-to-a-database-with-dreamweaver-cs4%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F05%2F18%2Fconnecting-to-a-database-with-dreamweaver-cs4%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Have you ever wanted to get data from a database to display in your webpage, but were unsure how to do it? Have no fear; your Cheat Sheet is here! The steps below will guide you through the process. These instructions are for a Windows XP Pro OS, a Microsoft Access database 2000-2007, and Dreamweaver CS4.<span id="more-70"></span></p>
<ol>
<li>Create an Access database and save it in the <strong>My Documents</strong> folder on your desktop</li>
<li>Create a folder on the desktop (name the folder however you want, but with no spaces)</li>
<li>Copy &amp; Paste the new folder into the <strong>C:\InetPub\wwwroot</strong> folder. If <strong>wwwroot</strong> doesn&#8217;t exist, you need to set up your web server:
<ol>
<li>Select <strong>Control Panel &gt; Add or Remove Programs &gt; Add or Remove Components</strong></li>
<li>Scroll down to <strong>Internet Information Services( IIS)</strong> , select it and click <strong>Next</strong> to install</li>
<li>Follow the instructions until the install is complete, then reboot your computer</li>
</ol>
</li>
<li>Click <strong>Start &gt; My Computer &gt; Control Panel &gt; Administration Tools &gt; DataSource ODBC</strong></li>
<li>In the <strong>ODBC Data Source Administrator Dialog</strong> box click the <strong>System DSN</strong> tab, and then click <strong>Add</strong></li>
<li>In the <strong>Create New Data Source Dialog</strong> box, scroll down to <strong>Microsoft Access Driver(*.mdb or *.accdb)</strong>, then click <strong>Finish</strong></li>
<li>In the <strong>ODBC Microsoft Access Setup Dialog</strong> box type in any name, then click <strong>Select</strong></li>
<li>In the <strong>Select Database Dialog</strong> box, under <strong>Directories</strong>, look for the database in the <strong>My Documents</strong> folder and</li>
<li>Double-click on the database; continually click <strong>OK</strong> to close all of the screens</li>
<li>Open Dreamweaver CS4</li>
<li>Click on <strong>Site &gt; New Site</strong></li>
<li>In the <strong>Advanced Tab</strong>, select <strong>Local Info</strong> and type in a site name</li>
<li>In the <strong>Local Root Folder</strong> area, browse to the desktop folder you created and select it</li>
<li>Select <strong>Remote Info</strong> on the left side under <strong>Categories</strong></li>
<li>In the <strong>Access </strong>dropdown select <strong>Local/Network</strong></li>
<li>In the <strong>Remote </strong>folder, browse to the <strong>Inetpub/wwwroot/[new folder name]</strong>, then click <strong>Select</strong></li>
<li>Select <strong>Testing Server</strong> on left side under <strong>Categories</strong></li>
<li>In the <strong>Server Model</strong> drop down select <strong>ASP VBScript</strong>. In the <strong>Access </strong>drop down, select <strong>Local/Network</strong> and click <strong>OK</strong></li>
<li>Click <strong>Done</strong></li>
<li>Go to <strong>File &gt; New</strong></li>
<li>Choose <strong>ASP VBScript</strong> under the <strong>Page  Type</strong> heading</li>
<li>Give the page a name without spaces</li>
<li>On the menu, click <strong>Window &gt; Databases</strong></li>
<li>Click the <strong>“+” </strong>in the <strong>Databases </strong>window upper-left corner, and then click <strong>Data Source Name (DSN)</strong></li>
<li>Give your <strong>Connection </strong>a name without spaces</li>
<li>Click the arrow next to <strong>Data Source Name</strong></li>
<li>Choose the <strong>Data Source Name</strong> from the drop down that you created earlier</li>
<li>Click <strong>Test</strong> and you should receive a message that it was connected properly</li>
<li>Click <strong>OK</strong></li>
<li>Go to <strong>Window &gt; Bindings</strong> on the menu bar</li>
<li>Click the <strong>“+”</strong></li>
<li>Choose <strong>Recordset Query</strong></li>
<li>Give the <strong>Recordset </strong>a name</li>
<li>Choose the <strong>Connection </strong>you just created from the <strong>Connection </strong>drop down</li>
<li>Choose a <strong>Table </strong>that you want to view records from</li>
<li>Click <strong>OK</strong></li>
<li>Expand the <strong>Recordset </strong>in the <strong>Bindings </strong>panel</li>
<li>Drag a field onto the <strong>ASP </strong>page, in <strong>Design view</strong></li>
<li>Save the page</li>
<li>Click on the blue arrow in the <strong>Files </strong>panel to send ALL of the files to the <strong>wwwroot </strong>folder</li>
<li>Run the page by select <strong>F12 </strong>on your keyboard.</li>
<li>You should now see dynamic data in your webpage!</li>
</ol>
<p>Now you can breath!</p>
<p><em>You can learn more about working with databases in Dreamweaver in our </em><a href="http://www.webucator.com/adobe/course/database-driven-websites-with-dreamweaver-cs4.cfm"><em>Database-Driven Websites with Dreamweaver CS4 class</em></a><em>.</em></p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/F-1vi6XLWKY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/05/18/connecting-to-a-database-with-dreamweaver-cs4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/05/18/connecting-to-a-database-with-dreamweaver-cs4/</feedburner:origLink></item>
		<item>
		<title>How to Become a Web Developer</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/IKBtUFfmBkY/</link>
		<comments>http://web-design.blogs.webucator.com/2010/05/03/how-to-become-a-web-developer-2/#comments</comments>
		<pubDate>Mon, 03 May 2010 14:08:37 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=52</guid>
		<description><![CDATA[When I started in web development training in 1998, the job prospects for people who knew HTML and some CSS or JavaScript were pretty good. Everybody needed a website and relatively few people knew how to create one. The beauty of it from a career perspective was that HTML and CSS are relatively easy to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F05%2F03%2Fhow-to-become-a-web-developer-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F05%2F03%2Fhow-to-become-a-web-developer-2%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>When I started in web development training in 1998, the job prospects for people who knew HTML and some CSS or JavaScript were pretty good. Everybody needed a website and relatively few people knew how to create one. The beauty of it from a career perspective was that HTML and CSS are relatively easy to learn for someone who is comfortable with computers. And basic JavaScript isn&#8217;t that tough either, but as it&#8217;s a scripting language, it requires the developer to have some basic logic skills. In those days, you could earn a living with just the basics, and web development shops appeared all over the place.</p>
<p>In 1999, I interned for <a href="http://www.vault.com/wps/portal/usa/companies/company-profile?companyId=11584">Zefer</a>, a big web development shop. It called itself an <em>internet consulting firm</em>, but it was basically a web development company with a bunch of salespeople /consultants. Zefer landed a whopping $100 million dollars in venture capital in May 1999<span id="more-52"></span> and another $48 million in March 2001, which turned out to be about six months before <a href="http://www.crn.com/it-channel/18826873">it went belly up</a>. I&#8217;m not sure how many of its employees were on the web development side, but it literally hired people off the street. I remember one guy came into the office to ask if they were hiring and they set him up with a desk that day. These days, finding a job in web development is not that easy. It&#8217;s even hard to <a href="http://new-job-training.blogs.webucator.com/2010/05/02/find-an-internship">find an internship</a>. One problem is that the term &#8220;web developer&#8221; is vague.</p>
<h2>What is a web developer?</h2>
<p>You can divide web developers into two main types:</p>
<ol>
<li>Client-side developers – people who write the code interpreted by the browser. This includes HTML, CSS, and JavaScript, and in some cases, XML.</li>
<li>Server-side developers – people who write the code interpreted by the server. Server-side developers can further be divided into many types, including:
<ol>
<li>ASP.NET developers</li>
<li>Multiple variants of Java EE developers</li>
<li>PHP developers</li>
<li>ColdFusion developers</li>
</ol>
</li>
</ol>
<p>We still even get people taking our <a href="http://www.webucator.com/webdev/asp.cfm">Classic ASP classes</a>, but most of them have inherited legacy code that they need to maintain. If you&#8217;re looking to get into web development now and you&#8217;re starting from scratch, here&#8217;s my recommended approach.</p>
<h3>Learn HTML First</h3>
<p>HTML provides the structure to a web page: the title, headings, paragraphs, lists, tables, and so on. Every web developer needs to know HTML.</p>
<p>And the good news is that HTML is not that difficult, but like anything new, you&#8217;ll need to study. You can learn HTML using a <a href="http://www.learn-html-tutorial.com/">free HTML tutorial</a> or with an <a href="http://www.amazon.com/tag/html/products">HTML book</a>. And, of course, we&#8217;d love to have you take our <a href="http://www.webucator.com/webdesign/course/html-training.cfm">HTML class</a>.</p>
<p>You should count on being able to work efficiently in HTML after just 2-4 weeks of hard work.</p>
<h3>CSS and JavaScript</h3>
<p>If you want to be a client-side developer, you need to know both CSS and JavaScript, in addition to HTML.</p>
<h4>CSS</h4>
<p>CSS is the language that controls the display (e.g, where and which elements are displayed) and formatting (e.g, how the elements are displayed) of a web page. JavaScript is used to make single web pages more interactive (e.g, form validation, drop-down menus, moving objects on the page).</p>
<p>CSS is not incredibly difficult to learn, and now that browsers support it better, it&#8217;s much easier to make it work across browsers without learning a bunch of <a href="http://www.quirksmode.org/css/csshacks.html">CSS hacks</a>.</p>
<p>Count on another 2-4 weeks to learn CSS.</p>
<h4>JavaScript</h4>
<p>JavaScript is a scripting language. Many people find that it goes from relatively easy to phenomenally difficult very fast as you try to do more and more complex things. Anyone who has created dropdown menus using JavaScript knows just how complicated it can get. The nice thing is that you can gradually increase your JavaScript knowledge and with it increase your productivity.</p>
<p>Count on 2 weeks to become minimally productive with JavaScript and constant learning as you use it.</p>
<p>Like with HTML, there are plenty of books and free tutorials on CSS and JavaScript. And, again, we provide <a href="http://www.webucator.com/webdesign/css.cfm">CSS training</a> and <a href="http://www.webucator.com/webdesign/javascript.cfm">JavaScript training</a>.</p>
<h3>Server-side Technologies</h3>
<p>On the server-side, you have a slew of choices. The easiest languages to get up to speed quickly on are ColdFusion and PHP, and that might be a good place to start. ColdFusion is the simplest to learn, but it isn&#8217;t nearly as common as PHP. On the other hand, there are a lot fewer ColdFusion developers than PHP developers, so you might find the competition less fierce. In any case, you can become dangerous with either language in about a month, but it will likely take 3-6 months before you can become truly productive.</p>
<p>ASP.NET and Java EE are much more difficult to learn. Both require that you first learn a sophisticated programming language (C# or VB for ASP.NET and Java for JavaEE). While the jobs are better paying, you&#8217;ll be competing for them with people who have computer science degrees. If you decide to go down either of these paths, count on a lot of hard work over an extended period of time.</p>
<h3>A Note on SQL</h3>
<p><a href="http://www.webucator.com/instructor-guided-e-learning/courses.cfm?utm_source=Blog&amp;utm_medium=Ad&amp;utm_campaign=WebDesignBlog"><img class="alignright size-full wp-image-411" src="http://web-design.blogs.webucator.com/files/2010/05/WebDevIgeTall1.jpg" alt="" width="200" height="280" /></a><br />
SQL is the language for querying databases. There are developers who focus on SQL (database developers), but most server-side web developers will find it helpful, if not necessary, to have at least <a href="http://www.webucator.com/database/course/introduction-sql-training-using-standard-sql.cfm">basic SQL skills</a>.</p>
<h3>A Note on XML</h3>
<p>XML is a <a href="http://en.wikipedia.org/wiki/Metalanguage">metalanguage</a> for storing and transferring data. It has become prevalent in many aspects of web development. Many things in life are easier to understand than to learn. For example, you might understand how an operation is performed, but you couldn&#8217;t do it yourself. XML is the opposite. <a href="http://www.webucator.com/xml/course/introduction-xml-training.cfm">Basic XML is easy to learn</a>, but it&#8217;s hard to understand what the benefit is until you start actually using it in development projects.</p>
<h3>A Note on Ajax</h3>
<p>Ajax is a client-side technique for communicating with a server using JavaScript. It is the magic behind cool websites such as <a href="http://maps.google.com/">Google Maps</a> and <a href="http://seo.blogs.webucator.com/2010/05/01/how-to-use-google-wonder-wheel-part-i-finding-blog-topics/">Google Wonder Wheel</a>. In the already confusing world of web development, Ajax muddies the distinction between client-side and server-side web development. The main language used in Ajax is JavaScript (a client-side technology); however, to understand what you can do with Ajax, you must understand the business logic that happens on the server and, in many cases, it helps to have a good understanding of the underlying database(s). And now, with a zillion and a half <a href="http://en.wikipedia.org/wiki/List_of_Ajax_frameworks">Ajax frameworks</a>, it&#8217;s extremely difficult to decide which direction to take. This is true both for companies making technology decisions and for individuals trying to decide how best to increase their skill sets.</p>
<p>Our recommendation on <a href="http://www.webucator.com/database/sql.cfm">SQL</a>, <a href="http://www.webucator.com/xml/index.cfm">XML</a> and <a href="http://www.webucator.com/webdesign/ajax.cfm">Ajax</a> for new web developers? Cross those bridges when you come to them. It&#8217;ll likely take at least a year before you&#8217;re ready and things in the web development world change quickly.</p>
<p>You may find the following table useful in figuring out how long it might take you to become a web developer.</p>
<h4>Key: applies to shaded rows</h4>
<div style="margin-left: 4pt">
<table>
<tbody>
<tr>
<td style="padding: 2px;border: 1px solid #000">3</td>
<td style="padding: 2px;border: 1px solid #000">Must have this skill</td>
</tr>
<tr>
<td style="padding: 2px;border: 1px solid #000">2</td>
<td style="padding: 2px;border: 1px solid #000">Should have this skill</td>
</tr>
<tr>
<td style="padding: 2px;border: 1px solid #000">1</td>
<td style="padding: 2px;border: 1px solid #000">Useful to have this skill</td>
</tr>
<tr>
<td style="padding: 2px;border: 1px solid #000">0</td>
<td style="padding: 2px;border: 1px solid #000">Don&#8217;t need this skill</td>
</tr>
</tbody>
</table>
</div>
<h4>Common languages in web development</h4>
<div style="margin-left: 4pt">
<table>
<thead>
<tr>
<th></th>
<th>HTML</th>
<th>CSS</th>
<th>JavaScript</th>
<th>XML</th>
<th>SQL</th>
</tr>
</thead>
<tbody>
<tr style="background-color: #eee">
<th>Client-side developer</th>
<td style="padding: 2px;border: 1px solid #000">3</td>
<td style="padding: 2px;border: 1px solid #000">3</td>
<td style="padding: 2px;border: 1px solid #000">3</td>
<td style="padding: 2px;border: 1px solid #000">1</td>
<td style="padding: 2px;border: 1px solid #000">0</td>
</tr>
<tr style="background-color: #eee">
<th>Server-side developer*</th>
<td style="padding: 2px;border: 1px solid #000">3</td>
<td style="padding: 2px;border: 1px solid #000">1</td>
<td style="padding: 2px;border: 1px solid #000">1</td>
<td style="padding: 2px;border: 1px solid #000">2</td>
<td style="padding: 2px;border: 1px solid #000">2</td>
</tr>
<tr>
<th>Time to learn (min weeks)**</th>
<td style="padding: 2px;border: 1px solid #000">2</td>
<td style="padding: 2px;border: 1px solid #000">2</td>
<td style="padding: 2px;border: 1px solid #000">2</td>
<td style="padding: 2px;border: 1px solid #000">1</td>
<td style="padding: 2px;border: 1px solid #000">1</td>
</tr>
<tr>
<th>Time to learn (max weeks)**</th>
<td style="padding: 2px;border: 1px solid #000">4</td>
<td style="padding: 2px;border: 1px solid #000">4</td>
<td style="padding: 2px;border: 1px solid #000">4</td>
<td style="padding: 2px;border: 1px solid #000">2</td>
<td style="padding: 2px;border: 1px solid #000">4</td>
</tr>
<tr>
<td colspan="6"><em>*Server-side developers must also learn a server-side technology.</em><br />
<em>**This is the time it takes to become minimally productive. You&#8217;ll never stop learning.</em></td>
</tr>
</tbody>
</table>
</div>
<p>Best of luck!</p>
<p>Hear about our latest Web design and development blogs, classes, and webinars by signing up for our <a title="Webucator Newsletter" href="http://www.webucator.com/webunews/index.cfm">newsletter</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/IKBtUFfmBkY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/05/03/how-to-become-a-web-developer-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/05/03/how-to-become-a-web-developer-2/</feedburner:origLink></item>
		<item>
		<title>GUI Design Training</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/ihTQxTnhIj0/</link>
		<comments>http://web-design.blogs.webucator.com/2010/04/09/gui-design-training/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 14:57:20 +0000</pubDate>
		<dc:creator>Dave Dunn</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=37</guid>
		<description><![CDATA[We recently had a client ask if we could deliver GUI Design Training,  Well, we thought, GUI design is not new, so finding a good GUI design trainer and courseware should be pretty simple. Turns out, however, that we were wrong.  We couldn&#8217;t find anyone licensing good GUI design training courseware.  We found some books [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F04%2F09%2Fgui-design-training%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F04%2F09%2Fgui-design-training%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We recently had a client ask if we could deliver GUI Design  Training,  Well, we thought, GUI design is not new, so finding a good GUI design trainer and courseware should be pretty simple.<span id="more-37"></span><img title="More..." src="http://staff.blogs.webucator.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /> Turns out, however,  that we were wrong.  We couldn&#8217;t find anyone licensing good GUI design  training courseware.  We found some books on Amazon, but most of them  were written more than 10 years ago.  And the few training companies we found that offered  GUI Design classes were asking much more than we generally charge for similar courses.</p>
<p>Fortunately, we have a trainer on staff with some experience  with GUI design training, and we were able to find one book that looks  pretty good: <a href="http://www.amazon.com/Essential-Guide-User-Interface-Design/dp/0471084646">The Essential Guide to User Interface Design: An  Introduction to GUI Design Principles and Techniques</a>, by Wilbert O.  Galitz.  So we put together our own outline with the idea of using that book for courseware and supplementing it with hands-on exercises.  Our goal was a  good course covering the basics of GUI Design which could be easily  customized to include more or less material. Here&#8217;s information on the 3-day course we  put together:</p>
<h2>GUI and Web Application Design Best Practices</h2>
<h4>Overview</h4>
<p>Participants will learn techniques for effective Graphical User  Interface (GUI) and effective Web applications design through theory and  hands-on exercises. Explore user interaction characteristics and  incorporate them in application design. Profit from user feedback to  create  applications that meet business and usability goals. The course  provides a practical guidelines and approaches to design and  prototyping. Participants will learn how to effectively specify user  interfaces and apply the User Centered Design process in software  application design.</p>
<h4>Benefits</h4>
<p>After completing this course, you will be able to:</p>
<ul>
<li>Remove  risk in design decisions</li>
<li>Verify the usability of application  design</li>
<li>Write standards and guidelines</li>
<li>Develop business  and user requirements</li>
<li>Manage user involvement in application  design</li>
<li>Slash user training in half</li>
</ul>
<h4>Who Should Attend?</h4>
<ul>
<li>Web and Applications Developers</li>
<li>Information architects and  Interface Designers</li>
<li>Market and QA personnel</li>
<li>Project  managers</li>
</ul>
<h2>GUI Design Training Outline</h2>
<ul>
<li>Overview
<ul>
<li>Humans and computers</li>
<li>GUI and Web based  systems
<ul>
<li>Information</li>
<li>Interaction</li>
<li>Visual Design</li>
<li>Organizing  Principles</li>
</ul>
</li>
<li>Parting Company
<ul>
<li>Technological  Differences</li>
<li>Data Flow</li>
<li>Navigation</li>
<li>Operations</li>
</ul>
</li>
<li>Menus  and forms and commands</li>
<li>Designing for user interaction</li>
<li>Intuitive  Design: If the user can&#8217;t use it, the program doesn&#8217;t work!</li>
<li>Exercise:  Case Study</li>
</ul>
</li>
<li>Knowing Your Clients
<ul>
<li>Human action  cycle</li>
<li>Common problems</li>
<li>Mental models</li>
<li>Learning  curves</li>
<li>Skill sets</li>
<li>User knowledge and experience</li>
</ul>
</li>
<li>Integrating  the business model
<ul>
<li>Requirements and analysis</li>
<li>Understanding  the problem</li>
<li>Training and documentation</li>
</ul>
</li>
<li>Putting  the User and the Model Together</li>
<li>Exercise: Analysis and Planning</li>
<li>GUI  Applications
<ul>
<li>Data, Processes and Tasks</li>
<li>Orientation</li>
<li>Using  Feedback Effectively</li>
<li>Using Color</li>
<li>Controls &amp; Widgets</li>
<li>Navigation</li>
<li>Search</li>
<li>Input  Devices</li>
<li>Design Patterns</li>
<li>Progressive Disclosure</li>
<li>High Level Design</li>
<li>Prototyping</li>
<li>Visualization Challenges and Principles</li>
<li>Icon and TextStandards</li>
<li>ISO Standards</li>
<li>Accessibility</li>
<li>Usability</li>
<li>Exercise: Prototyping the Domain</li>
</ul>
</li>
<li>Web Application
<ul>
<li>What is good design?
<ul>
<li>Information  Design</li>
<li>Navigation</li>
<li>The Concept</li>
</ul>
</li>
<li>Application  Information
<ul>
<li>Information</li>
<li>Organization</li>
<li>Exercise: Information Design</li>
</ul>
</li>
<li>UI Architecture</li>
<li>Guidelines and Fundamentals
<ul>
<li>Interaction
<ul>
<li>Orientation</li>
<li>Feedback</li>
<li>Progressive Disclosure</li>
</ul>
</li>
</ul>
<ul>
<li>Building Blocks of Web Apps
<ul>
<li>Controls, Forms, Pages</li>
<li>Objects</li>
<li>Task  Flow</li>
</ul>
</li>
</ul>
</li>
<li>Common Interaction Elements
<ul>
<li>Text and Labels</li>
<li>Colors</li>
<li>Page  Layout</li>
<li>Forms</li>
<li>Wizards and Guides</li>
<li>Icons and  Images</li>
<li>Navigation</li>
<li>Links</li>
<li>Search</li>
<li>Common  Controls</li>
<li>Another Look at Design Patterns</li>
</ul>
</li>
<li>Exercise:  Prototyping</li>
<li>Web 2.0
<ul>
<li>Old problems</li>
<li>User needs</li>
<li>New  technologies</li>
</ul>
</li>
<li>Designing to Common Behaviors</li>
<li>Usability  Design Guidelines</li>
<li>Heuristic Guidelines</li>
<li>Exercise:  Wireframe Evaluation</li>
<li>Web Accessibility</li>
</ul>
</li>
</ul>
<p>Our guess is that there is not a lot of demand for this course, so we  decided not to create the course yet.  If you are interested in it,  however, let us know.  And if you have thoughts about how the outline should be  changed, let us know that too.  Finally, if you&#8217;re a trainer with experience in delivering GUI design courses, please consider filling out our <a href="http://www.webucator.com/jobs/trainers.cfm">online application for new trainers</a>.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/ihTQxTnhIj0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/04/09/gui-design-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/04/09/gui-design-training/</feedburner:origLink></item>
		<item>
		<title>Saying “Hello World!” in your Language using JavaScript</title>
		<link>http://feedproxy.google.com/~r/WebDesignTrainingBlog/~3/x-cbCPSvL4Y/</link>
		<comments>http://web-design.blogs.webucator.com/2010/03/31/saying-hello-world-in-your-language-using-javascript/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 17:35:23 +0000</pubDate>
		<dc:creator>Nat Dunn</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web-design.blogs.webucator.com/?p=16</guid>
		<description><![CDATA[Almost every programming class or book starts with a &#8220;Hello World&#8221; script, in which students learn to write a small program that outputs &#8220;hello world&#8221;.  According to the all-knowing wikipedia, this practice dates back to 1974 and was first used in a book on C. Although there are programmers all over the world who speak [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F03%2F31%2Fsaying-hello-world-in-your-language-using-javascript%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fweb-design.blogs.webucator.com%2F2010%2F03%2F31%2Fsaying-hello-world-in-your-language-using-javascript%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Almost every programming class or book starts with a &#8220;Hello World&#8221; script, in which students learn to write a small program that outputs &#8220;hello world&#8221;.  According to the all-knowing <a href="http://en.wikipedia.org/wiki/Hello_world_program">wikipedia</a>, this practice dates back to 1974 and was first used in a book on C.<span id="more-16"></span></p>
<p>Although there are programmers all over the world who speak many different languages, for some reason, the script always seems to use English (e.g, &#8220;Hello world&#8221; instead of &#8220;Bonjour monde&#8221; or any other language).</p>
<p>Just for fun, we&#8217;ve decided to create a little script in JavaScript that let&#8217;s you choose in which language you would like to greet the world.</p>
<p>Here&#8217;s the function:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> sayHello<span style="color: #009900;">&#40;</span>language<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> arrHellos <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #3366CC;">&quot;Chinese&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;你好世界&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Dutch&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Hello wereld&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;English&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Hello world&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;French&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Bonjour monde&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;German&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Hallo Welt&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Greek&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;γειά σου κόσμος&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Italian&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Ciao mondo&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Japanese&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;こんにちは世界&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Korean&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;여보세요 세계&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Portuguese&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Olá mundo&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Russian&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Здравствулте мир&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;Spanish&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Hola mundo&quot;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>arrHellos<span style="color: #009900;">&#91;</span>language<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>And here&#8217;s a simple HTML form to call the function:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;get&quot;</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;javascript:void()&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;label<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;strong<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Language:<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/strong<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> 
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;select</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;language&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;language&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Chinese<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Dutch<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>English<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>French<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>German<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Greek<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Italian<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Japanese<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Korean<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Portuguese<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Russian<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Spanish<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/option<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/select<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/label<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;button&quot;</span> <span style="color: #000066;">onclick</span>=<span style="color: #ff0000;">&quot;sayHello(this.form.language.options[this.form.language.selectedIndex].value);&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Say Hello&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>I used http://babelfish.yahoo.com for the translations.  If you see any that our wrong, please let me know.  Also, if you know how to say &#8220;Hello world&#8221; in additional languages, please leave a comment to let me know.</p>
<img src="http://feeds.feedburner.com/~r/WebDesignTrainingBlog/~4/x-cbCPSvL4Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://web-design.blogs.webucator.com/2010/03/31/saying-hello-world-in-your-language-using-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://web-design.blogs.webucator.com/2010/03/31/saying-hello-world-in-your-language-using-javascript/</feedburner:origLink></item>
	</channel>
</rss>

