Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode Tabulator and CRLF are ignored in XSLT #166

Closed
Pierre-de-la-Verre opened this issue Nov 29, 2021 · 4 comments
Closed

Unicode Tabulator and CRLF are ignored in XSLT #166

Pierre-de-la-Verre opened this issue Nov 29, 2021 · 4 comments

Comments

@Pierre-de-la-Verre
Copy link

I have a XSLT where I use the unicode for TAB and CRLF - "	" and "
". Both are not display in XMLNotepad
grafik
Issue on which side of the keyboard?

@lovettchris
Copy link
Member

Yes, XML notepad is showing you the "post whitespace normalization" view of the file. To see some of your whitespace you may need to add this attribute to the top element in your file:

 xml:space="preserve"

@Pierre-de-la-Verre
Copy link
Author

You know, I'm the "option guy" ;-) Could it also be solved with an option?

@lovettchris
Copy link
Member

Well try the xml:space="preserve" trick and see what it does - you get a whole bunch of new nodes named "SignificantWhitespace" which you might not like either...

@Pierre-de-la-Verre
Copy link
Author

Yes, I see. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants