Skip to content

A command line tool to convert an xsd schema to CodeMirror's schemaInfo for xml completion

License

Notifications You must be signed in to change notification settings

q42jaap/xsd2codemirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xsd2codemirror

A command line tool to convert an xsd schema to CodeMirror's schemaInfo.

See http://codemirror.net/demo/xmlcomplete.html for an example how to configure CodeMirror to use a simple schemaInfo for Ctrl-Space completion.

See http://q42jaap.github.io/xsd2codemirror/xsltautocomplete.htm for a real example, where the schemaInfo for CodeMirror is generated by xsd2codemirror

Usage

Usage:
xsd2codemirror.exe [-v] [-prefix prefix namespace]* path-to-xsd

ProTip™: pipe the output into a file:

xsd2codemirror C:\...\ > tags.json

Integration

You can use the SimpleSchemaParser library to integrate this into other software. Provided that you run .NET on the server of course!

About

A command line tool to convert an xsd schema to CodeMirror's schemaInfo for xml completion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages