Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include support for validating XMLs with Inline Schemas #1

Open
adojos opened this issue May 26, 2019 · 0 comments
Open

Include support for validating XMLs with Inline Schemas #1

adojos opened this issue May 26, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@adojos
Copy link
Owner

adojos commented May 26, 2019

Include support for validating XMLs with Inline Schemas

References:
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms759142%28v%3dvs.85%29

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms762261%28v%3dvs.85%29


Example XML below ...


<xsd:schema targetNamespace="urn:book">
<xsd:element name="book">
xsd:complexType
xsd:sequence
<xsd:element name="author" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="genre" type="xsd:string"/>
<xsd:element name="price" type="xsd:float"/>
<xsd:element name="publish_date" type="xsd:date"/>
<xsd:element name="description" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>

<x:book id="bk101">
Gambardella, Matthew
<title>XML Developer's Guide</title>
Computer
44.95
<publish_date>2000-10-01</publish_date>
An in-depth look at creating applications with
XML.
</x:book>

@adojos adojos added the enhancement New feature or request label May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant