Xsd.exe supports class generation of Schema files containing XSD: import.

Source: Internet
Author: User

The class is generated based on the XSD file again. One feature of this XSD file (trackwebserviceschema. XSD) is that it imports other namespaces internally. The import statement is as follows:

<XSD: Import namespace = "http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0" schemalocation = "common. XSD"/>

 

As its syntax expresses, the imported namespace is in another file called common. XSD. Therefore, when generating class files based on A. XSD, you must specify common. XSD at the same time by using the following command line:

XSD/C/L: Vb/N: ups. Tracking trackwebserviceschema. XSD common. XSD

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.