<?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: How exactly does one company pass an xml document?</title>
	<atom:link href="http://votexml.org/how-exactly-does-one-company-pass-an-xml-document/feed/" rel="self" type="application/rss+xml" />
	<link>http://votexml.org/how-exactly-does-one-company-pass-an-xml-document/</link>
	<description>xml reader</description>
	<lastBuildDate>Sun, 10 Jan 2010 22:52:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ratchetr</title>
		<link>http://votexml.org/how-exactly-does-one-company-pass-an-xml-document/comment-page-1/#comment-146</link>
		<dc:creator>Ratchetr</dc:creator>
		<pubDate>Sun, 27 Dec 2009 22:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://votexml.org/?p=16#comment-146</guid>
		<description>There doesn&#039;t seem to be a hard and fast answer rule here. I&#039;ve been through this a couple times, both as company X and Y., and I&#039;ve seen (and used) a couple different solutions. DTD&#039;s are a bit dated, I think. I vaguely remember getting one  a few years back. My preference is the schema.

Remember that the DTD or schema only defines the syntax of the XML document, not the semantics. The schema might tell you that there&#039;s a field called ResidualQuota that&#039;s a double and occurs exactly once. But what does ResidualQuota mean? Well, it means nothing here, I just made it up. But if you&#039;re adding it to your XML, it probably has an obvious meaning to you. EVERYONE knows what a ResidualQuota means, right? Maybe everyone in company X, but maybe not at Company Y. And even if they do know what it means, they might not be sure if the value is dollars or cents or fahrenheit or centigrade. Or maybe it&#039;s in megaflops?

So you usually need a document that defines the semantics of the XML. That document might just include the schema in an appendix.

Either company X writes the document: This is what we&#039;re giving you. Or company Y writes it: This is what we demand you give us.</description>
		<content:encoded><![CDATA[<p>There doesn&#8217;t seem to be a hard and fast answer rule here. I&#8217;ve been through this a couple times, both as company X and Y., and I&#8217;ve seen (and used) a couple different solutions. DTD&#8217;s are a bit dated, I think. I vaguely remember getting one  a few years back. My preference is the schema.</p>
<p>Remember that the DTD or schema only defines the syntax of the XML document, not the semantics. The schema might tell you that there&#8217;s a field called ResidualQuota that&#8217;s a double and occurs exactly once. But what does ResidualQuota mean? Well, it means nothing here, I just made it up. But if you&#8217;re adding it to your XML, it probably has an obvious meaning to you. EVERYONE knows what a ResidualQuota means, right? Maybe everyone in company X, but maybe not at Company Y. And even if they do know what it means, they might not be sure if the value is dollars or cents or fahrenheit or centigrade. Or maybe it&#8217;s in megaflops?</p>
<p>So you usually need a document that defines the semantics of the XML. That document might just include the schema in an appendix.</p>
<p>Either company X writes the document: This is what we&#8217;re giving you. Or company Y writes it: This is what we demand you give us.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
