tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schlegel <>
Subject OT: Spaces in URL using xalan
Date Tue, 05 Feb 2002 13:14:42 GMT

I have the following problem. May be someone has an idea how to solve it 
or find a workaround.

I create the following URL which has a space after ... nodeId=A2 and 
create an element with the URL as content.
termin.addContent( new Element( "contact_url").addContent( 


With JDOM I create a dom and transform it to HTML. But the HTML never 
has a correct URL. The space is always replaced by %20. A + won't work 
on this place. Is there any working escape mechanism or ...?

XSL file:
<xsl:element name="a">
    <xsl:attribute name="href"><xsl:value-of 
    <xsl:value-of select="contact_no"/>

- Tomcat 3.2.1
- Xalan 2.2
- jdk 1.3.1
- jdom

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message