Binary Application Markup Language

{{Infobox file format

| name = Binary Application Markup Language (BAML)

| icon =

| logo =

| screenshot =

| caption =

| extension = .baml

| mime =

| type code =

| uniform type =

| magic =

| owner = Microsoft

| released =

| genre = User interface markup language

| container for =

| contained by =

| extended from = XAML

| extended to =

| standard =

| free =

| url =

}}

The Binary Application Markup Language is a file format developed by Microsoft that is generated by compiling XAML files.

{{cite web

| access-date = 2011-08-24

|website= Microsoft MSDN

| title = WPF Globalization and Localization Overview: Localize a WPF Application

| quote = The BAML form of XAML so that you can localize at the same time that you develop.

| url = https://msdn.microsoft.com/en-us/library/ms788718.aspx#Localize_a_WPF_Application}}

Generation

An XAML file can be compiled into a Binary Application Markup Language file with the .BAML extension,{{cite web

| access-date = 2011-08-18

| author = unknown

| date = 2009-07-30

| publisher = DOTNET Spider

| title = What is BAML?

| quote = BAML means Binary Application Markup Language, which is a compiled version of the XAML. When you compile your XAML, it creates the BAML file.

| url = http://www.dotnetspider.com/forum/216053-What-BAML.aspx}} which may be inserted as a resource into a .NET Framework assembly. At run-time, the framework engine extracts the .BAML file from assembly resources, parses it, and creates a corresponding WPF visual tree or workflow. Having this format, the content is loadable faster during runtime, because the XAML is enriched by tokens, and lexical analysis is completed.

References

{{Reflist}}

{{.NET Framework}}

{{Widget toolkits}}

{{Graphics file formats}}

{{Document markup languages}}

Category:Application programming interfaces

Category:Operating system technology

{{markup-languages-stub}}