[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Ampersand in attributes


Subject: [xsl] Ampersand in attributes
From: "Nestor Boscan" <nestor.boscan@xxxxxxxxxx>
Date: Wed, 6 Oct 2004 22:42:45 -0400

Hi

I'm using saxon and I'm having problems generating anchor links. Because the
source has to be XML I'm changing ampersands to &amp;. For example:

link.jsp?p1=1&amp;p2=2&amp;p3=3

My output method is HTML but the result generated mantains the &amp;.

If I set disabled-output-encoding saxon returns:

javax.xml.transform.TransformerConfigurationException:
disable-output-escaping is not allowed for a non-text node

Thanks in advance

Regards,

Nistor Boscan


Current Thread
Keywords
xml