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. Newbie sanity check

Newbie sanity check

Scheduled Pinned Locked Moved XML / XSL
questionxmldatabaseannouncement
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.
  • J Offline
    J Offline
    john john mackey
    wrote on last edited by
    #1

    ok, so correct me if wrong, but a properly formatted XML file does not care about the order of its elements, correct? <element1-name>John</element1-name> <element2-country>US</element2-country> would be parsed the same if it were listed as <element2-country>US</element2-country> <element1-name>John</element1-name> This 2nd question regarding schema. If I had a .XSD schema file that I wanted to reference, is the following "header" in my .XML file correct? <?xml version="1.0" encoding="UTF-8" ?> < PointOfContact xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PointOfContact.xsd"> How do I make the location "relative" (with the dot dots..)? Thanks!

    L 1 Reply Last reply
    0
    • J john john mackey

      ok, so correct me if wrong, but a properly formatted XML file does not care about the order of its elements, correct? <element1-name>John</element1-name> <element2-country>US</element2-country> would be parsed the same if it were listed as <element2-country>US</element2-country> <element1-name>John</element1-name> This 2nd question regarding schema. If I had a .XSD schema file that I wanted to reference, is the following "header" in my .XML file correct? <?xml version="1.0" encoding="UTF-8" ?> < PointOfContact xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PointOfContact.xsd"> How do I make the location "relative" (with the dot dots..)? Thanks!

      L Offline
      L Offline
      LiquidE_SA
      wrote on last edited by
      #2

      http://www.w3schools.com/ They've got alot of XML tutorials. Go through them

      ASBESTOS-Greetings LiquidE

      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