.XSB File Extension
XML Schema Binary File
3.8 | 5 Votes
|Format||Text and Binary|
What is an XSB file?
An XSB file is an XML Schema Binary file created by XMLBeans, an open source developer library used for reading and writing XML using the Java programming language. The file contains data that XMLBeans generates from a corresponding .XSD file. The resulting data allows a Java program to read, write, and validate XML data described in the XSD file during runtime.
When XMLBeans generates code, it creates .JAVA source code files with the types defined in the XSD file. It also creates XSB files, which function as compiled equivalents to the XSD file. When the final Java program is compiled and its .CLASS files are generated, XSB files are packaged with the CLASS files. They are used for reading, writing, and validating XML during execution. The original XSD file is not needed during runtime.
What is XMLBeans?
XMLBeans is a Java and XML binding technology that provides a convenient way for developers to read and write XML data using auto-generated Java source code. XMLBeans' auto-generated code not only provides convenience, but it can also validate XML when the program runs. The generated Java types correspond to XML elements, making code easy to read and write. For example, a "Customer” element in an XML file may correspond to a "Customer" class in the generated Java code.
NOTE: The classgendir attribute for the XMLBeans Ant Task tool dictates where XSB files are generated. The command-line tool is located in the bin directory of the XMLBeans installation.
Programs that open XSB files
What is an XSB file?
Collection of sounds and cues created with Microsoft XACT, the Cross-Platform Audio Creation Tool; used for creating video game sounds and defining when they should be played in the game.
XSB files do not contain audio data, but instead references wave data stored in .XWB files. XSB files are used by various video games, such as Gas Powered Games programs, and are stored by default in the /Sounds directory.