Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] problem with spaces

Expand Messages
  • Robert J. Lebowitz
    Better yet, try: my name is  
    Message 1 of 4 , Sep 7, 2001
    • 0 Attachment
      Better yet, try:

      <fo:block white-space-collapse="false" font-size="10pt">
      my name is <xsl:value-of select="//first_name"/><xsl:text> </xsl:text>
      <xsl:value-of select="//last_name"/>

      Either that, or substitute thte numeric entity for  

      ----- Original Message -----
      From: <Alexander.gabler@...>
      To: <XSL-FO@yahoogroups.com>
      Sent: Friday, September 07, 2001 6:09 AM
      Subject: RE: [XSL-FO] problem with spaces


      > try:
      > ***********************************************************
      > <fo:block white-space-collapse="false" font-size="10pt">
      > my name is <xsl:value-of select="//first_name"/><xsl:text>
      > </xsl:text><xsl:value-of
      > select="//last_name"/>
      > ***********************************************************
      >
      > xsl removes the whitespaces
      >
      > -----Original Message-----
      > From: ppasch@... [mailto:ppasch@...]
      > Sent: Friday, September 07, 2001 10:47 AM
      > To: XSL-FO@yahoogroups.com
      > Subject: [XSL-FO] problem with spaces
      >
      >
      > hi,
      > I use FOP-0.18.1-DEV to get PDF files, i've got some problem with
      > spaces.
      > i wrote:
      > <fo:block white-space-collapse="false" font-size="10pt">
      > my name is <xsl:value-of select="//first_name"/> <xsl:value-of
      > select="//last_name"/>
      > </fo:block>
      > the results is: my name isfirst_namelast_name.
      > how could I get the correct result i expect (with space between first
      > and name)?
      >
      > thanks,
      > Pascal.
      >
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > XSL-FO-unsubscribe@egroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > XSL-FO-unsubscribe@egroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
    • neelkamal.shaikh@gedc.tcs.co.in
      Try this, my name is    
      Message 2 of 4 , Sep 9, 2001
      • 0 Attachment
        Try this,

        <fo:block white-space-collapse="false" font-size="10pt">
        my name is  <xsl:value-of select="//first_name"/> <xsl:value-of
        select="//last_name"/>
        </fo:block>
      • neelkamal.shaikh@gedc.tcs.co.in
        Try this, Remove the space between & and # while implementing. my name is & #160;
        Message 3 of 4 , Sep 9, 2001
        • 0 Attachment
          Try this,
          Remove the space between & and # while implementing.

          <fo:block white-space-collapse="false" font-size="10pt">
          my name is & #160;<xsl:value-of select="//first_name"/>&
          #160;<xsl:value-of
          select="//last_name"/>
          </fo:block>
        Your message has been successfully submitted and would be delivered to recipients shortly.