[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: posting ampersand in xml



Title: RE: posting ampersand in xml

Wrap it, in a cdata function...

this is from a PDF creation script I use...

 eval   w1 = '<![CDATA['+%trim(phpoid)+']]>';                                 
                                                                              
 eval data =""
     '<fo:table-cell border-bottom- '+e+                          
            'border-width="0.5pt" background-color="white">'+e+               
       '<fo:block text-align="end" font-size="12pt">Purchase Order: '+        
             '<fo:inline font-weight="bold">'+w1+'</fo:inline>'+e+            
       '</fo:block>'+e+                                                       
     '</fo:table-cell>'+e+                                                    
   '</fo:table-row>'+e+                                                       
  '</fo:table-body>'+e+                                                       
 '</fo:table>'+e;                                                             
 exsr      writefile;                                                         

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.