473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Long shot

Is it possible to generate an XML schema from XML data?

Dave
Jun 27 '08 #1
3 1205
David Gray wrote:
Is it possible to generate an XML schema from XML data?
Yes, that is possible, most XML editors can do that for you.
The .NET framework SDK also has a tool xsd.exe that can do that for
your, see
<URL:http://msdn2.microsoft.com/en-us/library/x6c1kb0s(VS.80).aspx>
The .NET framework also has a class so that you can do it
programmatically in your .NET application:
<URL:http://msdn2.microsoft.com/en-us/library/system.xml.schema.xmlschemainference.aspx>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jun 27 '08 #2

Downloaded "Liquid XML Studio (Freeware)" but it keeps bombing out
when I try generate the schema. Will have a look for something else.

We've not really adopted .net at this site as yet, in fact most of our
systems are "legacy". I have VS 2005 but am looking for just a quick
win on generating this schema so I can load the data into sql server.

My boss seems to think a 4GL dating from the 1990s is the best way to
consume this data feed.... Argh!!!

Regards
Dave


On Tue, 15 Apr 2008 15:45:39 +0200, Martin Honnen <ma*******@yahoo.de>
wrote:
>David Gray wrote:
>Is it possible to generate an XML schema from XML data?

Yes, that is possible, most XML editors can do that for you.
The .NET framework SDK also has a tool xsd.exe that can do that for
your, see
<URL:http://msdn2.microsoft.com/en-us/library/x6c1kb0s(VS.80).aspx>
The .NET framework also has a class so that you can do it
programmatically in your .NET application:
<URL:http://msdn2.microsoft.com/en-us/library/system.xml.schema.xmlschemainference.aspx>
Jun 27 '08 #3
David Gray wrote:
Is it possible to generate an XML schema from XML data?
There have been many tools which attempted this. It isn't hard to
generate a schema which will validate the sample data. It's
significantly harder to generate a schema which *correctly* models all
the possible variations of the data, if the samples don't cover all of
them (and usually they don't). Generally, these tools will need human
assistance before you'll have a schema that's actually worth using.
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sam | last post by:
Hello Coders I have a question can we have a php script or function to take screen shot for webpage? for example , let the php script take a shot for www.google.com and convert the content...
2
by: Peter Kwan | last post by:
Hi, I believe I have discovered a bug in Python 2.3. Could anyone suggest a get around? When I tested my existing Python code with the newly released Python 2.3, I get the following warning: ...
9
by: Melissa | last post by:
Hi, I'm new to the group and haven't had a chance to read the FAQ, but I have a question that's driving me crazy. If anyone here can help me with this or can point me to another site or...
8
by: gregory_may | last post by:
Is there a way to grab a "Screen Shot" that includes "Tool Tips"? I saw this code someplace, cant remember where. But it doesnt grab "Tool Tips". Is there a better way to do this in .net?...
4
by: Anon | last post by:
Hello All! I have a long string that I need to make sense out of. I have the documentation about what info is between which characters, I just need to somehow parse each 94 character string into...
2
by: jenny22 | last post by:
hi guys this is a very big long shot but im new to all this and was hoping someone out there could assist me. i need to make a program that can determine what the minimum spanning tree of 8 stocks is...
3
by: Simon | last post by:
Dear reader, I have a Snap Shot file located in a folder. Now I like to view the Snap Shot file. First I created a string with the full pathname and Snap Shot file.
16
by: anon.asdf | last post by:
Hi! On a machine of *given architecture* (in terms of endianness etc.), I want to access the individual bytes of a long (*once-off*) as fast as possible. Is version A, version B, or version...
5
by: bdy120602 | last post by:
Is it possible, when a user or viewer of your Web page, prints or takes a screen shot of a Web page with mousover (roll-over) text in it, to have that text printed or captures as part of the screen...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.