<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>
<channel>
	<title>  Style</title>
	<link>http://style.indelv.com</link>
	<description>Web Standards News &#187; Style</description>
	<pubDate>Mon, 28 Dec 2009 06:24:18 +0000</pubDate>
	<language>en</language>
			<item>
		<title>XSL Transformations (XSLT)</title>
		<link>http://style.indelv.com/xsl-transformations-xslt.html</link>
		<pubDate>Mon, 28 Dec 2009 06:24:18 +0000</pubDate>
		<description><![CDATA[This specification defines the syntax and semantics of XSLT, which is a language for transforming XML documents into other XML documents.XSLT is designed for use as part of XSL, which is a stylesheet language for XML. In addition to XSLT, XSL includes an XML vocabulary for specifying formatting. XSL specifies the styling of an XML [...]]]></description>
			<content:encoded><![CDATA[<p>This specification defines the syntax and semantics of XSLT, which is a language for transforming XML documents into other XML documents.XSLT is designed for use as part of XSL, which is a stylesheet language for XML. In addition to XSLT, XSL includes an XML vocabulary for specifying formatting. XSL specifies the styling of an XML document by using XSLT to describe how the document is transformed into another XML document that uses the formatting vocabulary.</p>
<p>XSLT is also designed to be used independently of XSL. However, XSLT is not intended as a completely general-purpose XML transformation language. Rather it is designed primarily for the kinds of transformations that are needed when XSLT is used as part of XSL.<br />
Status of this document</p>
<p>This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from other documents. W3C&#8217;s role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.</p>
<p>The list of known errors in this specification is available at <a rel="nofollow" href="http://www.w3.org/1999/11/REC-xslt-19991116-errata">http://www.w3.org/1999/11/REC-xslt-19991116-errata</a>.</p>
<p>Comments on this specification may be sent to xsl-editors@w3.org; archives of the comments are available. Public discussion of XSL, including XSL Transformations, takes place on the XSL-List mailing list.</p>
<p>The English version of this specification is the only normative version. However, for translations of this document, see <a rel="nofollow" href="http://www.w3.org/Style/XSL/translations.html">http://www.w3.org/Style/XSL/translations.html</a>.</p>
<p>A list of current W3C Recommendations and other technical documents can be found at <a rel="nofollow" href="http://www.w3.org/TR">http://www.w3.org/TR</a>.</p>
<p>This specification has been produced as part of the W3C Style activity.</p>
<p>source : <a rel="nofollow" href="http://www.w3.org/TR/xslt">http://www.w3.org/TR/xslt</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>XSLT and XPath</title>
		<link>http://style.indelv.com/xslt-and-xpath.html</link>
		<pubDate>Mon, 28 Dec 2009 06:24:00 +0000</pubDate>
		<description><![CDATA[Altova Education partner This XSL course is the last two days of the five-day XML training course, but it can be taken independently of the five-day package.
You are currently working with XML - maybe you&#8217;ve defined a language with a DTD, maybe you&#8217;re editing XML documents regularly, or maybe you&#8217;re prototyping a project - but [...]]]></description>
			<content:encoded><![CDATA[<p>Altova Education partner This XSL course is the last two days of the five-day XML training course, but it can be taken independently of the five-day package.</p>
<p>You are currently working with XML - maybe you&#8217;ve defined a language with a DTD, maybe you&#8217;re editing XML documents regularly, or maybe you&#8217;re prototyping a project - but you need to expand your knowledge of the W3C XML languages. The Intermediate client-side XML class examines XPath and XSLT. XSLT is used to transform your XML documents into a format appropriate for particular applications (e.g., browsers) such as HTML or text. XPath allows you to specify a location in the referenced XML document to indicate which content or information you would like to use or extract. XPath provides a number of functions that may be applied to calculate, limit, or filter the query results.</p>
<h3>XSL - The Extensible Style Language</h3>
<p>XSL or Extensible Style Language is really a collection of several different languages including XSLFO and XSLT incorporating XPath. Because of the complexity of XSLFO, we focus on XSLT and XPath. During your introduction to XSL, you will learn about:</p>
<ul>
<li>the XSL family - its history, goals, state of development and common uses</li>
<li>the notion of &#8216;transformation&#8217; - specifically transforming XML into HTML</li>
<li>modelling the XML document : nodes, paths and trees (ancestors, siblings, descendents)<br />
* types of XSL processors</li>
</ul>
<h3>XSLT Templates</h3>
<p>The transformation process relies upon templates that you define in your XSL. The XSL processor then matches portions of the XML that you dictate and replaces these portions with the code you described in your template, resulting in a brand new file. We examine the XSL templates and how the transformation process proceeds. In this course you will learn:</p>
<p>* establishing XSLT templates<br />
* basic XPath for designating matches<br />
* how to extract data from XML elements to be placed in the templates<br />
* how to extract data from XML element attributes<br />
* how to use a simple XSL processor<br />
* how to define the output type for your new document<br />
* to transform XML to text<br />
* to transform XML to HTML<br />
* about applying all applicable templates<br />
* about selecting specific templates for application</p>
<p>XSLT Elements</p>
<p>XSLT&#8217;s power becomes more evident when we introduce several useful XSL elements. The folks at the W3 clearly sought a robust language when crafting XSL and provided tools for conditionals, loops, sorting, selection by REGEX and more. In this course you will learn about:</p>
<p>* testing and filtering results using XPath and XSLT conditionals<br />
* XSLT conditionals including XSL:IF and XSL:CHOOSE<br />
* XSLT simple for-each loops<br />
* how to sort the output of a for each loop<br />
* how to create a secondary (sub) sort of the data<br />
* how to add text to the resulting document</p>
<p>XPath in Use</p>
<p>XPath&#8217;s power truly emerges when specifying complex node paths and utilizing XPath functions. In this course you will learn:</p>
<p>* how to specify a context, parent, child and attribute node<br />
* some valuable XPath functions<br />
* how to count the number of items in a node-set<br />
* how to perform basic math functions on numerical data<br />
* how to generate id&#8217;s for each node in a node-set<br />
* about using XPath to determine the element node&#8217;s name and whether it has content<br />
* when and where an XPath function may be called</p>
<h3>XSLT in Action</h3>
<p>Our final segment illustrates some useful implementations of XSLT. Specifically, we will create a table of contents for our HTML output. In this course you will learn:</p>
<p>* how to create and apply multiple templates for the same content<br />
* when to call a template and when to apply a template<br />
* how to add an attribute to an element in the resulting document<br />
* how to create a table of contents</p>
<h3>Prerequisites:</h3>
<p>* Intermediate HTML or equivalent experience<br />
* Intro to JavaScript or equivalent experience<br />
* Intro to XML or equivalent experience</p>
<p>source : <a rel="nofollow" href="http://www.academyx.com/training/san_francisco/xml/intermediate/">http://www.academyx.com/training/san_francisco/xml/intermediate/</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>How does Internet Explorer 7 work with Cascading Style Sheets</title>
		<link>http://style.indelv.com/how-does-internet-explorer-7-work-with-cascading-style-sheets.html</link>
		<pubDate>Sun, 25 May 2008 20:01:30 +0000</pubDate>
		<description><![CDATA[Microsoft Internet Explorer 7 (IE7) does not fully support Cascading Style Sheets (CSS). Why the call for standards in browserworld again did not reach the producer of the world most used browser?
]]></description>
			<content:encoded><![CDATA[<p>Microsoft Internet Explorer 7 (IE7) does not fully support Cascading Style Sheets (CSS). Why the call for standards in browserworld again did not reach the producer of the world most used browser? <a href="http://www.indelv.com/how-does-internet-explorer-7-work-with-cascading-style-sheets.html#more-834" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>What are style sheets?</title>
		<link>http://style.indelv.com/what-are-style-sheets.html</link>
		<pubDate>Wed, 07 May 2008 05:23:25 +0000</pubDate>
		<description><![CDATA[Style sheets describe how documents are presented on screens, in print, or perhaps how they are pronounced. W3C has actively promoted the use of style sheets on the Web since the Consortium was founded in 1994. The Style Activity has produced several W3C Recommendations (CSS1, CSS2, XPath, XSLT). CSS especially is widely implemented in browsers.
By [...]]]></description>
			<content:encoded><![CDATA[<p>Style sheets describe how documents are presented on screens, in print, or perhaps how they are pronounced. W3C has actively promoted the use of style sheets on the Web since the Consortium was founded in 1994. The Style Activity has produced several W3C Recommendations (CSS1, CSS2, XPath, XSLT). CSS especially is widely implemented in browsers.</p>
<p>By attaching style sheets to structured documents on the Web (e.g. HTML), authors and readers can influence the presentation of documents without sacrificing device-independence or adding new HTML tags.</p>
<p>The easiest way to start experimenting with style sheets is to find a browser that supports CSS.</p>
<p>Source : <a rel="nofollow" href="http://www.w3.org/Style/">http://www.w3.org/Style/</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>Understanding CSS2 Color Modes</title>
		<link>http://style.indelv.com/understanding-css2-color-modes.html</link>
		<pubDate>Mon, 03 Mar 2008 23:44:56 +0000</pubDate>
		<description><![CDATA[&#8220;CSS2 gives you three basic ways of choosing colours: hexadecimal, keywords and rgb.
Hexadecimal notation
You probably already know how the hexadecimal notation looks, for each colour (Red, green and blue) you have two letters or digits, and in front of that a #. The higher the digits are, the brighter the colour. Pure black becomes #000000 [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;CSS2 gives you three basic ways of choosing colours: hexadecimal, keywords and rgb.</p>
<h3>Hexadecimal notation</h3>
<p>You probably already know <em>how </em>the hexadecimal notation looks, for each colour (Red, green and blue) you have two letters or digits, and in front of that a #. The higher the digits are, the brighter the colour. Pure black becomes <code>#000000</code> while pure white becomes <code>#FFFFFF</code>.</p>
<p>But what do those digits actually mean? Hexadecimal notation uses a system of 16 digits. Because we only have 10 digits, the remaining 6 (they start at 0) are described using the letters A to F. Together, this allows for 256 numbers per primary colour. Those 256 numbers correspond with the current RGB colours in most screens, and allow for about 16 million different colours.</p>
<p>Next to the #rrggbb notation, there also is the #rgb notation that lets you pick red, green and blue with 16 increments, totalling 4096 colours. This means that #ff0000 and #f00 give the same colour.</p>
<h3>RGB Notation</h3>
<p>Another notation that has been in CSS for a while is “direct” RGB. It looks like this: <code>rgb(255, 0, 0)</code> for 100% red, 0% green and 0% blue. As you might already have guessed, this notation also uses 256 steps for each of the primary colours.</p>
<p>The only difference (apart from the syntax) is that RGB uses our own system of counting, while hexadecimal notation uses an alternative method. In theory, it’s easier to use the RGB notation because we understand it better. But when working with hexadecimal notation, it is my experience that you learn to think in 16 digits pretty quickly.&#8221;</p>
<p>Read the <a rel="nofollow" href="http://kilianvalkhof.com/2007/design/understanding-css-colour-modes/" title="Understanding CSS2 Color Modes">full article hosted by Kilina Valkhof&#8217;s personal blog</a> and master the art of color control for your web page.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Understanding XPath</title>
		<link>http://style.indelv.com/understanding-xpath.html</link>
		<pubDate>Mon, 03 Mar 2008 23:33:16 +0000</pubDate>
		<description><![CDATA[Though you do not have to be familiar with XPath to use the XSLT Mapper, you may benefit from some knowledge of XPath when building advanced expressions in XSLT. On the Web, you will find numerous publications dedicated to XSLT and related topics. Most books on XSLT contain sections on XPath. For a complete description [...]]]></description>
			<content:encoded><![CDATA[<p>Though you do not have to be familiar with XPath to use the XSLT Mapper, you may benefit from some knowledge of XPath when building advanced expressions in XSLT. On the Web, you will find numerous publications dedicated to XSLT and related topics. Most books on XSLT contain sections on XPath. For a complete description of XPath and how to use it, read the W3C XML Path Language specification. This document is available at http://www.w3.org.</p>
<p>While XPath and XSLT are defined as separate specifications by the World Wide Web Consortium (W3C), XPath functions as a sub-language within an XSLT style sheet. The XPath specification provides a concise and intuitive way to locate and process items in an XML document based on a path through the document’s hierarchy of nodes. XPath uses a compact syntax for use within Uniform Resource Identifiers (URIs) and XML attribute values.</p>
<p>XPath models an XML document as a tree of nodes. XPath uses expressions to refer to different types of nodes—element nodes, attribute nodes, and text nodes—and XPath defines a way to compute a value for each type of node.</p>
<p>XPath expressions contain all the information to address a particular location in an XML schema. XPath expressions can contain location paths, function calls, variable references, unions of sets, comparisons, mathematical operations, and so on, all of which can be used together or independently to return a node set, a node value, or a mathematical or functional manipulation of that node value from an XML document. Additionally, an XPath expression can be evaluated to return three other object types: Boolean results, floating point numbers, and strings.<br />
XPath Syntax</p>
<p>The purpose of an XPath expression is to identify one or more source nodes or to define how result nodes will be populated or modified. To address nodes in an XML document, XPath uses a syntax that is similar to an informal set of directions for finding a particular geographic location. For example, in XPath syntax, instructions on how to get to a particular beach in a park might look like this:</p>
<p>/Canada/BC/Vancouver/StanleyPark/ThirdBeach</p>
<p>Though its syntax is analogous to a file or directory structure, a key difference between XPath and earlier similar languages is that XPath specifies a route, rather than pointing to a specific set or sequence of characters, words, or other elements.</p>
<p>Similarly, if you wanted to locate the price of a particular line item in a purchase order, your XPath location path might look like this:</p>
<p>/PurchaseOrder/item[name=&#8217;Leaf blower&#8217;]/price</p>
<p>A basic XPath expression can consist of one or more location paths. An XPath location path is essentially a description of how to get from the current location to another one. It is made up of a series of location steps separated by a delimiting character. A location step can be composed of an axis, a node test, and a predicate, which are expressed as follows:</p>
<p>axis_name/node_test[predicate]</p>
<p>The axis specifies a route through the schema tree starting from a particular context node. The route is defined in terms of a list of nodes reached from the context node. The node test then selects a set of nodes using the selected axis. Expressions use predicates to further filter the set of nodes selected. For example, the following expression would return the Price child of the second occurrence of PurchaseOrder/Item within an XML document:</p>
<p>PurchaseOrder/Item[2]/Price</p>
<p>If a predicate is used to filter a node in an XPath expression, the node to which the predicate applies is known as the context node. You can access the context node directly using the expression &#8220;.&#8221;, which is the value of the select attribute within a &lt;xsl:value-of&gt; statement.</p>
<p>In all of the above examples, the XPath expressions are relative to the starting location. In XPath, the current node is the starting point where the location addressing begins at runtime. A node becomes the current node when it is processed using an &lt;xsl:apply-templates&gt; or &lt;xsl:for-each&gt; statement. You can access the current node directly using the current() function. If within an XPath expression, a predicate is applied to the current node, then the current node is also the context node and you can access it directly using the expression &#8220;.&#8221;.</p>
<p>In addition to the context node, current node, and location paths, XPath applies two other key concepts: the hierarchical tree structure in XML documents and logical relationships, such as ancestor, attribute, child, parent, and self, which are defined in the XML Information Set specification from the W3C.</p>
<p>source : <a rel="nofollow" href="http://developer.capeclear.com/7_beta/help/index.jsp?topic=/com.capeclear.eclipse.studiohelp/studio/wstransform-introductiontoxpathandxslt.html">http://developer.capeclear.com/7_beta/help/index.jsp?topic=/com.capeclear.eclipse.studiohelp/studio/wstransform-introductiontoxpathandxslt.html</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>SharePoint and CSS</title>
		<link>http://style.indelv.com/sharepoint-and-css-2.html</link>
		<pubDate>Mon, 03 Mar 2008 23:29:44 +0000</pubDate>
		<description><![CDATA[Heather Soloman writes about a several important and helpful points in this article on using SharePonint and CSS.
&#8220;SharePoint utilizes CSS quite heavily, and it is both a curse and a blessing.   Since nearly all of the SharePoint 2003 UI is hard coded in the site definitions,  CSS provides one of the best [...]]]></description>
			<content:encoded><![CDATA[<p>Heather Soloman writes about a several important and helpful points in this article on using SharePonint and CSS.<br />
&#8220;SharePoint utilizes CSS quite heavily, and it is both a curse and a blessing.   Since nearly all of the SharePoint 2003 UI is hard coded in the site definitions,  CSS provides one of the best ways to update the UI.  But the SharePoint CSS  is also pretty unruly and can be quite daunting at first glance. Let&#8217;s go ahead  and get the numbers out on the table.</p>
<p>For a SharePoint 2003 Portal and WSS install, there are 7 separate style  sheets (excluding themes), totaling to 7,403 lines of code and 1,227 style  statements.   Ouch! Luckily some of that we can slash off  pretty quick. Four of the seven style sheets I have yet to ever have to edit to  affect a site (Menu.css, OWSmac.css, OWSnocr.css, Paystub.css).   The other three are pretty easy:</p>
<ul>
<li><strong>SPS.css</strong>:  SharePoint 2003 Portal style sheet</li>
<li><strong>OWS.css</strong>: SharePoint 2003 Portal style sheet AND Windows   SharePoint Services style sheet</li>
<li><strong>OWSPERS.css</strong>: SharePoint 2003 Portal Personal Sites (My Sites)   style sheet.<br />
OWSPERS.css is a combination of a copy of SPS.css and OWS.css with a few   things tweaked here and there.  You can condense the style statements   in OWSPERS.css to something more manageable and less repetitive.   <a rel="nofollow" href="http://heathersolomon.com/blog/archive/2005/10/21/2655.aspx">I tell   you how here</a>.</li>
</ul>
<p>SPS.css and OWS.css have a few quirks. There are style selectors that are  repeated in each.  In some cases, the duplicate styles are not connected  and control WSS and Portal separately, but in other cases the two are connected  and what you have in one can possibly override the other, making for a confusing  and frustrating situation.   Additionally, the styles may share the  same selector, but list different properties in the declaration.</p>
<p>When a portal page is rendered, it pulls in several style sheets, in this  order 1) OWS.css; 2) MENU.css; 3) SPS.css.</p>
<p>When a WSS site is rendered, it pulls in the OWS.css style sheet and then the  theme style sheet if a theme has been applied to a site.&#8221;</p>
<p>Read the <a rel="nofollow" href="http://www.heathersolomon.com/blog/articles/AlterSPCSS.aspx" title="SharePoint and CSS">full article at the author&#8217;s personal blog</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Cascading Style Sheets Considered Harmful?</title>
		<link>http://style.indelv.com/cascading-style-sheets-considered-harmful.html</link>
		<pubDate>Tue, 01 Jan 2008 23:41:56 +0000</pubDate>
		<description><![CDATA[HTML wasn&#8217;t designed as a page layout language, but over the years presentation elements and attributes crept in. Tags that affect how a document is displayed became mixed with tags that define the document&#8217;s structure. The &#60;font&#62; tag became ubiquitous, as did the use of tables for page layout. Almost from the beginning, HTML for [...]]]></description>
			<content:encoded><![CDATA[<p>HTML wasn&#8217;t designed as a page layout language, but over the years presentation elements and attributes crept in. Tags that affect how a document is displayed became mixed with tags that define the document&#8217;s structure. The &lt;font&gt; tag became ubiquitous, as did the use of tables for page layout. Almost from the beginning, HTML for document presentation was almost inextricably intertwined with HTML for document structure. This led to endemic coding errors, such as the improper use of &lt;hx&gt; tags for their presentation effects rather than their intended use, which is to provide structure to a document.Cascading Style Sheets are the solution to this confusion. CSS allows you to define the presentation of each element. It goes even further than that; you can define the presentation (or style) of a whole set of elements, or of selected elements. For example, you could define the first paragraph in a document as having a 10% larger font than the following paragraphs. CSS provides a complex set of ways to select elements, and a rich set of properties that can be set for each element.</p>
<p>Like most things in life, though, cascading style sheets have both advantages and disadvantages.</p>
<h3> CSS Advantages</h3>
<p>1.</p>
<p>Separates content from presentation. What happens when you want to change the margins on all the pages of your site? If you use tables for layout, then you have to change every page. With CSS, just change the default style of the &lt;body&gt; tag. Instead of changing all pages, you only need to change one style sheet. Using CSS makes site-wide presentation changes a snap. That allows you to spend your time on page content and structure, not presentation.<br />
2.</p>
<p>Replaces frames. A fundamental Web design rule is frames are bad. They can help site navigation, but even in the best case problems remain: pages can&#8217;t be bookmarked, and it&#8217;s impossible to specify a set of frames as a link destination. CSS&#8217;s ability to give elements a fixed or absolute position allow Web designers to do away with frames; the frame is now part of the page itself.<br />
3.</p>
<p>Graceful degradation. A site that uses CSS well will be just as usable on browsers that don&#8217;t implement CSS as on those that do. The site might not appear the same, but all the important information will be present. This &#8220;graceful degradation&#8221; was built into CSS by its designers, and is an example of excellent design.</p>
<p>Ah, if only it were all this good.<br />
CSS Disadvantages</p>
<p>1.</p>
<p>Fails as a frame replacement. While eliminating frames is a noble idea, it&#8217;s a goal that has not yet been reached. As of this writing (2002-01-24), CSS is a failure as a replacement for frames, due to broken CSS implementations in recent browsers (Amaya 5.3, Internet Explorer 6.0, K-meleon 0.6, Netscape 6.1, Opera 6.0).</p>
<p>To be specific, try creating an element with a fixed position that includes a link to a named anchor. None of the browsers listed above followed the link &amp; rendered the resulting page correctly; does your browser?</p>
<p>This problem should be remedied in time, but I suspect that CSS fails as a frame replacement for another reason. Consider a site with one navigation frame and one content frame. If I understand CSS correctly, the contents of the navigation frame must be replicated in each of the content pages. That can lead to a maintenance nightmare. The situation can be worse: consider a navigation frame that offers three alternative navigation pages, such as a table of contents, a subject index, and a search page. Must each content page have three different versions, one per navigation page? Yow! The headache of exponential potential!<br />
2.</p>
<p>A great power. Like any design tool, CSS requires practice and experience to use well. It offers great control over presentation; however, the more control a Web designer has over presentation, the more ways that designer has to make ugly and unusable documents. With great power comes great responsibility.</p>
<p>Consider the useful CSS Reference, 3rd edition at the House of Style. This edition is fine, but a previous edition used a style sheet that assigned the same background color to all header elements. This made it hard to distinguish headings from subheadings, since the primary visual cue (background color) made headers appear more similar, not less. (Here&#8217;s a demonstration of the problem, and a non-CSS version of the same.) This is the kind of problem style sheets were supposed to solve, not exacerbate. If a company that makes its living from CSS could make such a simple CSS mistake, what hope is there for amateur proficiency?<br />
3.</p>
<p>CSS is not designed for horizontal layouts. CSS&#8217;s page layout model is to fill the page from the top down, flowing additional content off the bottom of the visible page. This vertical bias has its drawbacks. It&#8217;s not possible to make a multicolumn layout that scrolls new columns in from the side when needed. Also, unusual sites such as Scott McCloud&#8217;s Daily Improv (a horizontally scrolling comic) have to rely on HTML tricks to achieve their layouts.<br />
4.</p>
<p>Hard to retrofit. It&#8217;s possible to retrofit a site with CSS, but when you have a site with almost three hundred HTML files containing over eighty thousand elements, visions of CSS become nightmares of editing hell.</p>
<p>Using CSS pays off when it&#8217;s a part of a site&#8217;s design from the planning stage on. Retrofitting a site, on the other hand, can involve more than simply peppering pages with class=&#8221;hot-quote&#8221; attributes. Converting a layout to CSS invariably requires adding new HTML elements (usually divs). So we&#8217;re still mixing semantic and presentation markup, which CSS was intended to separate.<br />
5.</p>
<p>Makes downloading pages harder. If you want to save a copy of a Web page for offline viewing, you&#8217;ll have to do more work if the page links to style sheets. To get the page as it&#8217;s presented in your browser, you have to download not only the page&#8217;s HTML and the style sheets it links to, but also all of the style sheets they import, and so on down the chain of @import statements. Determining style sheet dependencies is a task that, while simple, must currently be done manually.<br />
6.</p>
<p>Wastes time. Time spent twiddling style sheets is time not spent improving site content. How many people go to a site just to look at the pretty design? And what percent of those who do will have a reason to return? Content gives them a reason; design doesn&#8217;t.</p>
<p>Conclusion</p>
<p>Are cascading style sheets harmful? I can&#8217;t give a sage answer, since I&#8217;ve only been using them for a week or two, and there are CSS topics I&#8217;ven&#8217;t yet explored (e.g., printing). However, from what I have learned, I&#8217;ll offer this: CSS in moderation can be a good thing, but extensive use of CSS is harmful. It&#8217;s easy to improve page readability by modifying nothing more than the margins of the &lt;body&gt; and &lt;p&gt; elements. However, when you find yourself spending an entire day getting a style sheet just right, ask yourself what you could have done with the time instead: Writing new pages? Improving site navigation? Giving people a new reason to visit your site, rather than eye candy? One focuses on design at the expense of content, and CSS gives Web site designers a tempting tool for playing with design ideas. One must remember that search engines index content, not design.</p>
<p>Consider this lesson:</p>
<p>A student went to see his master. As he walked along a riverbank, he flushed a fox from its den. So startled was the student that he lost his footing and fell into the mud. With distaste he picked himself up from the muck and cleaned himself as best he could, then hurried on to his master&#8217;s house. When the master saw his student, he asked why the student cast his gaze downward. The student related the story of the fox, and apologized that he was no longer presentable. Then you must find a new master, said the wise man, for I do not know how to teach cloth.</p>
<p>Upon hearing these words, the student was enlightened.</p>
<p>source : <a rel="nofollow" href="http://www.rdrop.com/~half/Creations/Writings/TechNotes/CSS.html">http://www.rdrop.com/~half/Creations/Writings/TechNotes/CSS.html</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>Does XML Query Reinvent the Wheel?</title>
		<link>http://xml.indelv.com/does-xml-query-reinvent-the-wheel.html</link>
		<pubDate>Sat, 29 Dec 2007 01:23:37 +0000</pubDate>
		<description><![CDATA[Debates on the XML-DEV and XSL mailing lists over the last two weeks concern the futures of XSLT, XPath, and, the latest addition to the W3C XML toolkit, XML Query. There are no signs of these debates ending this week. Discussion on XML-DEV about the design of XML Query rages on.
Reinventing the Wheel
The focus of [...]]]></description>
			<content:encoded><![CDATA[<p>Debates on the XML-DEV and XSL mailing lists over the last two weeks concern the futures of XSLT, XPath, and, the latest addition to the W3C XML toolkit, XML Query. There are no signs of these debates ending this week. Discussion on XML-DEV about the design of XML Query rages on.</p>
<h3>Reinventing the Wheel</h3>
<p>The focus of last week&#8217;s XML-Deviant was the concern expressed by several XML-DEV contributors that the interdependence of several W3C specifications may have exceeded the dictates of software reuse and become instead a tangled mess. Suggestions were floated for a refactoring of several standards in order to separate the component parts.</p>
<p>This debate has focused on XML Query in particular this week, following Evan Lenz&#8217;s claim that the overlap between XML Query and XSLT is so great that they are not really separate languages.</p>
<p>After reviewing the XQuery spec, I&#8217;m concluding that the overlap between XQuery and XSLT is far too great for the W3C to reasonably recommend them both as separate languages. If XSLT (or XSLT 2.0) isn&#8217;t considered adequate as an XML query language by itself, then the development of an XML query language should still build from the same semantic and syntactic base as XSLT.</p>
<p>Lenz has fully documented his opinion in a paper he&#8217;ll be presenting at the XSLT-UK conference in April. The most obvious overlap between XML Query and XSLT is their shared use of XPath. Indeed, the XML Query and XSLT Working Groups are coordinating on the development of XPath 2.0. XPointer took a similar approach, layering itself on XPath 1.0. At first glance this seems a reasonable approach.</p>
<p>However, Lenz believes that the overlappings go deeper than sharing XPath.</p>
<p>The &#8220;navigation part&#8221; is only a small part of the overlap. The result construction mechanisms, the flow control mechanisms, the variable binding mechanisms &#8212; these are all virtually indistinguishable (other than syntax) from XSLT&#8217;s mechanisms for doing the same. I demonstrate all of this in my paper.</p>
<p>The introduction of datatypes is making its way not only into XQuery but the XPath 2.0 and XSLT 2.0 requirements. Regardless of whether datatypes are only part of query or are part of both query and transformations, there should be a common semantic and syntactic core for XSLT and XQuery, rather than an invention of an entirely new syntax.</p>
<p>Lenz characterized XML Query as a subset of XSLT (no template rules, no abbreviated XPath axes) with the addition of data typing, and he claimed that this should be the model upon which XML Query is developed. Noting concerns over the optimizability of XSLT, Lenz pointed out that the XSLT 2.0 requirements refer to an XPath subset that could be used to develop XML Query.</p>
<p>Read full story at XML.com <a rel="nofollow" href="http://www.xml.com/pub/a/2001/02/28/deviant.html">http://www.xml.com/pub/a/2001/02/28/deviant.html</a></p>
]]></content:encoded>
			</item>
		<item>
		<title>9 Ways to Misunderstand Web Standards</title>
		<link>http://accessibility.indelv.com/9-ways-to-misunderstand-web-standards.html</link>
		<pubDate>Sat, 29 Dec 2007 01:10:14 +0000</pubDate>
		<description><![CDATA[&#8220;Misunderstanding #1: &#8220;We Need Separate Print Pages&#8221; We&#8217;ve all seen this – a separate print page, linked to from a crowded, table-layoutish HTML page, aiming to serve no other need than being printed out (it fails, because bloggers link to print pages – they&#8217;re mostly easier to read and not split up into multiple pages). [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Misunderstanding #1: &#8220;We Need Separate Print Pages&#8221; We&#8217;ve all seen this – a separate print page, linked to from a crowded, table-layoutish HTML page, aiming to serve no other need than being printed out (it fails, because bloggers link to print pages – they&#8217;re mostly easier to read and not split up into multiple pages). The good thing about these pages is that the user gets an instant impression of what the print-out will look like. Of course, the right way to do this would be to serve a separate stylesheet for medium print, and if the browser does it right, it will show the visitor a print preview.</p>
<p>This is old news, but why do I consider it noteworthy? Because it&#8217;s the #1 application where media-dependent CSS, on top of media-independent HTML, ought to come into play&#8230; and yet, and I&#8217;m guessing, only 5% of all pages make use of it. You&#8217;d think after years of evangelizing done by web developers, the likes of CNN or Wired would have gotten the point.&#8221;</p>
<p>Read the <a rel="nofollow" href="http://blogoscoped.com/archive/2006-06-23-n15.html" target="_blank" title="9 ways to misunderstand web standards">full article hosted by the Google Blogoscope</a>.</p>
]]></content:encoded>
			</item>
	</channel>
</rss>
