Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Create XSD from XML

Create XSD from XML

Scheduled Pinned Locked Moved XML / XSL
xmlquestioncsharpdatabase
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sybux2000
    wrote on last edited by
    #1

    Hi, I've got an XML file which I want to read in vb.NET. I've tryied with the XMLDocument object but it's not enough for what I want to do. So now I want to read it as a dataset but I need an XML Schema. So my question, is it possible to build an XLT file from an XML file ? Thx Sybux

    D 1 Reply Last reply
    0
    • S sybux2000

      Hi, I've got an XML file which I want to read in vb.NET. I've tryied with the XMLDocument object but it's not enough for what I want to do. So now I want to read it as a dataset but I need an XML Schema. So my question, is it possible to build an XLT file from an XML file ? Thx Sybux

      D Offline
      D Offline
      Douglas Troy
      wrote on last edited by
      #2

      Open your XML data file in Studio, you said you're using VB .NET so I have to assume your using Visual Studio here as well ... anyway, right-click and select the Create Schema option; this will build an XSD file from the XML file. Once you've done that, and the XSD is open in the editor, you can make changes as you see fit. When your done with your changes to the XSD, right-click, select the Generate DataSet. Go to the form you want to use the DataSet on and drop a DataSet component on the form. From the typed drop-down list, select your XSD file and you're ready to go. Hope this helps(?) D.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups