<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sol3.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XML</title><link>http://sol3.net/files/folders/xml/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.2)</generator><item><title>Handling gigantic XML files</title><link>http://sol3.net/files/folders/xml/entry2964.aspx</link><pubDate>Fri, 15 Dec 2006 22:42:42 GMT</pubDate><guid isPermaLink="false">644afa0e-0337-43d4-a558-4e65253e0d05:2964</guid><dc:creator>Keith Barrows</dc:creator><slash:comments>0</slash:comments><description>&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;font color="#0000ff" face="Arial" size="2"&gt;My XML is not a standard XML layout (standard = parent, 
child, grandchild, etc data).&amp;nbsp; The client has taken all 1400 tables and called 
them generically "a category".&amp;nbsp; A category has a name (table name in this case) 
and a GUID.&amp;nbsp; Each category is broken into attributes (column names in this 
case).&amp;nbsp; Then the attributes are joined to the categories via a many-to-many join 
table.&amp;nbsp; So, we've condensed (screwed up) the relational layout into 3 tables.&amp;nbsp; 
This is dumped to a schema.xml with &amp;lt;ATTRIBUTES&amp;gt;, &amp;lt;CATEGORIES&amp;gt; &amp;amp; 
&amp;lt;CATEGORY_ATTRIBUTES&amp;gt; as the main sections.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;font color="#0000ff" face="Arial" size="2"&gt;The data is then exported from all 1400 tables into a 
single xml document that is comprised of "data point" nodes.&amp;nbsp; (I do not have an 
XSD of any sort so am waiting patiently for my system to load the 8+GB file).&amp;nbsp; I 
am assuming it is structured something like:&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;font color="#0000ff" face="Arial" size="2"&gt;&amp;lt;NODE Category="guid" Attribute="guid" Value="......." 
/&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;font color="#0000ff" face="Arial" size="2"&gt;There is probably more to it than that but let's go with 
this right now.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;font color="#0000ff" face="Arial" size="2"&gt;I now need to write an app that reads in the schema.xml 
file (10KB in size) and display the Table (category) list.&amp;nbsp; User selects a table 
and gets the column (attribute) list.&amp;nbsp; I then take that category/attribute and 
have to search the data.xml doc for all nodes with the same value.&amp;nbsp; The idea is 
to give a developer a look into the data, let them pick what the PK (unique 
value) column should be and see if there are dups.&amp;nbsp; If there are it is a bad 
data.xml file...&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div align="left"&gt;&lt;span class="145391318-14122006"&gt;&lt;font color="#0000ff" face="Arial" size="2"&gt;Any suggestions?&amp;nbsp; The logic is pretty straight forward.&amp;nbsp; I 
just want the user experience to be a little better than molasses in a cryogenic 
tank...&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;</description><enclosure url="http://sol3.net/files/folders/2964/download.aspx" length="60515" type="application/x-zip-compressed" /></item><item><title>Testing DataSet -&gt; XML - DataSet</title><link>http://sol3.net/files/folders/xml/entry1369.aspx</link><pubDate>Tue, 25 Jul 2006 16:45:09 GMT</pubDate><guid isPermaLink="false">644afa0e-0337-43d4-a558-4e65253e0d05:1369</guid><dc:creator>Keith Barrows</dc:creator><slash:comments>0</slash:comments><description /><enclosure url="http://sol3.net/files/folders/1369/download.aspx" length="16586" type="application/x-zip-compressed" /></item></channel></rss>