OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Need some advice from an XML expert

I've done a lot of reading lately about XML as I've never really had
to work with it, but I've been tasked with developing an XML upload
for the business I support. I'm really surprised at the complexities.

Currently, I have the XML upload completed and it's working with the
various test files that I've created. I developed an XML schema and I
load the test file into a dataset once it passes validation.

There are a couple of things that I don't like about it though, and
I'm wondering if I can make this process better.

For one, I'm not happy with the fact that the xml file needs so much
information regarding namespaces.

This is what the top section of my XML file looks like:

<?xml version="1.0" encoding="utf-8"?>

I don't see why the customers should have to include this stuff in their files.
They would need all those lines and then prefix all of their elements as below.
A single transaction sample is as follows:

          <n:Wire_Transfer_Transaction_Type>Bank to
           <other elements>

It seems to me that when the file is uploaded, I should be able to
validate the file against any schema I like. Does this sound right?
Could I take an XML file that looks like this:

<?xml version="1.0" encoding="utf-8"?>
          <Wire_Transfer_Transaction_Type>Bank to
           <other elements>

And then validate it against my schema? I haven't been able to get a
sample file like that to work, so perhaps I'm wrong, but it seems like
a lot to require of the customers.

Thanks for any advice,

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS