Changes between Version 3 and Version 4 of MapGuideRfc50


Ignore:
Timestamp:
Jun 25, 2008, 10:33:14 AM (16 years ago)
Author:
brucedechant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc50

    v3 v4  
    2626== Motivation ==
    2727
     28The existing concat text function is difficult to work with when multiple concatenations need to be done.
     29Example:
     30
     31 concat('Parcel ID: ', concat( PID , concat('\nOwner Name: ', concat(NullValue (  OWNER_NAME , '' ) , concat('\nAddress: ',  SITE_ADDR )))))
     32
    2833
    2934== Proposed Solution ==
    3035
     36The proposed solution is to add support for an additional syntax to the concat operator.
     37
     38Old syntax:
     39{{{
     40 concat('Parcel ID: ', concat( PID , concat('\nOwner Name: ', concat(NullValue (  OWNER_NAME , '' ) , concat('\nAddress: ',  SITE_ADDR )))))
     41}}}
     42
     43New syntax:
     44{{{
     45 concat('Parcel ID: ', PID , '\nOwner Name: ', NullValue (  OWNER_NAME , '' ) , '\nAddress: ', SITE_ADDR )
     46}}}
    3147
    3248== Implications ==