By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,066 Members | 1,841 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,066 IT Pros & Developers. It's quick & easy.

new line replacement in xsl:attribute value with fx2.0

P: n/a
I have the following xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
<xsl:output method="html"/>
<xsl:template match="/">
<xsl:attribute name="href">

(in the following test I put some spaces to in "& # XA" to eliminate html
escaping problems)

I get
<a href="& # XA
& # XA"></a>

Is there a way to strip the new line escape (& # XA;) from the output?
In msxml4 this xsl doesn't return those escapes.

Thanks in advance for any help

sorry for the cross post from microsoft.public.xsl but I didn't realize it
wasn't managed
Mar 23 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a

Could you provide us with an .xml file and your code so that we can make a

Kevin Yu
"This posting is provided "AS IS" with no warranties, and confers no

Mar 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.