<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-9087462119098741786</atom:id><lastBuildDate>Tue, 24 Jan 2012 14:40:00 +0000</lastBuildDate><category>DITA</category><category>Video</category><category>xslt xml html</category><title>Flow Write</title><description>Lisha's Technical Writing Blog</description><link>http://flowwrite.blogspot.com/</link><managingEditor>noreply@blogger.com (LISHA LI)</managingEditor><generator>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/FlowWrite" /><feedburner:info uri="flowwrite" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>Lisha's Technical Writing Blog</itunes:subtitle><feedburner:browserFriendly></feedburner:browserFriendly><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-6262946322960003915</guid><pubDate>Fri, 09 Dec 2011 23:38:00 +0000</pubDate><atom:updated>2011-12-09T15:49:43.489-08:00</atom:updated><title>XMetaL PDF via RenderX TOC indenting problem</title><description>&lt;p class="MsoNormal"&gt;When generating &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;PDF&lt;/span&gt; output from &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;XMetaL&lt;/span&gt; 6.0, if you are frustrated with the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;TOC&lt;/span&gt; of the "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;XMetaL&lt;/span&gt;  Enhanced &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;PDF&lt;/span&gt; via &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;RenderX&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;XEP&lt;/span&gt;" that does not have indenting of the topic title hierarchy at all, I have a simple solution for you:&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;Just  copy &lt;span style="font-weight: bold; font-style: italic;"&gt;C:\Documents and Settings\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;lli&lt;/span&gt;\Application Data\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;SoftQuad&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;XMetaL&lt;/span&gt; Shared\DITA_OT\demo\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;xmfo&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;cfg&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;fo&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;attrs&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;toc&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;attr&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;xsl&lt;/span&gt;&lt;/span&gt; to the following folder to override the same file in this folder:&lt;/p&gt;&lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;em&gt;C:\Documents and  Settings\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;lli&lt;/span&gt;\Application Data\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;SoftQuad&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;XMetaL&lt;/span&gt;  Shared\DITA_OT\demo\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;xmfo&lt;/span&gt;\Customization\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;fo&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;attrs&lt;/span&gt;\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;xm&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;cfg&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="min-height: 8pt; height: 8pt; padding: 0px;"&gt; &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;strong&gt;Note: you should  back up the original file in the second folder before the copying just in  case.&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-6262946322960003915?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2011/12/xmetal-pdf-via-renderx-toc-indenting.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-5166612921356042258</guid><pubDate>Fri, 30 Oct 2009 22:28:00 +0000</pubDate><atom:updated>2009-11-03T15:06:00.123-08:00</atom:updated><title>Content Reuse Strategies for Building Multiple Markets Online Help</title><description>The project that I am currently working on is to build help for a web-based application that supports cross-market event registrations.&lt;br /&gt;&lt;br /&gt;We write help in DITA. We use DITA OT to publish online help in HTML format, and a tool that I created to delivery &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-corrected"&gt;embedded&lt;/span&gt; XML format help to the application user interface.&lt;br /&gt;&lt;br /&gt;To &lt;span id="SPELLING_ERROR_1" class="blsp-spelling-corrected"&gt;maximum&lt;/span&gt; the reuse of content, three levels of strategies are adopted: &lt;ul&gt;&lt;li&gt;Topic level &lt;span id="SPELLING_ERROR_2" class="blsp-spelling-corrected"&gt;reuse&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Paragraph level reuse&lt;/li&gt;&lt;li&gt;Phase level reuse&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Topic level reuse&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;A &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-error"&gt;ditamap&lt;/span&gt; can reuse &lt;span id="SPELLING_ERROR_1" class="blsp-spelling-error"&gt;content&lt;/span&gt; in the topic level. We have core content for all markets, and market specific content for a specific market. Since &lt;span id="SPELLING_ERROR_2" class="blsp-spelling-error"&gt;maps&lt;/span&gt; only processes topics in the same directory as the map, or in the sub-directories of the map's directory. The structure of the content should be &lt;span id="SPELLING_ERROR_4" class="blsp-spelling-error"&gt;maps&lt;/span&gt; of each market are stored outside of the core and makets directories. A second level of maps can be created to organize a set of topics for one feature within the core or market directories. This second level maps can be reused by different market maps. &lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span id="SPELLING_ERROR_8" class="blsp-spelling-corrected"&gt;Paragraph&lt;/span&gt; level reuse&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Conditional text can reuse content in the paragraph level. If there are only one or two sentences difference in a topic for different markets, you can add an attribute to indicate which market this paragraph belongs to. By adding a filter ditaval file to the DITA OT, maket specific paragraph will be delivered to each market.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Phase level reuse&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;DITA 1.2 &lt;em&gt;&lt;span id="SPELLING_ERROR_9" class="blsp-spelling-error"&gt;keydef&lt;/span&gt; &lt;/em&gt;element can reuse content in the phase level. The keydef element can be used in combination with the keyword element in a ditamap to define and set "variables" for small pieces of content that may change fairly often, such as UI labels, product name, version etc. &lt;/p&gt;&lt;p&gt;These keys (or variables) can be redefined later in the same map or in another map and all topics that reference the keys will automatically pick up the changes. For example, you can put a particular product name into a DITA map, and indicate in topics where you want the product name to appear. When you generate output using the map, its topics will display the product name in the appropriate places. &lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;Keydef.ditamap&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;map&amp;gt;&lt;br /&gt;&amp;lt;keydef keys="marketname"&amp;gt;&lt;br /&gt;&amp;lt;topicmeta&amp;gt;&lt;br /&gt;&amp;lt;keywords&amp;gt;&lt;br /&gt;&amp;lt;keyword&amp;gt;Camp&amp;lt;/keyword&amp;gt;&lt;br /&gt;&amp;lt;/keywords&amp;gt;&lt;br /&gt;&amp;lt;/topicmeta&amp;gt;&lt;br /&gt;&amp;lt;/keydef&amp;gt;&lt;br /&gt;&amp;lt;keydef keys="eventname"&amp;gt;&lt;br /&gt;&amp;lt;topicmeta&amp;gt;&lt;br /&gt;&amp;lt;keywords&amp;gt;&lt;br /&gt;&amp;lt;keyword&amp;gt;Camping sites&amp;lt;/keyword&amp;gt;&lt;br /&gt;&amp;lt;/keywords&amp;gt;&lt;br /&gt;&amp;lt;/topicmeta&amp;gt;&lt;br /&gt;&amp;lt;/keydef&amp;gt;&lt;br /&gt;&amp;lt;topicref href="eventsetup.dita"/&amp;gt;&lt;br /&gt;&amp;lt;/map&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;eventsetup.ditamap&lt;/strong&gt;&lt;br /&gt;&amp;lt;concept&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Event Setup&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;conbody&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;You can use ActiveWorks &amp;lt;keyword keyref="marketname"/&amp;gt; to set up&lt;br /&gt;your &amp;lt;keyword keyref="eventname"/&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/conbody&amp;gt;&lt;br /&gt;&amp;lt;/concept&amp;gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-5166612921356042258?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2009/10/content-reuse-strategies-for-building.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-3665530333010073463</guid><pubDate>Fri, 30 Oct 2009 19:03:00 +0000</pubDate><atom:updated>2009-10-30T15:46:43.459-07:00</atom:updated><title>How to create a DITA OT plugin</title><description>When you use DITA OT to publish your DITA content, you might need to customize DITA OT &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-error"&gt;XSL&lt;/span&gt; &lt;span id="SPELLING_ERROR_1" class="blsp-spelling-corrected"&gt;transformation&lt;/span&gt;. To make your DITA OT changes portable, you can create a DITA OT &lt;span id="SPELLING_ERROR_2" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;To create a &lt;span id="SPELLING_ERROR_3" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;, you need to first create one or more new or &lt;span id="SPELLING_ERROR_4" class="blsp-spelling-corrected"&gt;overridden&lt;/span&gt; templates &lt;span id="SPELLING_ERROR_5" class="blsp-spelling-error"&gt;xslt&lt;/span&gt; files, second create a &lt;span id="SPELLING_ERROR_6" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;.&lt;span id="SPELLING_ERROR_7" class="blsp-spelling-error"&gt;xml&lt;/span&gt; file to point to your &lt;span id="SPELLING_ERROR_8" class="blsp-spelling-error"&gt;xslt&lt;/span&gt; files, and then install this plug-in to your DITA OT.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To create templates&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create a folder in &lt;em&gt;&lt;span id="SPELLING_ERROR_9" class="blsp-spelling-error"&gt;dita&lt;/span&gt;-&lt;span id="SPELLING_ERROR_10" class="blsp-spelling-error"&gt;ot&lt;/span&gt;/demo&lt;/em&gt; to store your plug-in, such as &lt;em&gt;my-&lt;span id="SPELLING_ERROR_11" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Create a folder to store your &lt;span id="SPELLING_ERROR_12" class="blsp-spelling-error"&gt;xslt&lt;/span&gt; files in &lt;em&gt;&lt;span id="SPELLING_ERROR_13" class="blsp-spelling-error"&gt;dita&lt;/span&gt;-&lt;span id="SPELLING_ERROR_14" class="blsp-spelling-error"&gt;ot&lt;/span&gt;/demo/my-&lt;span id="SPELLING_ERROR_15" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;&lt;/em&gt;, such as &lt;em&gt;&lt;span id="SPELLING_ERROR_16" class="blsp-spelling-error"&gt;xsl&lt;/span&gt;&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Create a new &lt;span id="SPELLING_ERROR_17" class="blsp-spelling-error"&gt;xslt&lt;/span&gt; file to contain the template. It's better that one &lt;span id="SPELLING_ERROR_18" class="blsp-spelling-error"&gt;xslt&lt;/span&gt; file only include one function.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;To create &lt;span id="SPELLING_ERROR_19" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;.&lt;span id="SPELLING_ERROR_20" class="blsp-spelling-error"&gt;xml&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Copy a &lt;span id="SPELLING_ERROR_21" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;.&lt;span id="SPELLING_ERROR_22" class="blsp-spelling-error"&gt;xml&lt;/span&gt; file from any existing &lt;span id="SPELLING_ERROR_23" class="blsp-spelling-error"&gt;plugins&lt;/span&gt; into &lt;em&gt;&lt;span id="SPELLING_ERROR_24" class="blsp-spelling-error"&gt;dita&lt;/span&gt;-&lt;span id="SPELLING_ERROR_25" class="blsp-spelling-error"&gt;ot&lt;/span&gt;/demo/my-&lt;span id="SPELLING_ERROR_26" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;If there are more than one &lt;&lt;em&gt;feature&gt;&lt;/em&gt; &lt;span id="SPELLING_ERROR_27" class="blsp-spelling-corrected"&gt;elements&lt;/span&gt;, delete the rest and only keep one &lt;&lt;em&gt;feature&gt;&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Change the value in the remaining &lt;em&gt;&lt;feature&gt;&lt;/em&gt;element to point to your new &lt;span id="SPELLING_ERROR_28" class="blsp-spelling-error"&gt;xslt&lt;/span&gt; files, &lt;span id="SPELLING_ERROR_29" class="blsp-spelling-corrected"&gt;separated&lt;/span&gt; by commas: &lt;em&gt;&amp;amp;&lt;span id="SPELLING_ERROR_30" class="blsp-spelling-error"&gt;lt&lt;/span&gt;; feature extension="dita.xsl.xml" value="xsl/yourxslt1.xsl,xsl.yourxslt2.xsl" type="file" / &amp;gt;&lt;/em&gt; &lt;feature extension=""&gt;&lt;feature extension="dita.xsl.xhtml" value="xsl/your_xsl1.xsl,xsl/your_xsl2.xsl" type="file"&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;To install your &lt;span id="SPELLING_ERROR_31" class="blsp-spelling-error"&gt;plugin&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;In your &lt;span id="SPELLING_ERROR_32" class="blsp-spelling-error"&gt;dita&lt;/span&gt;-&lt;span id="SPELLING_ERROR_33" class="blsp-spelling-error"&gt;ot&lt;/span&gt; folder, run &lt;em&gt;&lt;span id="SPELLING_ERROR_34" class="blsp-spelling-error"&gt;startcmd&lt;/span&gt;.bat.&lt;/em&gt;&lt;/li&gt;&lt;li&gt;In the &lt;span id="SPELLING_ERROR_35" class="blsp-spelling-error"&gt;cmd&lt;/span&gt;.&lt;span id="SPELLING_ERROR_36" class="blsp-spelling-error"&gt;exe&lt;/span&gt; window, type: &lt;em&gt;ant -f integrator.&lt;span id="SPELLING_ERROR_37" class="blsp-spelling-error"&gt;xml&lt;/span&gt;.&lt;/em&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The &lt;span id="SPELLING_ERROR_38" class="blsp-spelling-error"&gt;plugin&lt;/span&gt; that you have created can be easily packed and installed once you upgrade your DITA OT, or pass to others.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-3665530333010073463?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2009/10/how-to-create-dita-ot-plug-in.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-4312338255989918874</guid><pubDate>Mon, 20 Oct 2008 23:35:00 +0000</pubDate><atom:updated>2011-11-17T12:02:52.250-08:00</atom:updated><title>How to perform your own transformation using DITA-OT</title><description>This task assumes that you have DITA-OT appropriate installed in your computer.&lt;br /&gt;&lt;br /&gt;DITA-OT transform DITA XML documents to other formats. However, you can tranform any XML document from command line using the Xalan XSLT processor, which is included in the DITA-OT.&lt;br /&gt;&lt;br /&gt;To do this:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Have your own XSL stylesheet written and make sure it do what you expect with the XML source files they are designed to transform. You can try out using a browser.&lt;/li&gt;&lt;li&gt;In the DITA-OT folder, click to run startcmd.bat, which automatically set the system environment variables for you.&lt;/li&gt;&lt;li&gt;The command line for most standard transformations is as follows:&lt;br /&gt;java org.apache.xalan.xslt.Process -in xmlSource -xsl stylesheet -out outputfile&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;where xmlSource is the XML source file name, stylesheet is the XSL stylesheet file name, and outputfile is the output file name.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;If you want the output to be displayed on the screen, simply omit the -out flag and argument&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;If you are using an external DTD or Schema, you need to have it to be found by the processor. Or you can just delete it from the source file. Otherwise, the processor will complain that it can't find the DTD or Schema. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-4312338255989918874?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/10/how-to-perform-your-own-transformation.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-232481154511149228</guid><pubDate>Mon, 08 Sep 2008 22:55:00 +0000</pubDate><atom:updated>2008-09-08T16:10:56.890-07:00</atom:updated><title>Remix An User Manual by FLOSS Manual</title><description>The first time when I was using iGoogle, I though that it would be great if a user manual can be customized by the user using drag-and-drop &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;operation&lt;/span&gt;. And now it comes true. Someone is really doing this - &lt;a href="http://en.flossmanuals.net/"&gt;FLOSS Manual&lt;/a&gt;.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In the Remix section of the &lt;a href="http://en.flossmanuals.net/"&gt;FLOSS Manual,&lt;/a&gt; you can just asseble each chapter or each section of a user manual as you want and then generate to PDF or HTML format. The operation is as simple as you adding widget to your iGoogle homepage.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-232481154511149228?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/09/remix-user-manual-by-floss-manual.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-8985013096034624177</guid><pubDate>Mon, 25 Aug 2008 18:26:00 +0000</pubDate><atom:updated>2008-08-25T11:27:44.306-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">DITA</category><title>How to embed YouTube video into DITA</title><description>&lt;p&gt;You can embed an YouTube flash video into your DITA document using the &amp;lt;object&amp;gt; element.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Get the URL of the movie value from YouTube website. For example: &lt;a href="http://www.youtube.com/v/EfmQB0stRRI&amp;amp;26hl=en"&gt;http://www.youtube.com/v/EfmQB0stRRI&amp;amp;26hl=en&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Replace any "&amp;amp;"(ampersand) characters in the URL with "%26"&lt;/li&gt;    &lt;li&gt;Use that URL in the following DITA &amp;lt;object&amp;gt; element:&lt;/li&gt; &lt;/ol&gt;  &lt;pre&gt;&amp;lt;object data="&lt;strong&gt;http://www.youtube.com/v/EfmQB0stRRI%26hl=en&lt;/strong&gt;"&lt;br /&gt;height="355" id="VideoPlayback" type="application/x-shockwave-flash"&lt;br /&gt;width="425"&amp;gt;&lt;br /&gt;&amp;lt;param name="movie"&lt;br /&gt;value="&lt;strong&gt;http://www.youtube.com/v/EfmQB0stRRI%26hl=en&lt;/strong&gt;"/&amp;gt;&lt;br /&gt;&amp;lt;param name="FlashVars" value="playerMode=embedded"/&amp;gt;&lt;br /&gt;&amp;lt;param name="allowScriptAcess" value="sameDomain"/&amp;gt;&lt;br /&gt;&amp;lt;param name="scale" value="noScale"/&amp;gt;&lt;br /&gt;&amp;lt;param name="quality" value="best"/&amp;gt;&lt;br /&gt;&amp;lt;param name="bgcolor" value="#FFF"/&amp;gt;&lt;br /&gt;&amp;lt;param name="salign" value="TL"/&amp;gt;&amp;lt;/object&amp;gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-8985013096034624177?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/08/how-to-embed-youtube-video-into-dita.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total><enclosure url="http://www.youtube.com/v/EfmQB0stRRI&amp;amp;26hl=en" length="1035" type="application/x-shockwave-flash" /><media:content url="http://www.youtube.com/v/EfmQB0stRRI&amp;amp;26hl=en" fileSize="1035" type="application/x-shockwave-flash" /><itunes:subtitle> You can embed an YouTube flash video into your DITA document using the &amp;lt;object&amp;gt; element. Get the URL of the movie value from YouTube website. For example: http://www.youtube.com/v/EfmQB0stRRI&amp;amp;26hl=en Replace any "&amp;amp;"(ampersand) characters in</itunes:subtitle><itunes:author>noreply@blogger.com (LISHA LI)</itunes:author><itunes:summary> You can embed an YouTube flash video into your DITA document using the &amp;lt;object&amp;gt; element. Get the URL of the movie value from YouTube website. For example: http://www.youtube.com/v/EfmQB0stRRI&amp;amp;26hl=en Replace any "&amp;amp;"(ampersand) characters in the URL with "%26" Use that URL in the following DITA &amp;lt;object&amp;gt; element: &amp;lt;object data="http://www.youtube.com/v/EfmQB0stRRI%26hl=en" height="355" id="VideoPlayback" type="application/x-shockwave-flash" width="425"&amp;gt; &amp;lt;param name="movie" value="http://www.youtube.com/v/EfmQB0stRRI%26hl=en"/&amp;gt; &amp;lt;param name="FlashVars" value="playerMode=embedded"/&amp;gt; &amp;lt;param name="allowScriptAcess" value="sameDomain"/&amp;gt; &amp;lt;param name="scale" value="noScale"/&amp;gt; &amp;lt;param name="quality" value="best"/&amp;gt; &amp;lt;param name="bgcolor" value="#FFF"/&amp;gt; &amp;lt;param name="salign" value="TL"/&amp;gt;&amp;lt;/object&amp;gt;test</itunes:summary><itunes:keywords>DITA</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-2918953299170027238</guid><pubDate>Wed, 20 Aug 2008 22:39:00 +0000</pubDate><atom:updated>2008-08-25T12:03:31.237-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">DITA</category><title>Which element to choose as the reusable DITA component</title><description>&lt;p&gt;Writing a reusable component allows you to reuse a &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;piece&lt;/span&gt; of text insets in your DITA document and reduces the cost for maintenance.&lt;/p&gt;  &lt;h4&gt;Reusable Candidates&lt;/h4&gt;  &lt;p&gt;The following are elements reuse candidates:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;product name&lt;/li&gt;    &lt;li&gt;installation paths&lt;/li&gt;    &lt;li&gt;icon refrence&lt;/li&gt;    &lt;li&gt;note(restrictions, prerequisites, tips)&lt;/li&gt;    &lt;li&gt;individual steps&lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;Element to Choose&lt;/h4&gt;  &lt;p&gt;The reusable component itself is a DITA XML file. It should follow the DITA &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;vocabulary&lt;/span&gt; rules. In the reusable component file, you can choose most of the DITA elements to wrap the reusable text; however, which element makes the component most reusable?    &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;For the semantically significant content, use the correct semantic elements, such as: &lt;span style="font-weight: bold"&gt;filepath&lt;/span&gt;, &lt;span style="font-weight: bold"&gt;varname&lt;/span&gt;, and &lt;span style="font-weight: bold"&gt;cmdname&lt;/span&gt;&lt;/li&gt;    &lt;li&gt;For the non-semantic strings, choose the least restrictive element type:&lt;span style="font-weight: bold"&gt;ph&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-weight: bold"&gt;&lt;/span&gt;  &lt;h4&gt;&lt;strong&gt;Syntax&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;Source:&amp;lt;&lt;/strong&gt;element id=&amp;#8220;element-ID&amp;#8221;&amp;gt;content (including subordinate elements&amp;lt;/element&amp;gt;    &lt;br /&gt;&lt;strong&gt;Reuse:&amp;lt;&lt;/strong&gt;element conref=&amp;#8220;source-file.dita#topic-ID/element-ID&amp;#8221;&amp;gt;&amp;lt;/element&amp;gt;    &lt;br /&gt;For example:    &lt;br /&gt;&lt;strong&gt;Source:&amp;lt;&lt;/strong&gt;ph id=&amp;#8220;otk&amp;quot;&amp;gt;DITA Open Toolkit&amp;lt;/ph&amp;gt;    &lt;br /&gt;&lt;strong&gt;Reuse:&lt;/strong&gt; &amp;lt;ph conref=&amp;#8220;contentReuse.dita#conrefs/otk&amp;quot;&amp;gt;&amp;lt;/ph&amp;gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-2918953299170027238?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/08/how-to-write-reusable-component-dita.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-5337070158691124158</guid><pubDate>Fri, 08 Aug 2008 19:10:00 +0000</pubDate><atom:updated>2008-08-08T12:13:04.283-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">xslt xml html</category><title>How to Inlucde A JS File in XSL</title><description>&lt;p&gt;In my project, I need to include an external javascript(js) file in xsl. At first, I tried to include a &lt;strong&gt;script&lt;/strong&gt; element in the &lt;strong&gt;head&lt;/strong&gt; written in HTML syntax as :&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;script language="Javascript" src="filename.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When transfering to HTML, it became to&lt;strong&gt;:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;script language="Javascript" src="filename.js" /&amp;gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Without the closing tag&amp;lt;/script&amp;gt;, the &lt;strong&gt;script &lt;/strong&gt;element was not recognized by the browser.&lt;/p&gt;  &lt;p&gt;To solve this problem, I have tried a lot of methods, such as adding text to the empty script element as&lt;strong&gt;:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;script language="Javascript" src="filename.js"&amp;gt;1&amp;lt;/script&amp;gt;&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Although it worked fine, the useless text between &lt;strong&gt;script&lt;/strong&gt; tag looked so unprofessional.&lt;/p&gt;  &lt;p&gt;At last, I came across a way to make this work. Rather than including &lt;strong&gt;script&lt;/strong&gt; as an element, I included a line of plain text using &amp;lt;xsl:text&amp;gt;:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&amp;lt;xsl:text disable-output-escaping="yes"&amp;gt;&amp;amp;lt;script src="fsq.js" language="Javascript"&amp;lt;/xsl:text&amp;gt;&amp;lt;xsl:text disable-output-escaping="yes"&amp;gt; &amp;amp;gt;&amp;lt;/xsl:text&amp;gt;&amp;lt;xsl:text disable-output-escaping="yes"&amp;gt;&amp;amp;lt;/script&amp;amp;gt;&amp;lt;/xsl:text&amp;gt;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;This line became &lt;strong&gt;&amp;lt;script language="Javascript" src="filename.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/strong&gt; in HTML.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-5337070158691124158?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/08/how-to-inlucde-js-file-in-xsl.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-7922553246798997031</guid><pubDate>Fri, 25 Jul 2008 21:44:00 +0000</pubDate><atom:updated>2008-07-29T14:22:06.953-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">DITA</category><category domain="http://www.blogger.com/atom/ns#">Video</category><title>How to Embed Multimedia Video in DITA</title><description>&lt;p&gt;This document explains how to implement multimedia video in DITA and how to transfer them to HTML format. &lt;/p&gt;  &lt;h4&gt;Supported Video Formats &lt;/h4&gt;  &lt;p&gt;The following are currently the most popular multimedia video formats on the Web:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The Shockwave (Flash) Format (.swf) &lt;/li&gt;    &lt;li&gt;The Windows Media Format (.wmv) &lt;/li&gt;    &lt;li&gt;The AVI Format (.avi) &lt;/li&gt;    &lt;li&gt;The MPEG Format (.mpeg) &lt;/li&gt;    &lt;li&gt;The QuickTime Format (.mov) &lt;/li&gt;    &lt;li&gt;The RealVideo Format (.rm) &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Web browsers use the &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element to render these video files. The &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element has two child elements: &lt;b&gt;&amp;lt;param&amp;gt;&lt;/b&gt; and &lt;b&gt;&amp;lt;embed&amp;gt;&lt;/b&gt;. The &amp;lt;param&amp;gt; element defines run-time settings for the object. The &lt;b&gt;&amp;lt;embed&amp;gt;&lt;/b&gt; element is added to support browsers that don't support the &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element. A browser that can parse the object element will ignore the &lt;b&gt;&amp;lt;embed&amp;gt;&lt;/b&gt; element. The object element will be used by new browsers that support ActiveX controls. Older browsers will use the embed element.&lt;/p&gt;  &lt;p&gt;Based on my research, the newer version of IE (IE 5 and later) accepts the &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element for all six media types, while other browsers such as Firefox accepts the &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element for only Flash(.swf) and WMV formats. &lt;/p&gt;  &lt;p&gt;The DITA standard doesn’t allow &lt;b&gt;&amp;lt;embed&amp;gt;&lt;/b&gt; element within the &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element. To solve this problem, you need to modify the DITA-OT dita2htmlImpl.xsl to include &lt;b&gt;&amp;lt;embed&amp;gt;&lt;/b&gt; element while transforming .avi, .mpeg, .mov, and .rm format video. You can also modify the DITA-OT xsl to support other object formats.&lt;/p&gt;  &lt;h4&gt;Implement in DITA&lt;/h4&gt;  &lt;h5&gt;&amp;lt;object&amp;gt; element&lt;/h5&gt;  &lt;p&gt;DITA's &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element corresponds to the HTML &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element. &lt;/p&gt;  &lt;b&gt;Attributes&lt;/span&gt;&lt;/b&gt;  &lt;p&gt;The following attributes of the &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; element are required to render video formats:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;b&gt;classid&lt;/b&gt;: the format of the classid string is "clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" for registered Microsoft ActiveX Controls. It tells the browser which media player to use to play the video. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;data&lt;/b&gt;: the location or URI of the video file. For .avi, .wmv, and .mepg formats, the full direct URI is needed. Other formats only need relative URIs. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;type&lt;/b&gt; (MIME type): indicates the video type. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;width&lt;/b&gt;: the width of the video file in pixels. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;height&lt;/b&gt;: the height of the video file in pixels. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The following table lists the value of &lt;b&gt;classid&lt;/b&gt; and MIME &lt;b&gt;type&lt;/b&gt; attributes of the six video formats:&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;table border="1" cellpadding="2" cellspacing="0" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="128"&gt;&lt;b&gt;format&lt;/b&gt;&lt;/td&gt;        &lt;td valign="top" width="138"&gt;&lt;b&gt;classid&lt;/b&gt;&lt;/td&gt;        &lt;td valign="top" width="136"&gt;&lt;b&gt;MIME Type&lt;/b&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="127"&gt;swf&lt;/td&gt;        &lt;td valign="top" width="138"&gt;Can be eliminated &lt;/td&gt;        &lt;td valign="top" width="136"&gt;application/x-shockwave-flash&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="126"&gt;wmv&lt;/td&gt;        &lt;td valign="top" width="138"&gt;Can be eliminated&lt;/td&gt;        &lt;td valign="top" width="136"&gt;video/x-ms-wmv&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="126"&gt;avi&lt;/td&gt;        &lt;td valign="top" width="138"&gt;clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95&lt;/td&gt;        &lt;td valign="top" width="136"&gt;application/x-mplayer2&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="126"&gt;mepg&lt;/td&gt;        &lt;td valign="top" width="138"&gt;clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95&lt;/td&gt;        &lt;td valign="top" width="136"&gt;application/x-mplayer2&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="126"&gt;mov&lt;/td&gt;        &lt;td valign="top" width="138"&gt;clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B&lt;/td&gt;        &lt;td valign="top" width="136"&gt;video/quicktime&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="126"&gt;rm&lt;/td&gt;        &lt;td valign="top" width="138"&gt;clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA&lt;/td&gt;        &lt;td valign="top" width="136"&gt;audio/x-pn-realaudio&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;lt;&lt;span style="font-weight: bold;"&gt;param&lt;/span&gt;&amp;gt; element&lt;/p&gt;  &lt;p&gt;At least one child &amp;lt;param&amp;gt; should be included in a &amp;lt;object&amp;gt; to identify the location of the video data file. &lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Sample Code&lt;/span&gt;&lt;br /&gt;&lt;p&gt;The following lists the coding used to implement the video in DITA for the above example:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SWF&lt;/b&gt;&lt;br /&gt;&amp;lt;object width="700" height="700" type="application/x-shockwave-flash" data="sample.swf"&amp;gt;&lt;p&gt;&lt;/p&gt;&amp;lt;param name="src" value="sample.swf" /&amp;gt;&lt;br /&gt;&amp;lt;param name="autostart" value=" false" /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;WMV&lt;/b&gt;&lt;br /&gt;&amp;lt;object type="video/x-ms-wmv" data="http://domainname/video/wmvfile.wmv"&lt;br /&gt;width="320" height="260"&amp;gt;&lt;br /&gt;&amp;lt;param name="src" value="http://domainname/video/wmvfile.wmv" /&amp;gt;&lt;br /&gt;&amp;lt;param name="autostart" value="false" /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;AVI&lt;/b&gt;&lt;br /&gt;&amp;lt;object type="application/x-mplayer2" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" data=”http://domainname/video/avifile.avi”&amp;gt;&lt;br /&gt;&amp;lt;param name="src" value=" http://domainname/video/avifile.avi" /&amp;gt;&lt;br /&gt;&amp;lt;param name="autostart" value="0" /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MPEG&lt;/b&gt;&lt;br /&gt;&amp;lt;object type="application/x-mplayer2" data="http://domainname/mpegfile.mpeg"&lt;br /&gt;classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"&amp;gt;&lt;br /&gt;&amp;lt;param name="src" value=" http://domainname/video/mpegfile.mpeg" /&amp;gt;&lt;br /&gt;&amp;lt;param name="autostart" value="false" /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;QuickTime movie(mov)&lt;/b&gt;&lt;br /&gt;&amp;lt;object type="video/quicktime" width="450" height="230" data="Apple.mov"&lt;br /&gt;classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"&amp;gt;&lt;br /&gt;&amp;lt;param name="src" value="Apple.mov"&amp;gt;&lt;br /&gt;&amp;lt;param name="autostart" value="false" /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Real Video Format&lt;/b&gt;&lt;br /&gt;&amp;lt;object type="audio/x-pn-realaudio" width="320" height="240" data="rmfile.rm" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"&amp;gt;&lt;br /&gt;&amp;lt;param name="src" value="rmfile.rm" /&amp;gt;&lt;br /&gt;&amp;lt;param name="autostart" value="false" /&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-7922553246798997031?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/07/how-to-embed-multimedia-video-in-dita.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-3245779550036382040</guid><pubDate>Tue, 13 May 2008 17:05:00 +0000</pubDate><atom:updated>2008-05-13T10:30:35.427-07:00</atom:updated><title>Using SFTP in VB.net</title><description>In my last blog, I talked about using ftp in vb.net. This time I will introduce a way to use SFTP in VB.net.&lt;br /&gt;&lt;br /&gt;Same as call Windows ftp.exe in VB.net, you can call an SFTP client. Since Windows dosen't include any default SFTP client software, you need to find and install one. I used an open source free SFTP client called &lt;a href="http://winscp.net/eng/index.php"&gt;WinSCP&lt;/a&gt;, which supports scripting.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://winscp.net/eng/index.php"&gt;WinSCP&lt;/a&gt; has an very cool command-"synchronize". It can synchronize remote directory with your local.&lt;br /&gt;&lt;br /&gt;The following is an example scripting txt file:&lt;br /&gt;&lt;span style="color:#006600;"&gt;open username:password@hostname&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;synchronize remote [local directory] [remote directory]&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;chmod 777 [remote directory]\*.*&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;close&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;After having created the scripting file, include the following line in a batch file and let VB.net to call the batch file:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;winscp.exe /console /script=example.txt&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-3245779550036382040?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/05/using-sftp-in-vbnet.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-794617498635937152</guid><pubDate>Sat, 03 May 2008 00:06:00 +0000</pubDate><atom:updated>2008-05-02T19:13:30.136-07:00</atom:updated><title>Using FTP in VB.net</title><description>A easy way to use ftp in vb.net is to call Windows ftp.exe.&lt;br /&gt;&lt;br /&gt;First, you need to create a txt file with all the ftp commands.&lt;br /&gt;&lt;br /&gt;An example ftp.txt:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;span style="font-weight: bold;"&gt;open&lt;/span&gt; hostname portnumber&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;username&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;password&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;put&lt;/span&gt; filename&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;bye&lt;br /&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Then, in your vb.net script, use Shell to call ftp.exe:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);"&gt;ProcID = Shell("ftp -s:ftp.txt")&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-794617498635937152?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/05/transfering-files-to-ftp-server-using.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-4502892377313182628</guid><pubDate>Wed, 23 Apr 2008 03:28:00 +0000</pubDate><atom:updated>2008-04-22T20:32:54.388-07:00</atom:updated><title>DTD FAQ</title><description>&lt;span xmlns=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;How to create an attribute and enforce a limited number of choices?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Enumerated attribute values&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Syntax:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ATTLIST element-name attribute-name (eval|eval|..) default-value&amp;gt;DTD example:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ATTLIST payment type (check|cash) "cash"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Example 1.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;payment type="check"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;or&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;payment type="cash"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Example 2.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This enforces the ALIGN attribute of the P element to have the value of either LEFT, or RIGHT, or CENTRE. A default can be supplied as follows:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ATTLIST P             ALIGN   (LEFT|RIGHT|CENTRE) "LEFT"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;How to define rules for elements with more than one attribute, and if so how might I do it?&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Defines the attributes list for the specified tag. You can declare multiple attributes at the same time, each with its type and value. An attribute can be of type CDATA, or it can be an item of a collection. Its value can be fixed, implied or required (see below). Here are a few examples:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Example. 1&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!DOCTYPE payment [&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT payment (#PCDATA)&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ATTLIST payment type CDATA "check"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ATTLIST payment bank CDATA "TD"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;]&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;payment type="check" bank="TD"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;test&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/payment&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Example 2.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!DOCTYPE payment [&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT payment (#PCDATA)&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ATTLIST payment type CDATA "check" bank CDATA "TD"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;]&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;payment type="check" bank="TD"&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;test&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/payment&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;What are EMPTY Elements and how do I define them?&lt;/span&gt;&lt;br /&gt;&lt;p&gt;The word "EMPTY" designates the element has no content. Here's an example from the HTML 4 transitional DTD:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Example:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT ADDRESS (STREET, CITY, STATE, ZIP, COUNTRY)&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT STREET EMPTY&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT CITY EMPTY&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT STATE EMPTY&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT ZIP EMPTY&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!ELEMENT COUNTRY EMPTY&amp;gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-4502892377313182628?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/dtd-faq.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-8664811212395783429</guid><pubDate>Tue, 22 Apr 2008 17:20:00 +0000</pubDate><atom:updated>2008-04-22T10:25:59.663-07:00</atom:updated><title>DTD Attribute Value Declarations</title><description>Within each attribute declaration, how the value will appear in the document must be specified as following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;#DEFAULT:  the attribute has a default value.&lt;/li&gt;&lt;li&gt;#REQUIRED: the attribute value must be included in the element.&lt;/li&gt;&lt;li&gt;#IMPLIED: the attribute dose not have to be included&lt;/li&gt;&lt;li&gt;#FIXED: the attribute value is fixed.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-8664811212395783429?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/dtd-attribute-value-declarations.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-6418569531313636020</guid><pubDate>Tue, 22 Apr 2008 17:10:00 +0000</pubDate><atom:updated>2008-04-22T10:19:06.270-07:00</atom:updated><title>Cardinality of A DTD Element</title><description>An element's cardinality defines how many times it will appear within a content model. DTDs allow four indicators for cardinality:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;[none]: only once&lt;/li&gt;&lt;li&gt;?: 0 or 1&lt;/li&gt;&lt;li&gt;+: 1 or more&lt;/li&gt;&lt;li&gt;*: 0 or more&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-6418569531313636020?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/cardinality-of-dtd-element.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-8889167843887987868</guid><pubDate>Tue, 22 Apr 2008 17:06:00 +0000</pubDate><atom:updated>2008-04-22T10:10:08.880-07:00</atom:updated><title>How to Valid a XML File</title><description>To valid your XML file, you can:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use an online validator, such as: &lt;a href="http://www.stg.brown/"&gt;http://www.stg.brown&lt;/a&gt;. edu/service/xmlvalid/&lt;/li&gt;&lt;li&gt;Use XML editor, such as: XML SPY or XMLETAL&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-8889167843887987868?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/how-to-valid-xml-file.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-4908267891641831194</guid><pubDate>Tue, 22 Apr 2008 04:52:00 +0000</pubDate><atom:updated>2008-04-21T21:52:43.328-07:00</atom:updated><title>What are Building Blocks of XML Documents?</title><description>&lt;span xmlns=''&gt;&lt;ul&gt;&lt;li&gt;Elements:  &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Tags: tags are used to mark up elements.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Attributes: attributes provide extra information about elements.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Entities: &lt;br /&gt;&lt;/li&gt;&lt;li&gt;PCDATA: PCDATA means parsed character data between start tags and end tags.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;CDATA: CDATA means the text that will not be parsed which is inside a tag. It is the attribute in DTD.&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-4908267891641831194?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/what-are-building-blocks-of-xml.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-5085912847308378168</guid><pubDate>Tue, 22 Apr 2008 03:48:00 +0000</pubDate><atom:updated>2008-04-21T20:48:41.722-07:00</atom:updated><title>What is a DTD</title><description>&lt;span xmlns=''&gt;&lt;p&gt;DTD stands for Document Type Definition. It is an extra rules that a XML file must conform to. We say a XML file is valid if it does confirm to the rules of a DTD.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;DTD are written using EBNF(Extended Backus-Naur Form) not XML syntax.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-5085912847308378168?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/what-is-dtd.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-2879688033882458677</guid><pubDate>Thu, 17 Apr 2008 16:45:00 +0000</pubDate><atom:updated>2008-04-17T09:45:19.855-07:00</atom:updated><title>Technical Writer Interview Information</title><description>&lt;span style="font-style: italic; color: rgb(0, 153, 0); font-weight: bold;"&gt;Written by a senior technical writer to a technical writing student.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;1. What kind of role do you play in your field as a technical writer?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My many roles as a tech writer over the last thirty-some years have been&lt;br /&gt;mostly in manufacturing and banking where I write and edit user guides&lt;br /&gt;(both software and hardware), standard operating procedures, policies and&lt;br /&gt;procedures, technical specifications, quality assurance test&lt;br /&gt;documentation, Web design, eLearning, and graphics. Oddly enough I've&lt;br /&gt;never worked in marketing but I'm certain one would need to be very strong&lt;br /&gt;in advertising and graphics.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. What technologies are pertinent to the marketing field?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I'd say one would have to be an expert with graphic design applications&lt;br /&gt;such as Adobe PhotoShop or CorelDRAW (my personal favorite). Text&lt;br /&gt;processing goes without saying.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. When being interviewed what type of documents should be brought along?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;It's important to bring to your interview a professionally prepared&lt;br /&gt;portfolio of your best work whether done as a student, intern, or&lt;br /&gt;volunteer (such as church/neighborhood newsletters or flyers/posters). You&lt;br /&gt;may be asked to leave a copy of this portfolio during your interview so&lt;br /&gt;don't give away your only copy. Just like any audition, you hope for a&lt;br /&gt;callback. This is a good sign.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. What is the best way to get an interview?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Most companies have a Web site listing their job opportunities. There's&lt;br /&gt;usually a place to drop your resume too. Check local newspapers as well as&lt;br /&gt;Monster.com and CareerBuilder.com. There are others.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. Have you used a lot of networking to get interviews?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Networking is probably the best way to get your foot in the door of&lt;br /&gt;prospective employers. Technical writing isn't a huge field but we are a&lt;br /&gt;tight-knit group. I probably know 50% of the writers in my city. More than&lt;br /&gt;half of them are free lance writers which means they move around a lot and&lt;br /&gt;know who is looking for tech writers. Get to know these folks.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6. What are some of the best ways to begin networking?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Join professional societies and attend their meetings. I'm a member of&lt;br /&gt;ASTD (American Society for Training and Development) and STC (Society for&lt;br /&gt;Technical Communication). Student memberships are available. I'm sure&lt;br /&gt;there are similar groups for marketing/advertising.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7. What would you recommend a recent graduate do to sell themselves in a&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;interview? Especially if they don't have much experience?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Show enthusiasm and a willingness to learn. Dress professionally. Do your&lt;br /&gt;homework and learn as much as you can about the company with whom you're&lt;br /&gt;interviewing before you get there (the Internet is a great tool and&lt;br /&gt;companies love to brag about who and what they are).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8. What type of jobs are out there for technical writers in the marketing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;and advertising realm?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Sorry, I can't answer that not having worked in advertising.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9. Do you have any tips for potential interviewees?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;See question 7 above. &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;10. What kind of technical skills do you use on a daily basis?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I use CorelDRAW, RoboHelp, all of the Microsoft Office tools, Captivate,&lt;br /&gt;and Articulate. I use a digital camera with its associated software and do&lt;br /&gt;all of my own illustrating. (We had a graphics department at my last&lt;br /&gt;company but we also had 30 tech writers vying for their services.) I make&lt;br /&gt;daily use of project management skills. Most of this would benefit for&lt;br /&gt;whatever industry you are applying.&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-2879688033882458677?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/04/technical-writer-interview-information.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-1756984785516740347</guid><pubDate>Thu, 20 Mar 2008 20:48:00 +0000</pubDate><atom:updated>2008-03-20T14:10:36.023-07:00</atom:updated><title>Different Between Page Break and Section Break in Word</title><description>Page break separates pages with same format. Whereas, Section break allows you to apply different format to a portion of a document. For example, a section can have different margin, header, or footer settings from the rest of the document.&lt;br /&gt;&lt;br /&gt;Types of Section Breaks&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Next page: Inserts a section break and starts a new section at the top of a new page&lt;/li&gt;&lt;li&gt;Continuous: Inserts a section break and starts a new section on the same page&lt;/li&gt;&lt;li&gt;Odd page: Inserts a section break and starts a new section on the next odd-numbered page&lt;/li&gt;&lt;li&gt;Even page: Inserts a section break and starts a new section on the next even-numbered page&lt;/li&gt;&lt;/ul&gt;When you want to apply different header or footer to a section, click the &lt;span style="font-weight: bold;"&gt;Same As Previous&lt;/span&gt; button in the &lt;span style="font-weight: bold;"&gt;Header and Footer&lt;/span&gt; toolbar to turn it off, and then format the header and footer in this section.&lt;br /&gt;&lt;br /&gt;When you change page layout, you can choose to apply to only this section or the whole document.&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-1756984785516740347?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/different-between-page-break-and.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-2532289967393701956</guid><pubDate>Wed, 19 Mar 2008 21:18:00 +0000</pubDate><atom:updated>2008-03-20T14:28:12.479-07:00</atom:updated><title>iPod Reward</title><description>I just won an iPod for our company's Intranet Website usability testing.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qyxwSLwG3fs/R-GFq2b_AyI/AAAAAAAAACk/oIqx8tLblMc/s1600-h/Lisha_with_ipod-1.png"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_qyxwSLwG3fs/R-GFq2b_AyI/AAAAAAAAACk/oIqx8tLblMc/s320/Lisha_with_ipod-1.png" alt="" id="BLOGGER_PHOTO_ID_5179568017666671394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qyxwSLwG3fs/R-GDQ2b_AxI/AAAAAAAAACc/gXijVbXb2dA/s1600-h/Lisha_with_ipod.jpg"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_qyxwSLwG3fs/R-GDQ2b_AxI/AAAAAAAAACc/gXijVbXb2dA/s320/Lisha_with_ipod.jpg" alt="" id="BLOGGER_PHOTO_ID_5179565371966817042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Several months ago, I also won an Jacket:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_qyxwSLwG3fs/R-GHbWb_AzI/AAAAAAAAACs/tSWcaS_ho_8/s1600-h/Lisha.png"&gt;&lt;img style="cursor: pointer;" src="http://bp3.blogger.com/_qyxwSLwG3fs/R-GHbWb_AzI/AAAAAAAAACs/tSWcaS_ho_8/s320/Lisha.png" alt="" id="BLOGGER_PHOTO_ID_5179569950401954610" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-2532289967393701956?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/ipod-award.html</link><author>noreply@blogger.com (LISHA LI)</author><media:thumbnail url="http://bp1.blogger.com/_qyxwSLwG3fs/R-GFq2b_AyI/AAAAAAAAACk/oIqx8tLblMc/s72-c/Lisha_with_ipod-1.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-3553899586269351922</guid><pubDate>Wed, 19 Mar 2008 20:57:00 +0000</pubDate><atom:updated>2008-03-27T15:51:23.674-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">DITA</category><title>Using DITA for Conditional Text</title><description>&lt;span style="color: rgb(0, 153, 0); font-style: italic;"&gt;"I attended a web seminar of Using DITA for Conditional Text from Just System recently. The following are what I have learned."&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Before I start, I want to give some background information about DITA and conditional text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;What is DITA?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;DITA stands for Darwin Information Typing Architecture. It is an XML-based architecture for authoring, producing, and delivering technical information. DITA is an XML vocabulary for creating structured content, availabe as DTDs and schemas. DITA divides content into small, self-contained topics that can be reused in different &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;deliverable&lt;/span&gt;s.&lt;br /&gt;DITA specifies three topics:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Task&lt;/li&gt;&lt;li&gt;Concept&lt;/li&gt;&lt;li&gt;Reference&lt;/li&gt;&lt;/ul&gt;A task topic describes procedures about how to accomplish a task.&lt;br /&gt;Concept topics provide background information about the task to help users understand what the task is.&lt;br /&gt;Reference topics are used for describing regular features of a subject or product.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;What is conditional text?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Conditional text is a function used in many desktop publishing and Help Authoring tools that displays information under certain conditions. For example, you can hide all the graphics for HTML format to reduce files size and show them in the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;PDF&lt;/span&gt; file.&lt;br /&gt;&lt;br /&gt;Synonyms for conditional text:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;conditional attributes&lt;/li&gt;&lt;li&gt;conditional processing&lt;/li&gt;&lt;li&gt;profiling&lt;/li&gt;&lt;li&gt;versioning&lt;/li&gt;&lt;li&gt;effectivity&lt;/li&gt;&lt;li&gt;filtered reuse&lt;/li&gt;&lt;li&gt;"select-atts" attributes&lt;/li&gt;&lt;li&gt;conditional build tags&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;How to Use DITA for Conditional Text?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;DITA has specific attributes that can then be used for filtering, flagging, search, and indexing and these attributes can be used for conditional processing. These built-in attributes are:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;audience&lt;/li&gt;&lt;li&gt;platform&lt;/li&gt;&lt;li&gt;product&lt;/li&gt;&lt;li&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;otherprops&lt;/span&gt;&lt;/li&gt;&lt;li&gt;rev (for flagging only)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;There are three types of content reuse in DITA:&lt;/p&gt;&lt;table id="uhlp" border="1" bordercolor="#666666" cellpadding="3" cellspacing="0" height="121" &gt;&lt;tbody id="b7ed"&gt;&lt;tr id="qs31"&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-weight: bold;" id="swuo" width="50%"&gt;Requirements&lt;br /&gt;&lt;/td&gt;&lt;td style="font-weight: bold;" id="cdjk" width="50%"&gt;DITA Solution&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td id="o3tc" width="50%"&gt;multiple similar deliverables&lt;/td&gt;&lt;td id="tzhf" width="50%"&gt;flag some content as conditional&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td id="f7xn" width="50%"&gt;piece of content used in many different contexts&lt;/td&gt;&lt;td id="nmxt" width="50%"&gt;include in different topics using content reference&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td id="tneu" width="50%"&gt;topic used in many different deliverables&lt;/td&gt;&lt;td id="rsri" width="50%"&gt;include it in different deliverables through DITA maps&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;ul&gt;&lt;li&gt;multiple similar deliverables -&gt; flag some content as conditional&lt;/li&gt;&lt;li&gt;piece of content used in many different contexts -&gt; include in different topics using content reference&lt;/li&gt;&lt;li&gt;topic used in many different deliverables -&gt; include it in different deliverables through DITA maps&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;What does conditional text markup look like?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;A paragraph that is not conditional:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;&amp;lt;p&amp;gt;Press Ctrl+S. &amp;lt;/p&amp;gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;A paragraph that applies to Windows platform only:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&amp;lt;p platform="windows"&amp;gt;Press Ctrl+S. &amp;lt;/p&amp;gt;&lt;/li&gt;&lt;li&gt;&amp;lt;p platform="windows"&amp;gt;Press Command+S. &amp;lt;/p&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;How to get conditional text out of deliverable?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;When creating output, DITA Open Toolkit processes content to show or hide conditional text. DITA Open Toolkit is a free and open-sourced collection of scripts that transforms DITA content into deliverable formats like HTML or &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;PDF&lt;/span&gt;. The Toolkit is not a software product and can not be used independently. It needs to be installed or integrated into a XML editor.&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;XMetal&lt;/span&gt; Author Enterprise which includes the integration of DITA Open Toolkit allows users to create conditional text.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qyxwSLwG3fs/R-GI92b_A0I/AAAAAAAAAC0/dRIX6j5IpP8/s1600-h/dita.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5179571642619069250" style="cursor: pointer;" alt="" src="http://bp1.blogger.com/_qyxwSLwG3fs/R-GI92b_A0I/AAAAAAAAAC0/dRIX6j5IpP8/s320/dita.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0); font-style: italic;"&gt;"I am wondering, is there any other XML editor that supports DITA conditional text as well? Or if I installed DITA Open Toolkit to my XML editor (such as &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;FrameMaker&lt;/span&gt;), will it support conditional text? I will follow up my research with these questions later."&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-3553899586269351922?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/using-dita-for-conditional-text.html</link><author>noreply@blogger.com (LISHA LI)</author><media:thumbnail url="http://bp1.blogger.com/_qyxwSLwG3fs/R-GI92b_A0I/AAAAAAAAAC0/dRIX6j5IpP8/s72-c/dita.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-2554125731833716050</guid><pubDate>Fri, 14 Mar 2008 04:16:00 +0000</pubDate><atom:updated>2008-03-16T09:16:16.999-07:00</atom:updated><title>My Pamphlet Design Sample</title><description>&lt;span style="font-size:85%;"&gt;A Pamphlet I have designed for the Britannia Community Center.&lt;/span&gt;&lt;br /&gt;&lt;div id="__ss_305657" style="WIDTH: 425px; TEXT-ALIGN: left"&gt;&lt;object style="MARGIN: 0px" height="355" width="425"&gt;&lt;param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=volunteer-pamphlet-1205467694873766-3"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=volunteer-pamphlet-1205467694873766-3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="FONT-SIZE: 11px; PADDING-TOP: 2px; FONT-FAMILY: tahoma,arial; HEIGHT: 26px"&gt;&lt;a href="http://www.slideshare.net/?src=embed"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-BOTTOM: -5px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="SlideShare" src="http://static.slideshare.net/swf/logo_embd.png" /&gt;&lt;/a&gt; &lt;a title="View 'Volunteer Pamphlet' on SlideShare" href="http://www.slideshare.net/lilisha100/volunteer-pamphlet?src=embed"&gt;View&lt;/a&gt; &lt;a href="http://www.slideshare.net/upload?src=embed"&gt;Upload your own&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-2554125731833716050?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/my-pamphlet-design-sample.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total><enclosure url="http://static.slideshare.net/swf/ssplayer2.swf?doc=volunteer-pamphlet-1205467694873766-3" length="121655" type="application/x-shockwave-flash" /><media:content url="http://static.slideshare.net/swf/ssplayer2.swf?doc=volunteer-pamphlet-1205467694873766-3" fileSize="121655" type="application/x-shockwave-flash" /><itunes:subtitle>A Pamphlet I have designed for the Britannia Community Center. View Upload your owntest</itunes:subtitle><itunes:author>noreply@blogger.com (LISHA LI)</itunes:author><itunes:summary>A Pamphlet I have designed for the Britannia Community Center. View Upload your owntest</itunes:summary></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-4764989418734536705</guid><pubDate>Tue, 11 Mar 2008 18:08:00 +0000</pubDate><atom:updated>2008-03-14T15:10:10.316-07:00</atom:updated><title>My Web Design Sample</title><description>&lt;p&gt;This is a website that I have designed in the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;BCIT&lt;/span&gt; technical writing program "Writing For the Web" course. This website is designed for a fake rock and roll music band called Credible But Deadly.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The band was formed in 2005 with four members: two lead guitar vocalists, a bass player, and a drummer. They have released two albums and were getting popular. Besides albums and venue/event performances, they also produced band merchandises. The audience of this site were rock and roll fans.&lt;br /&gt;&lt;br /&gt;The purpose of this website is to promote the band and its discographies, as well as to compel fans to buy its &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;CDs&lt;/span&gt; and merchandise.&lt;br /&gt;&lt;br /&gt;This was a team project, I designed the site information organization framework, page layout, navigation tabs, breadcrumbs, site map, as well as the home page graphic and the site banner.&lt;br /&gt;&lt;br /&gt;The information of this site is organized by 5 categories.  Homepage shows these 5 categories by different color tabs to indicate different categories.&lt;br /&gt;&lt;br /&gt;The navigation system of this website is very clear and logical. I put the navigation bar in the left side of each page, which is easy for visitors to locate. Every page includes a breadcrumb to indicate the visitor’s current location. The site map page shows the entire structure of the site, with different color and shape to indicate categories and hierarchies.&lt;br /&gt;&lt;br /&gt;The logo and banner at the top of each page maintains the consistency and also leads to the homepage.&lt;br /&gt;&lt;br /&gt;In summary, the navigation is logical and consistent; the page layout is attractive and coherence; this site meets both the audience’s expectation and the proponent’s purpose.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This project gained the best design in my class.&lt;br /&gt;&lt;/p&gt;&lt;div id="__ss_302091" style="width: 425px; text-align: left;"&gt;&lt;object style="margin: 0px;" height="355" width="425"&gt;&lt;param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=webdesign-1205258077337153-3"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=webdesign-1205258077337153-3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="visibility: hidden; width: 0px; height: 0px;" src="http://counters.gigya.com/wildfire/CIMP/JnB*PTEyMDUyNTg4ODk3OTYmcD*xMDE5MSZkPSZuPWJsb2dnZXI=.jpg" border="0" height="0" width="0" /&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-4764989418734536705?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/my-web-design-sample.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total><enclosure url="http://static.slideshare.net/swf/ssplayer2.swf?doc=webdesign-1205258077337153-3" length="121655" type="application/x-shockwave-flash" /><media:content url="http://static.slideshare.net/swf/ssplayer2.swf?doc=webdesign-1205258077337153-3" fileSize="121655" type="application/x-shockwave-flash" /><itunes:subtitle> This is a website that I have designed in the BCIT technical writing program "Writing For the Web" course. This website is designed for a fake rock and roll music band called Credible But Deadly. The band was formed in 2005 with four members: two lead gu</itunes:subtitle><itunes:author>noreply@blogger.com (LISHA LI)</itunes:author><itunes:summary> This is a website that I have designed in the BCIT technical writing program "Writing For the Web" course. This website is designed for a fake rock and roll music band called Credible But Deadly. The band was formed in 2005 with four members: two lead guitar vocalists, a bass player, and a drummer. They have released two albums and were getting popular. Besides albums and venue/event performances, they also produced band merchandises. The audience of this site were rock and roll fans. The purpose of this website is to promote the band and its discographies, as well as to compel fans to buy its CDs and merchandise. This was a team project, I designed the site information organization framework, page layout, navigation tabs, breadcrumbs, site map, as well as the home page graphic and the site banner. The information of this site is organized by 5 categories. Homepage shows these 5 categories by different color tabs to indicate different categories. The navigation system of this website is very clear and logical. I put the navigation bar in the left side of each page, which is easy for visitors to locate. Every page includes a breadcrumb to indicate the visitor’s current location. The site map page shows the entire structure of the site, with different color and shape to indicate categories and hierarchies. The logo and banner at the top of each page maintains the consistency and also leads to the homepage. In summary, the navigation is logical and consistent; the page layout is attractive and coherence; this site meets both the audience’s expectation and the proponent’s purpose. This project gained the best design in my class. test</itunes:summary></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-1470435588755064733</guid><pubDate>Thu, 06 Mar 2008 23:15:00 +0000</pubDate><atom:updated>2008-03-11T21:32:31.764-07:00</atom:updated><title>How to Wash a Cat</title><description>In my Technical Editing class at BCIT, I had an in-class task to write instructions about how to wash a cat.&lt;br /&gt;&lt;br /&gt;My son always wants to have a pet. I thought I should educate him about pets. So after the class, I asked him if he wanted to know how to wash a cat. He was interested. I then told him the step-by-step instructions: clean the toilet; get the cat; put in the toilet; flash the toilet to wash the cat; and dry the cat.&lt;br /&gt;&lt;br /&gt;He likes drawing pictures very much, so I asked him if he could draw a picture to record the process. He agreed and drew the picture in less than five minutes.&lt;br /&gt;&lt;br /&gt;His drawing was simple, vivid, and funny. He is a better technical communicator than I am. I then took photos of his drawing, edited those photos, and made them an illustration of how to wash a cat.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://tkfiles.storage.live.com/y1pgyqNOVEDLZ9D15Otqzc6HjcfPmH_2NNT4XsKLPt3ae-4y6xCEhi5dEs6VLn2ZhPv9FwlVR0mlcI"&gt;&lt;img style="WIDTH: 320px; CURSOR: pointer" alt="" src="http://tkfiles.storage.live.com/y1pgyqNOVEDLZ9D15Otqzc6HjcfPmH_2NNT4XsKLPt3ae-4y6xCEhi5dEs6VLn2ZhPv9FwlVR0mlcI" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-1470435588755064733?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/how-to-wash-cat.html</link><author>noreply@blogger.com (LISHA LI)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9087462119098741786.post-6552647096450298096</guid><pubDate>Thu, 06 Mar 2008 17:34:00 +0000</pubDate><atom:updated>2008-03-11T11:39:31.617-07:00</atom:updated><title>Making a Transparent PNG with Corel PHOTO-PAINT</title><description>A transparent image allows the page background to display through the image. Currently, the only formats that support transparency are the GIF and PNG formats. Figure 1 illustrates the difference between a normal image and a transparent image.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_qyxwSLwG3fs/R9bQDCuNjkI/AAAAAAAAAAo/wXX8Ugzfw04/s1600-h/corel1.png"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_qyxwSLwG3fs/R9bQDCuNjkI/AAAAAAAAAAo/wXX8Ugzfw04/s320/corel1.png" alt="" id="BLOGGER_PHOTO_ID_5176553572397846082" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;Figure 1. A transparent image reveals background text&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;To make a transparent PNG with Corel PHOTO-PAINT, you must first import your image file as an object and make it transparent. After you have a transparent image file, you can export it to a PNG image file with transparent background.&lt;br /&gt;&lt;br /&gt;The following are step‑by‑step procedures of the above tasks for experienced Corel PHOTO-PAINT users.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;To make an image transparent&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Open Corel PHOTO-PAINT and import the original image file as an object. (See Figure 2.)&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qyxwSLwG3fs/R9bQWyuNjlI/AAAAAAAAAAw/cDAOhbuEGpA/s1600-h/corel2.png"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_qyxwSLwG3fs/R9bQWyuNjlI/AAAAAAAAAAw/cDAOhbuEGpA/s320/corel2.png" alt="" id="BLOGGER_PHOTO_ID_5176553911700262482" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;Figure 2 .The original image is imported as an object&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;2. Select the object.&lt;br /&gt;3. Open the &lt;span style="font-weight: bold;"&gt;Interactive Tools Flyout&lt;/span&gt;, and click the &lt;span style="font-weight: bold;"&gt;Object Transparency Brush Tool&lt;/span&gt;.&lt;br /&gt;4. To set &lt;span style="font-weight: bold;"&gt;Object Transparency Brush Tool &lt;/span&gt;options, do the following:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To change the shape, on the property bar, open the &lt;span style="font-weight: bold;"&gt;Nib Shape&lt;/span&gt; picker, and click a shape.&lt;/li&gt;&lt;li&gt;To set the size, type a value in the &lt;span style="font-weight: bold;"&gt;Size&lt;/span&gt; box.&lt;/li&gt;&lt;li&gt;To set the brush stroke transparency level, type a value in the &lt;span style="font-weight: bold;"&gt;Transparency&lt;/span&gt; box.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;5. Drag across the entire image to make it transparent. (See Figure 3).&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qyxwSLwG3fs/R9bQpyuNjmI/AAAAAAAAAA4/SSV5bM700rc/s1600-h/corel3.png"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_qyxwSLwG3fs/R9bQpyuNjmI/AAAAAAAAAA4/SSV5bM700rc/s320/corel3.png" alt="" id="BLOGGER_PHOTO_ID_5176554238117776994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;Figure 3. The Transparent Brush Tool makes the image transparent&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;Tip:&lt;/span&gt; To change the shape of the brush, you can quickly choose a square or round brush shape by clicking the Round nib button or the Square nib button on the property bar.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;To export a transparent PNG format image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Select the object.&lt;br /&gt;2. On the &lt;span style="font-weight: bold;"&gt;File &lt;/span&gt;menu, click &lt;span style="font-weight: bold;"&gt;Export&lt;/span&gt;.&lt;br /&gt;3. Choose the folder where you want to save the file and type a file name.&lt;br /&gt;4. Choose &lt;span style="font-weight: bold;"&gt;PNG&lt;/span&gt; from the &lt;span style="font-weight: bold;"&gt;Save as type&lt;/span&gt; list box.&lt;br /&gt;5. Click &lt;span style="font-weight: bold;"&gt;Option&lt;/span&gt;.&lt;br /&gt;6. Select the &lt;span style="font-weight: bold;"&gt;Selected Only&lt;/span&gt; check box.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_qyxwSLwG3fs/R9bQ7yuNjnI/AAAAAAAAABA/24q5b3t-GUs/s1600-h/corel4.png"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_qyxwSLwG3fs/R9bQ7yuNjnI/AAAAAAAAABA/24q5b3t-GUs/s320/corel4.png" alt="" id="BLOGGER_PHOTO_ID_5176554547355422322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;Figure 4. The Selected only check box needs to be selected&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;7. Click &lt;span style="font-weight: bold;"&gt;Export&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;A dialog box appears showing the preview of the result image.&lt;br /&gt;&lt;br /&gt;8. Click &lt;span style="font-weight: bold;"&gt;OK&lt;/span&gt;.&lt;div class="blogger-post-footer"&gt;test&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9087462119098741786-6552647096450298096?l=flowwrite.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://flowwrite.blogspot.com/2008/03/making-transparent-png-with-corel-photo.html</link><author>noreply@blogger.com (LISHA LI)</author><media:thumbnail url="http://bp1.blogger.com/_qyxwSLwG3fs/R9bQDCuNjkI/AAAAAAAAAAo/wXX8Ugzfw04/s72-c/corel1.png" height="72" width="72" /><thr:total>1</thr:total></item><language>en-us</language><media:rating>nonadult</media:rating></channel></rss>

