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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. XML / XSL
  4. XML validation through XSD

XML validation through XSD

Scheduled Pinned Locked Moved XML / XSL
xmldatabasehelp
3 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.
  • H Offline
    H Offline
    Het2109
    wrote on last edited by
    #1

    i want to check for the value of xml node to be compulsory through XSD (schema file),,, i have tried minoccurs and nillable! Can anyone Help me out! :)Be Humble in Victory and Strong in Defeat.:) -Het

    D 1 Reply Last reply
    0
    • H Het2109

      i want to check for the value of xml node to be compulsory through XSD (schema file),,, i have tried minoccurs and nillable! Can anyone Help me out! :)Be Humble in Victory and Strong in Defeat.:) -Het

      D Offline
      D Offline
      DavidNohejl
      wrote on last edited by
      #2

      Hmm and what exactly is your goal? To allow element have no content, check http://www.w3.org/TR/xmlschema-1/#xsi_nil[^] "An element so labeled must be empty, but can carry attributes if permitted by the corresponding complex type." Minoccures attribude specifies number of occurences of (child) element. May the W3ForCe be with you. best regards, David 'DNH' Nohejl Never forget: "Stay kul and happy" (I.A.)

      H 1 Reply Last reply
      0
      • D DavidNohejl

        Hmm and what exactly is your goal? To allow element have no content, check http://www.w3.org/TR/xmlschema-1/#xsi_nil[^] "An element so labeled must be empty, but can carry attributes if permitted by the corresponding complex type." Minoccures attribude specifies number of occurences of (child) element. May the W3ForCe be with you. best regards, David 'DNH' Nohejl Never forget: "Stay kul and happy" (I.A.)

        H Offline
        H Offline
        Het2109
        wrote on last edited by
        #3

        thanks man! i got the solution... Happy New Year by the way :) :)Be Humble in Victory and Strong in Defeat.:) -Het

        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