Results 1 to 6 of 6

Thread: XSLT write   [resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    XSLT write   [resolved]

    I am such an XML XSL noob. I am trying to write out & nbsp; (no space between the & and n, but the board keeps making it a real blank space) when an element named value is empty. I am doing it like this,
    PHP Code:
    <xsl:when test="string-length(value)=0">
         &
    nbsp;
    </
    xsl:when
    but I get an error saying "Reference to undefined entity 'nbsp'"
    Last edited by blindlizard; Jul 8th, 2004 at 02:48 PM.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width