Nylyst;
I'm glad you are working on NAXML.
I've just started working with it and don't know much about NACS standard.
I was able to read non-NAXML version of Fuelsdoc from DTN but it still
requires the DTD in the same directory with the XML files.
I'll try your suggestion and will let you know.
Thanks
Bill
<nylyst@gmail.comwrote in message
news:1154454684.578040.284930@s13g2000cwa.googlegr oups.com...
Quote:
Bill,
I am also working on loading NAXML journals into sql 2000/2005. To
use .ReadXml() you need to Import System.Data.SqlClient and create a
new DataSet. Then just call:
>
DataSetName.ReadXml("c:\path\to\your\file.xml")
>
I did something similar trying to generate a valid schema file to allow
me to bulkload using SQLXML (much simpler and more robust/scaleable, if
I can get the schema down.) That is to say, once I executed
.ReadXml(), I loop through the dataTables in the dataset and the
columns and their properties in each table. I used a streamwriter to
ouptut this to a text file and generated the necessary SQL tables and
am finishing up the schema now.
>
Althought I haven't worked with the FuelsDoc spec yet, the process
should be very similar. While having the DTD and .xsd files for the
spec are handy for reference, they're poorly, if at all, documented and
do absolutely nothing to help in bulk loading your data.
>
>
HTH,
nylyst
>
|