How do I find the data type for a given element in an XML hierarchy? RRS feed


All replies

  • Did you download the mentioned, and also all of the linked definitions that appear in <xsd:include> directives, for further examination? You will find that <creation-date> is an extension of xsd:dateTime.

    Monday, November 18, 2019 5:42 PM
  • As Viorel_ said, the file includes the the schema reference, in this schema content, we can see the <creation-date> is based on datetime type.

    • Marked as answer by ToolTimeTabor Tuesday, November 19, 2019 3:58 PM
    Tuesday, November 19, 2019 6:21 AM
  • Thanks to both!

    I did not realize that the include file was the key to the problem.

    So, is there a way to somehow extract that datatype without having to manually download those files and figuring it out through manually tracing the data?  Is there a "Xml" object in System.Xml that you can pass the DWML.xsd file into and then query it for the <creation-date> type?

    Tuesday, November 19, 2019 3:59 PM