<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XSLT</title>
	<atom:link href="http://www.povert.com/2005/11/22/xslt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.povert.com/2005/11/22/xslt/</link>
	<description>It&#039;s Pronounced &#34;Pah-vert.&#34;  You povert.</description>
	<lastBuildDate>Thu, 13 Oct 2011 10:11:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Scooter</title>
		<link>http://www.povert.com/2005/11/22/xslt/comment-page-1/#comment-337</link>
		<dc:creator>Scooter</dc:creator>
		<pubDate>Wed, 23 Nov 2005 14:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.povert.com/2005/11/22/xslt/#comment-337</guid>
		<description>The css is usually applied sort of after the fact - that is to say, the XSL is used for making major structual changes to your XML/XHTML, including templating/recursion and scripted data manipulation, and then the css is used for adding UI features.  An example - I have a chunk of XML data that I want to turn into a menu/navigation pane - I&#039;m likely to turn it into X/HTML using XSL - divs, various tag names that I can key off of based on the data structure, etc. - and then use the CSS file to add colors, behaviors, borders, etc.  Of course, you can overlap - put some of your javascript in the XSL, put in actual HTML tags other than simple divs and apply colors/etc. - but separating anything that changes the actual display is preferential so you can swap it out later with a simple stylesheet name change if you like.  You can apply the CSS w/in your XSL, so you can parameterize what CSS gets applied.  Works nicely - this one, below, isn&#039;t parameterized, but you could just replace Test.css w/a parameter (as an example).


  stylesheet
  Test.css
</description>
		<content:encoded><![CDATA[<p>The css is usually applied sort of after the fact &#8211; that is to say, the XSL is used for making major structual changes to your XML/XHTML, including templating/recursion and scripted data manipulation, and then the css is used for adding UI features.  An example &#8211; I have a chunk of XML data that I want to turn into a menu/navigation pane &#8211; I&#8217;m likely to turn it into X/HTML using XSL &#8211; divs, various tag names that I can key off of based on the data structure, etc. &#8211; and then use the CSS file to add colors, behaviors, borders, etc.  Of course, you can overlap &#8211; put some of your javascript in the XSL, put in actual HTML tags other than simple divs and apply colors/etc. &#8211; but separating anything that changes the actual display is preferential so you can swap it out later with a simple stylesheet name change if you like.  You can apply the CSS w/in your XSL, so you can parameterize what CSS gets applied.  Works nicely &#8211; this one, below, isn&#8217;t parameterized, but you could just replace Test.css w/a parameter (as an example).</p>
<p>  stylesheet<br />
  Test.css</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.povert.com @ 2012-02-07 04:07:57 -->
