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. Applying conditions in XSD

Applying conditions in XSD

Scheduled Pinned Locked Moved XML / XSL
helptutorialquestion
1 Posts 1 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.
  • A Offline
    A Offline
    azam316
    wrote on last edited by
    #1

    Hi, I need to add, remove or make optional, some elements based on the values of an attribute of the parent element. I have an element "report" that has an attribute "investortype", which can have 3 possible values: "none", "indvidual" and "group". Now what i need is, to create/modify elements in the report element based on these 3 values. The following example will elaborate: investortype = "individual" --------------------------- investortype = "group" --------------------------- investortype = "none" --------------------- Any help or hint would be great. Also i need to know if this is even possible in XSD? Awaiting reply and Thanx in advance ☺«««DTA»»»☺

    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