<?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>web development helpdesk &#187; Transformer</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/transformer/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>How to transform XML using XSL?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-transform-xml-using-xsl?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-transform-xml-using-xsl</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-transform-xml-using-xsl#comments</comments>
		<pubDate>Tue, 10 Mar 2009 04:58:09 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[transform]]></category>
		<category><![CDATA[Transformer]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=839</guid>
		<description><![CDATA[Transforming XML in Java is achieved using a Transformer. To use an XSL file for the transformation involves first creating Templates instance which can then be used to create the required Transformer. TransformerFactory factory = TransformerFactory.newInstance(); Templates template = factory.newTemplates( new StreamSource(new FileInputStream(xslPath))); Transformer transformer = template.newTransformer(); Source source = new StreamSource(new FileInputStream(xmlInputPath)); Result result [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-transform-xml-using-xsl/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create XML String from a DOM Document?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-create-xml-string-from-a-dom-document?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-xml-string-from-a-dom-document</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-create-xml-string-from-a-dom-document#comments</comments>
		<pubDate>Tue, 10 Mar 2009 03:54:45 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[Document]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[StringWriter]]></category>
		<category><![CDATA[Transformer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=834</guid>
		<description><![CDATA[A Transformer can be used to write the XML for a DOM Document to a String. As the name implies a Transformer transforms a Source object into a Result, in this case the Source is the DOM Document, and the Result is a StringWriter (which the resulting XML String can be extracted from). TransformerFactory factory [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-create-xml-string-from-a-dom-document/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to save a XML DOM Document to a file?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-save-a-xml-dom-document-to-a-file?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-save-a-xml-dom-document-to-a-file</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-save-a-xml-dom-document-to-a-file#comments</comments>
		<pubDate>Tue, 10 Feb 2009 03:21:56 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[Document]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[Transformer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=830</guid>
		<description><![CDATA[A Transformer can be used to write a the XML for a DOM Document to a file. As the name implies a Transformer transforms a Source object into a Result, in this case the Source is the DOM Document, and the Result is an XML file. TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); Result [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-save-a-xml-dom-document-to-a-file/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I remove whitespace from an XML Document?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-remove-whitespace-from-an-xml-document?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-remove-whitespace-from-an-xml-document</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-remove-whitespace-from-an-xml-document#comments</comments>
		<pubDate>Mon, 13 Oct 2008 00:46:47 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[Transformer]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=455</guid>
		<description><![CDATA[Use an XSL transformation with the xsl:strip-space instruction. &#60;xsl:stylesheet version=&#34;1.0&#34; xmlns:xsl=&#34;http://www.w3.org/1999/XSL/Transform&#34;&#62; &#60;xsl:output method=&#34;xml&#34; omit-xml-declaration=&#34;yes&#34;/&#62; &#60;xsl:strip-space elements=&#34;*&#34;/&#62; &#60;xsl:template match=&#34;@*&#124;node()&#34;&#62; &#60;xsl:copy&#62; &#60;xsl:apply-templates select=&#34;@*&#124;node()&#34;/&#62; &#60;/xsl:copy&#62; &#60;/xsl:template&#62; &#60;/xsl:stylesheet&#62; TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer( new StreamSource(&#34;strip-space.xsl&#34;)); DOMSource source = new DOMSource(document); StreamResult result = new StreamResult(System.out); transformer.transform(source, result); Related posts: How to save a XML DOM Document [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-remove-whitespace-from-an-xml-document/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

