Home > Web Development > XML and CSS Tools


Home Page
Buy Now

Wget4Xsd.exe is an http utility that downloads a tree of XML Schema (XSD) files to a local directory with one command. XML schema files can include, import, redefine other XSD files to define a XML Schema model. In many cases, the users feel the need to download XML Schemas and use them locally. This typically requires the user to download the main file, then open it and find which files the schema includes, imports, redefines. Then create necessary directory structure manually. Then download the included files into those directories, open each one and repeat the above porcess for each file. This manual process can get error prone very quickly. Maybe 2-3 files are manageable. But when you ave 10 - 20 files, or 1000 files, manual approach is not scalable.
We at Bestcode felt the need to create a utility that will automate the above process. Wget4xsd is a time saver which will let you provide the XSD url (-url) to download and a directory (-dir) to save the files into. Wget4xsd downloads the xsd found at the given url, parses it and discovers include, import, and redefine schema locations. Then it creates the local directory structures to save the files as needed and eventually traverses the entire XSD file tree and saves a local copy ready to use. This is very similar to the well known wget command to download http / html / ftp resources. Wget4Xsd understands the XML Schema structure and downloads necessary pieces.
Wget4Xsd.exe -url xmlSchemaUrl and -dir dirName