Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Question: handling of TAB andCRLF in saved XSLT-files

Open
#198 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
desktop

Research direction

Reproduce the reported behavior by opening and saving the provided XSLT content in XML Notepad, then compare the saved file with the original to identify how TAB and CRLF text nodes change. Read the discussion in related issue #166 for context. Done means the behavior is explained and any required preservation or warning is clearly specified.

Written by the indexing model from the issue text.

Description

I have a XSLT-file which contains TAB and CRLF-definition to create a better readable output, like this

  <xsl:text>&#0009;</xsl:text>
  <xsl:value-of select="./KEY_NUMERIC_OLD"/>
  <xsl:text>&#0009;</xsl:text>
  <xsl:value-of select="./KEY_NUMERIC_NEW"/>
  <xsl:text>&#xa;</xsl:text>

It works fine, but when I opened the file with XMLNotepad and saved it, all the TABs and CRLF are gone. Why?
Related to #166 ?

Dominant language
C#
Stars
1.2k
Forks
240
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/XmlNotepad

All issues in microsoft/XmlNotepad

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.