Last active
October 12, 2020 16:00
-
-
Save TheWover/bd171acc3c0863136fb0f99eb769f704 to your computer and use it in GitHub Desktop.
msbuild XSLT Execute From URL. Courtesy of an ephemeral Casey Smith tweet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |
<Target Name="Example"> | |
<ItemGroup> | |
<XmlFiles Include="https://gist.githubusercontent.com/caseysmithrc/d6ef2fdffa6c054c6996b0f2fb7dd45d/raw/6ce40c15487d67df6771ff205de5ea8a8c6f29c0/customers.xml" /> | |
</ItemGroup> | |
<PropertyGroup> | |
<XslFile>https://gist.githubusercontent.com/caseysmithrc/d6ef2fdffa6c054c6996b0f2fb7dd45d/raw/48abcd2a9575e1e5db25596cbaa02f6066bbe9e2/script.xsl</XslFile> | |
</PropertyGroup> | |
<XslTransformation | |
OutputPaths="output.%(XmlFiles.FileName).html" | |
XmlInputPaths="%(XmlFiles.Identity)" | |
XslInputPath="$(XslFile)" | |
/> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment