This repository contains a C# console application demonstrating the use of the Strategy design pattern for flexible XML document processing.
The program provides two concrete strategies:
- LibraryAnalysisStrategy 📚: Analyzes library information such as authors, titles, keywords, etc.
- HtmlTransformationStrategy 💻: Transforms an XML document into HTML format.
Users can choose the desired strategy and process an XML file with data. The program also ensures correct processing of Ukrainian characters 🇺🇦.
- Clone or download this repository.
- Open the project in Visual Studio.
- Change the path to your XML file in the
Main
method of theProgram
class. - Run the program.
- C#
- .NET Framework
- System.Xml.Linq
- Strategy