You are missing the leading ampersand for xml entities (& itself is
an xml entity) ->  
 
Carriage return code is 13 and line feed is 10, so you have to use 
instead of 
.
Or use the full sequence for CR/LF: 


For your sample, the following should work:

<util:XmlConfig Id="setting7" Action="create" Node="value" On="install"
File="[#WebConfig]" Sequence="7"
                                    Name="template"
                                    ElementPath="//formatters/add"

Value="Timestamp: {timestamp}&amp;&#xD;&#xA;Message:
{message}&amp;&#xD;&#xA;Category: {category}&amp;)}"/>




-----Original Message-----
From: "Pierson Lee (PIE)" <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Problems with XmlConfig
To: General discussion for Windows Installer XML toolset.
        <wix-users@lists.sourceforge.net>
Message-ID:
        
<[EMAIL PROTECTED]
icrosoft.com>
        
Content-Type: text/plain; charset="us-ascii"

Just to give you a better idea:


        <util:XmlConfig Id="setting7" Action="create" Node="value"
On="install" File="[#WebConfig]" Sequence="7"
                                    Name="template"
                                    ElementPath="//formatters/add"

Value="Timestamp: {timestamp}&amp;#xA;Message:
{message}&amp;#xA;Category: {category}&amp;)}"/>



Is what I'm attempting

-----Original Message-----
From: Rob Mensching <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Problems with XmlConfig
To: General discussion for Windows Installer XML toolset.
        <wix-users@lists.sourceforge.net>
Message-ID:
        
<[EMAIL PROTECTED]
icrosoft.com>
        
Content-Type: text/plain; charset="us-ascii"

I think you're fighting MSXML here.

-----Original Message-----
From: Pierson Lee (PIE) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2008 13:27
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Problems with XmlConfig

I was attempting to insert #xA; into my web configs to specify a
carriage return for some lines of text I'm adding into the config, but
it seems like during the process, those characters are getting stripped.
Anyone have any idea how to do this? Thanks :)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to