Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have XML meta data from a digital video recorder that a client has asked me to generate a schema for. The XML I have is as follows:

HTML
<gpsindexes>
  <annotation>
    <documentation></documentation>
  </annotation>
  <rhxmltype></rhxmltype>
  <rhxmlversion></rhxmlversion>
  <medianame></medianame>
  <datecreated></datecreated>
  <timecodeoffset></timecodeoffset>
  <gpsindex>
    <lon></lon>
    <lat></lat>
    <altitude></altitude>
    <timecode></timecode>
    <name></name>
    <utctime></utctime>
    <course></course>
    <speed></speed>
    <azimuth></azimuth>
    <dop></dop>
    <fix></fix>
    <satsinuse></satsinuse>
    <geoidht></geoidht>
    <range></range>
    <data></data>
  </gpsindex>
  <gpsindex>
    <lon></lon>
    <lat></lat>
    <altitude></altitude>
    <timecode></timecode>
    <name></name>
    <utctime></utctime>
    <course></course>
    <speed></speed>
    <azimuth></azimuth>
    <dop></dop>
    <fix></fix>
    <satsinuse></satsinuse>
    <geoidht></geoidht>
    <range></range>
    <data></data>
  </gpsindex>
</gpsindexes>


Is it possible to generate a schema from XLinq with XML like the above?
Posted
Updated 5-Oct-11 15:06pm
v2

1 solution

xsd tool is used to generate XML schema using run time component. You can use it. Ref at: http://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900