commit 47da46d7de71c9eedc2f48a23f34eb4226416a5d Author: irvine Date: Fri Jan 17 12:57:28 2025 +0100 Initial commit diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..730a5db --- /dev/null +++ b/README.txt @@ -0,0 +1,8 @@ +Execute XsltConsoleApplication.exe in a command prompt. + +The application expects (in the current working directory): + - an XML file (data.xml) and + - an XSLT style sheet (transform.xslt) + + +Source code is in "src" \ No newline at end of file diff --git a/XsltConsoleApplication.exe b/XsltConsoleApplication.exe new file mode 100644 index 0000000..24a048e Binary files /dev/null and b/XsltConsoleApplication.exe differ diff --git a/XsltConsoleApplication.sln b/XsltConsoleApplication.sln new file mode 100644 index 0000000..bf8f8ce --- /dev/null +++ b/XsltConsoleApplication.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.24720.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XsltConsoleApplication", "XsltConsoleApplication\XsltConsoleApplication.csproj", "{06029950-2B39-4045-B308-08618769CFB1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {06029950-2B39-4045-B308-08618769CFB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {06029950-2B39-4045-B308-08618769CFB1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {06029950-2B39-4045-B308-08618769CFB1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {06029950-2B39-4045-B308-08618769CFB1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/data.xml b/data.xml new file mode 100644 index 0000000..8575ef7 --- /dev/null +++ b/data.xml @@ -0,0 +1,11 @@ + + + + Lemon + Yellow and sour + + + Watermelon + Round, green outside, red inside + + diff --git a/transform.xslt b/transform.xslt new file mode 100644 index 0000000..cb3a99c --- /dev/null +++ b/transform.xslt @@ -0,0 +1,11 @@ + + + + Fruits: + + + + - : + + +