Hi,
        I am using the following xslt file for the -t option in heat. But it 
does not set the Manufacturer, Name and Title. Kindly let me know if I am 
missing something.

        <?xml version="1.0" encoding="utf-8"?>
        <xsl:stylesheet version="1.0"  
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:output omit-xml-declaration="yes" indent="yes"/>
  
<!--                                                     -->    
    <xsl:param name="pManufacturer" select="'IV'"/>
    <xsl:param name="pName" select="'MT'"/>
    <xsl:param name="pTitle" select="'RunwayMT'"/>
<!--                                                     -->    
    <xsl:template match="node()|@*">
        <xsl:copy>
                <xsl:apply-templates select="node()|@*"/>
        </xsl:copy>
    </xsl:template>
<!--                                                     -->    
    <xsl:template match="Product/@Manufacturer">
        <xsl:attribute name="Manufacturer">
                <xsl:value-of select="$pManufacturer"/>
        </xsl:attribute>
    </xsl:template>
    <xsl:template match="Product/@Name">
        <xsl:attribute name="Name">
                <xsl:value-of select="$pName"/>
        </xsl:attribute>
    </xsl:template>
    <xsl:template match="Product/Feature/@Title">
        <xsl:attribute name="Title">
                <xsl:value-of select="$pTitle"/>
        </xsl:attribute>
    </xsl:template>
</xsl:stylesheet>

Thanks
Satyaprakash J

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: Thursday, August 26, 2010 4:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to set Manufacturer, Name and Title using Heat

You can use heat's -t switch to pass an xslt file that will be applied
to the heat output.

-----Original Message-----
From: Satyaprakash J [mailto:sat...@smartek21.com] 
Sent: 26 August 2010 11:43
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to set Manufacturer, Name and Title using Heat

Hi,
                I am using Heat to generate the wxs file.  In the
generated file we have "Manufacturer="PUT-COMPANY-NAME-HERE"
Name="PUT-PRODUCT-NAME-HERE"" and Title="PUT-FEATURE-TITLE-HERE". I
would like to know how the Manufacturer, Name  and Title can be set
automatically using heat.

Thanks
Satyaprakash J
------------------------------------------------------------------------
------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users

worldwide. Take advantage of special opportunities to increase revenue
and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email 
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2"><a href = "http://www.sdl.com"; 
style="color:005740; font-weight: bold">www.sdl.com</a></font>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to