xsl-list
[Top] [All Lists]

RE: How to put space between two characters?

2004-04-08 11:13:29
Some quick analysis I did came up with:

1. your xsl is not well-formed:

<a href="{From_ORSP_Server}"><&nbsp; img 

should be

<a href="{From_ORSP_Server}">&nbsp; <img 

2. you do not take control over the template processing:

<xsl:template match="/">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="dataroot"> 

The above takes control over the root but then releases it to process all
nodes below it... So you better use:

<xsl:template match="/">
  <xsl:apply-templates select="dataroot"/>
</xsl:template>

<xsl:template match="dataroot">
        ...
<xsl:template/>

From this point, you should be able to see what output you get - I can't see
it because I do not have your XML. If you need further help, please post it.

<prs/>
http://www.pietsieg.com
http://www.pietsieg.com/dotnetnuke
Contributor on www.ASPToday.com
Co-author on "Professional ASP.NET XML with C#", July 2002 by Wrox Press


<Prev in Thread] Current Thread [Next in Thread>