<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Looking for a modern DOM/XSLT/Xpath implementation in C</title>
	<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C/</link>
	<description>Comments on Ask MetaFilter post Looking for a modern DOM/XSLT/Xpath implementation in C</description>
	<pubDate>Tue, 14 Jun 2005 16:03:25 -0800</pubDate>
	<lastBuildDate>Tue, 14 Jun 2005 16:03:25 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Looking for a modern DOM/XSLT/Xpath implementation in C</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C</link>	
		<description>My boss has tasked me with tracking down a modern XML library written in C.  The library has to run on (at least) RHEL3, Windows, and Solaris, but more is better. &lt;br /&gt;&lt;br /&gt; I&apos;ve seen &lt;a href=&quot;http://www.tdom.org/&quot;&gt;tDOM&lt;/a&gt;, but it doesn&apos;t look like it&apos;s as up to date as we need.  However, I&apos;m not too up on the standards (that&apos;s part of my quest) so I don&apos;t know for sure.  It&apos;s possible that &lt;a href=&quot;http://www.ioplex.com/~miallen/domc/&quot;&gt;domc&lt;/a&gt; is what I&apos;m looking for, but, again, I lack the knowledge of the standards required to judge it.&lt;br&gt;
&lt;br&gt;
Can someone help direct my inquiries here?  Are there other options?  How would I best evaluate them?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.19931</guid>
		<pubDate>Tue, 14 Jun 2005 15:47:26 -0800</pubDate>
		<dc:creator>ChrisR</dc:creator>
		
			<category>xml</category>
		
			<category>programming</category>
		
			<category>api</category>
		
			<category>xpath</category>
		
			<category>xslt</category>
		
			<category>dom</category>
		
			<category>w3c</category>
		
	</item> <item>
		<title>By: togdon</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326602</link>	
		<description>The one-two-three punch of &lt;a href=&quot;http://xmlsoft.org/&quot;&gt;libxml&lt;/a&gt;/&lt;a href=&quot;http://xmlsoft.org/XSLT/&quot;&gt;libxslt&lt;/a&gt;/&lt;a href=&quot;http://gdome2.cs.unibo.it/&quot;&gt;libgdome&lt;/a&gt;?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326602</guid>
		<pubDate>Tue, 14 Jun 2005 16:03:25 -0800</pubDate>
		<dc:creator>togdon</dc:creator>
	</item><item>
		<title>By: funkbrain</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326640</link>	
		<description>I&apos;m happy with &lt;a href=&quot;http://sourceforge.net/projects/tinyxml/&quot;&gt;TinyXml&lt;/a&gt;, though it&apos;s C++.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326640</guid>
		<pubDate>Tue, 14 Jun 2005 17:01:20 -0800</pubDate>
		<dc:creator>funkbrain</dc:creator>
	</item><item>
		<title>By: jumpsuit_boy</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326678</link>	
		<description>Use the big daddy &lt;a href=&quot;http://expat.sourceforge.net/&quot;&gt;http://expat.sourceforge.net/&lt;/a&gt;&lt;br&gt;
or xerces (xml) and Xalan (xslt) of apache fame &lt;a href=&quot;http://xml.apache.org/index.html&quot;&gt;http://xml.apache.org/index.html&lt;/a&gt;.  &lt;br&gt;
&lt;br&gt;
all are written in c or c++ and compile on unix and windows</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326678</guid>
		<pubDate>Tue, 14 Jun 2005 18:03:09 -0800</pubDate>
		<dc:creator>jumpsuit_boy</dc:creator>
	</item><item>
		<title>By: phatboy</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326685</link>	
		<description>I use libxml without (major) problems under Linux, Solaris and Windows.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326685</guid>
		<pubDate>Tue, 14 Jun 2005 18:11:06 -0800</pubDate>
		<dc:creator>phatboy</dc:creator>
	</item><item>
		<title>By: cmonkey</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326782</link>	
		<description>I use libxml2 on Linux, as well.  It&apos;s easy to work with, portable, it has both DOM and SAX interfaces, and it&apos;s MIT licensed, so it&apos;s very permissive.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326782</guid>
		<pubDate>Tue, 14 Jun 2005 20:51:25 -0800</pubDate>
		<dc:creator>cmonkey</dc:creator>
	</item><item>
		<title>By: azazello</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326824</link>	
		<description>As far as I know, Xerces and Expat are the most popular. Xerces is provided under the Apache license and Expat is provided as-is.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326824</guid>
		<pubDate>Tue, 14 Jun 2005 23:50:52 -0800</pubDate>
		<dc:creator>azazello</dc:creator>
	</item><item>
		<title>By: hattifattener</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326827</link>	
		<description>Expat is kind of the universally-available default. Experience at my workplace has been that Xerces/Xalan is a real pain to work with (massively overengineered?) and libxml2 is what we&apos;re moving to instead (except for where we&apos;re sticking to expat, or totally proprietary stuff). It&apos;s possible that we just don&apos;t need what Xerces is designed to provide.&lt;br&gt;
&lt;br&gt;
Re &quot;how should I evaluate them&quot;: first figure out what you need. Do you want to write something that builds and manipulates an in-memory representation of the XML tree (a DOM or whatever), or something that feeds into/out of your existing data model? Do you need DTD or schema checking? External entities? XSLT? Can your whole document fit in RAM or do you need to stream stuff? etc.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326827</guid>
		<pubDate>Wed, 15 Jun 2005 00:09:05 -0800</pubDate>
		<dc:creator>hattifattener</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326865</link>	
		<description>are you sure you need c?  in my experience, java libraries tend to be maintained more often, especially in obscurer corners of standards.  of course, you may need c if this is for linking directly, but with something xslt or svg (which you don&apos;t mention) a standalone solution may be sufficient.&lt;br&gt;
&lt;br&gt;
also you sounds worryingly vague about your requirements.  do you understand the difference between sax and dom?  do you want to a quick and easy solution to for small datasets (dom), or are you looking to process large structures/volumes efficiently (sax)?  if you&apos;re thinking of xsl, have you actually tried using it (it&apos;s cool, but has a steep learning curve if you&apos;re not used to functional / declarative programming).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326865</guid>
		<pubDate>Wed, 15 Jun 2005 03:38:42 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: ChrisR</title>
		<link>http://ask.metafilter.com/19931/Looking-for-a-modern-DOMXSLTXpath-implementation-in-C#326908</link>	
		<description>Yes, we strictly require c.  This would have to integrate directly with existing C code, without the overhead of a JVM.&lt;br&gt;
&lt;br&gt;
Also, we&apos;re working mainly with small data sets -- XML descriptors and messages, specifically, that will be handled entirely in-memory.  At the moment, we have a home-grown DOM 1.5-ish (yep, that&apos;s what I meant) xml parser with a good, if incomplete, xpath library, and for the stylesheets we&apos;re regrettably using Java... which has performance characteristics that are not going to remain acceptable for long, in the situation that we&apos;re using it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.19931-326908</guid>
		<pubDate>Wed, 15 Jun 2005 06:52:31 -0800</pubDate>
		<dc:creator>ChrisR</dc:creator>
	</item>
	</channel>
</rss>
