<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CodeAngel.org &#187; XSLT</title>
	<atom:link href="http://codeangel.org/articles/tag/xslt/feed" rel="self" type="application/rss+xml" />
	<link>http://codeangel.org</link>
	<description>Faith in Knowledge</description>
	<lastBuildDate>Mon, 07 Dec 2009 00:17:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XSL Transformation with JAXB</title>
		<link>http://codeangel.org/articles/xslt-transformation-with-jaxb.html</link>
		<comments>http://codeangel.org/articles/xslt-transformation-with-jaxb.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 04:53:44 +0000</pubDate>
		<dc:creator>Chad Emrys Minick</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JAXB]]></category>
		<category><![CDATA[JAXP]]></category>
		<category><![CDATA[Servlets]]></category>
		<category><![CDATA[XSL]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://codeangel.org/?p=24</guid>
		<description><![CDATA[The goal here is to take the output of a JAXB Marshaller and pass it straight to an xslt processor like JAXP.  The issue with this is that JAXP takes it's input from various sorts of input streams and JAXB marshaller outputs usually in some sort of output stream.  I saw some (bad) solutions about changing an output stream into an input stream and then pass it to JAXP.  eww.  The cool thing about JAXB is that it can marshall into a SAX <a href ="http://java.sun.com/webservices/docs/1.6/api/org/xml/sax/ContentHandler.html">ContentHandler</a>. And there is an implementation of ContentHandler that handles XSL transformations for us! Here is an example of a http servlet that will do an xslt transformation on a JAXB marshalled POJO and dump the results right into into the servlet's output stream:]]></description>
		<wfw:commentRss>http://codeangel.org/articles/xslt-transformation-with-jaxb.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
