Real-time Word document XML extractor. Select text in any application and instantly get the corresponding XML from your Word document.
- 🚀 Real-time extraction - Get XML instantly when you select text
- 📋 Clipboard integration - Automatically copies XML to clipboard
- 🔍 Smart matching - Finds exact XML elements for selected text
- 🖥️ System tray - Runs quietly in background
- ⚡ Fast performance - Optimized for quick response
LiveWordXml main interface showing real-time XML extraction
- Load a Word document (.docx)
- Select any text in any application
- XML is automatically copied to clipboard
- Paste wherever you need it!
Real-time Word document XML extractor. Load a Word document and extract the corresponding XML for any text you paste or select.
- 🚀 Real-time extraction - Get XML instantly when you enter text
- 📋 Clipboard integration - Automatically copies XML to clipboard
- 🔍 Smart matching - Finds exact XML elements for selected text
- 🖥️ System tray - Runs quietly in background with notifications
- ⚡ Fast performance - Optimized for quick response
- 📄 Multiple formats - Supports paragraphs, runs, and other Word elements
- Launch the LiveWordXml application
- Click "Load Word Document" and select a .docx file
- Paste or type text in the "Selected Text" field
- The corresponding XML will appear in the "Extracted XML" area
- Click "Copy XML" to copy the result to clipboard
- Use the XML in your applications!
- .NET 8.0 or higher
- Windows OS
- Word documents in .docx format (OpenXML)
# Build the solution
dotnet build
# Run the application
dotnet run --project src/LiveWordXml/LiveWordXml.csproj
# Run tests
dotnet test
- MainForm: Windows Forms UI for user interaction
- DocumentService: Handles Word document loading and XML extraction
- TextMatchingService: Matches text to corresponding XML elements
- ClipboardService: Manages clipboard operations
- SystemTrayHelper: Provides system tray notifications
This project is licensed under the MIT License.