Answered by:
Carriage Leaf Returns

Question
-
I am using vs2010 and have written some xsl files.
I like to format the document using the Ctrl K+D key command to make it more readable.
But when I do this some of my attributes end up being translated with carriage leaf return characters.
example xsl attribute
<xsl:attribute name="href"> JavaScript:ReOrder('<xsl:value-of select="$ColumnName"/>','') </xsl:attribute>
Translates to
href="
 JavaScript:ReOrder('ItemId','')
 "
I don't seem able to stop this using the settings in VS2010 and I am keen to keep the document readable for my colleagues.
Any solutions will be greatly appreciated.
Thanks
- Edited by PHKofiHBSmith Thursday, October 25, 2012 9:24 AM
- Moved by Mark Liu-lxf Friday, October 26, 2012 6:05 AM (From:Visual Studio Class Designer)
Thursday, October 25, 2012 9:24 AM
Answers
-
Here are a few places to ask XSL questions (depending on your context):
http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/threads
http://social.msdn.microsoft.com/Forums/en/devdocs/threads
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Friday, October 26, 2012 4:48 PM
- Marked as answer by PHKofiHBSmith Sunday, October 28, 2012 10:18 PM
Friday, October 26, 2012 4:48 PM
All replies
-
Hi PHKofiHBSmith,
Welcome to the MSDN forum.
This forum is for class designer. I’m afraid that your topic about xsl is out of scope here. I have no idea about where is the excetly forum this thread needs to be, so I’d like to move this thread to “where is the forum for…” forum. It will cost a little time to involve the members in this forum. I appreciate your patience.
Sorry for any inconvenience and have a nice day.Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
Friday, October 26, 2012 5:48 AM -
Here are a few places to ask XSL questions (depending on your context):
http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/threads
http://social.msdn.microsoft.com/Forums/en/devdocs/threads
Thanks!
Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog, Twitter, Wiki)
- Proposed as answer by Ed Price - MSFTMicrosoft employee Friday, October 26, 2012 4:48 PM
- Marked as answer by PHKofiHBSmith Sunday, October 28, 2012 10:18 PM
Friday, October 26, 2012 4:48 PM -
Thanks EdSunday, October 28, 2012 10:18 PM