Skip to content

Instantly share code, notes, and snippets.

@in2bi
Created July 28, 2014 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save in2bi/c82b6486b5ca7bc39b01 to your computer and use it in GitHub Desktop.
Save in2bi/c82b6486b5ca7bc39b01 to your computer and use it in GitHub Desktop.
BIML Code to save the compiled BIML to file
<Biml xmlns="http://schemas.varigence.com/biml.xsd">
<#
string xBiml = RootNode.GetBiml();
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(xBiml);
string sFile = @"C:\temp\myBimlFile.xml";
xmlDoc.Save(sFile);
#>
</Biml>
<!--Directives:-->
<#@ template tier="5" #>
<#@ import namespace="Varigence.Hadron.CoreLowerer.SchemaManagement" #>
<#@ import namespace="System.Xml" #>
<!--BIML Code to save the compiled BIML to file: SaveCompiledBiml.biml-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment