<?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 as a Development Tool</title>
	<atom:link href="http://thetoolsmiths.org/2010/01/22/xslt-as-a-development-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://thetoolsmiths.org/2010/01/22/xslt-as-a-development-tool/</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 02:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jurie Horneman</title>
		<link>http://thetoolsmiths.org/2010/01/22/xslt-as-a-development-tool/comment-page-1/#comment-690</link>
		<dc:creator>Jurie Horneman</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://thetoolsmiths.org/?p=403#comment-690</guid>
		<description>When we were building a toolchain for our quiz game series about a year ago I also looked at XSLT. The idea was: Word 2007 documents are XML (just like OpenOffice docs, as you describe above), and we can transform them to XML for the game engine using XSLT. 

I find XSLT a bit annoying to work with (for the reasons you describe above). I&#039;ve done some things with it, but nothing like this. For this and some other reasons, what we ended up with was a Python tool that reads data from Word 2007 (and later Excel 2007) documents into internal data structures, and then generates C++ header files containing that data. We had to rebuild to refresh data anyway, and given that this was a DS project the time and space savings were not insignificant. Also, it was simpler: we didn&#039;t need any XML or JSON libraries.

Part of why I chose this approach was that I am more familiar with Python than with XSLT or C#, which naturally is kind of an arbitrary thing. However, I honestly don&#039;t know if some of the more complex logic I later had to write to parse Word files (handling invisible text written by translation tools, or especially handling line breaks removed using Track Changes) could have been implemented using XSLT. (But maybe it would have been easier? I don&#039;t know.)

An additional benefit of the route we took is that we could do a lot of preprocessing and especially analysis and error prevention in the tool, which greatly sped up our workflow.</description>
		<content:encoded><![CDATA[<p>When we were building a toolchain for our quiz game series about a year ago I also looked at XSLT. The idea was: Word 2007 documents are XML (just like OpenOffice docs, as you describe above), and we can transform them to XML for the game engine using XSLT. </p>
<p>I find XSLT a bit annoying to work with (for the reasons you describe above). I&#8217;ve done some things with it, but nothing like this. For this and some other reasons, what we ended up with was a Python tool that reads data from Word 2007 (and later Excel 2007) documents into internal data structures, and then generates C++ header files containing that data. We had to rebuild to refresh data anyway, and given that this was a DS project the time and space savings were not insignificant. Also, it was simpler: we didn&#8217;t need any XML or JSON libraries.</p>
<p>Part of why I chose this approach was that I am more familiar with Python than with XSLT or C#, which naturally is kind of an arbitrary thing. However, I honestly don&#8217;t know if some of the more complex logic I later had to write to parse Word files (handling invisible text written by translation tools, or especially handling line breaks removed using Track Changes) could have been implemented using XSLT. (But maybe it would have been easier? I don&#8217;t know.)</p>
<p>An additional benefit of the route we took is that we could do a lot of preprocessing and especially analysis and error prevention in the tool, which greatly sped up our workflow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Ward</title>
		<link>http://thetoolsmiths.org/2010/01/22/xslt-as-a-development-tool/comment-page-1/#comment-689</link>
		<dc:creator>Jeff Ward</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://thetoolsmiths.org/?p=403#comment-689</guid>
		<description>I actually use XSLT 2.0 as a code generator.  .NET&#039;s support for XSLT 2.0 is non-existent, but by using Saxon I can output to several result documents, use complex query functions and use multiple document formats.  It&#039;s very cool.</description>
		<content:encoded><![CDATA[<p>I actually use XSLT 2.0 as a code generator.  .NET&#8217;s support for XSLT 2.0 is non-existent, but by using Saxon I can output to several result documents, use complex query functions and use multiple document formats.  It&#8217;s very cool.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
