Successful Use of HTML Brand Template in Email?

Has anyone been able to use Brand Templates in their email correspondence successfully?
We have a template that should be the branding for our outgoing emails. In this template we have a placeholder specifically to fit the content of the email as "#Text#", which is said to be available for this Document-Based Template.
However, anytime we are testing this through an email ticket, the content of the reply is missing, and we only see the branding and the placeholder. We have tried lowercase and all uppercase placeholders with no success.
Any ideas or examples of this working would be great to see.
Thanks,
Josh
"Available Placeholders for branding templates is listed below
#Text#"

Hi Josh,
did you checked out the E-Mail Templates documentation (page 77ff) in the Administrator guide?
The following example should help:
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body>
<span class="variable">/FormCampaignExecutionPlaceholder/ContactPerson/FormattedName</span>
<p>Please join us for the conference!</p>
<p><a href="mailto:{/FormCampaignExecutionPlaceholder/MailingPermissionDenyMailToURI}">Click here to be removed from future marketing mailings.</a></p>
<p><a href="http://{/FormCampaignExecutionPlaceholder/LinkTracking/TrackingURI}www.sap.com/HANA">News about SAP HANA</a></p>
</body>
</html>
best regards, Janina

Similar Messages

  • Using iWeb HTML code with email autoresponder software

    Hi, I'd like to be able to use iWeb html code with an email autoresponder package, however, the text in the resulting emails is unformatted and has no images. My chosen company,AWeber, haven't been able to solve this yet for me (I've tried all the major autoresponder companies with same result).
    I've tried hosting my email page both to Mac.com and www but it makes no difference.
    I've seen similar queries in this forum - has anyone cracked it yet?
    Thanks

    Not sure what you expect. Your URL is absolute and pointing to a local file resource. It's not a proper relative HTML link. Beyond that it's toatlly unclear how you actually plan to load your image and where they are hosted, so nobody can tell you anything. Either way, there is an obviously painful lack of understanding of even the most basic web techniques, so the best advise anyone would give you is to spend some time with a web search and actualyl learn some of that stuff...
    Mylenium

  • I have the latest version of iPhoto and now I don't have the Apple templates for emailing photos.  What happened?  How can I get them back?

    I have the latest version of iPhoto and somehow I have lost the ability to use the Apple iPhoto templates for emailing photos.  I select my photos, go to Share, go to email, and the templates used to pop up.  Now the photos go directly to email.  Does anyone know how I can get the templates back?

    I encountered the same issue after an upgrade of iPhoto, and it was resolved by clicking on the "iPhoto" button on the menu on the top left of your screen, then "preferences", and in the very first window (General), select the very last pull-down menu "email photos using".
    There, you can select various email providers, aol (if set-up), Microsoft outlook, etc... and of course, iPhoto (which should be the very first choice on the pull-down menu).
    Select iPhoto, and you will immediately be able to use the templates and make cool cards when emailing your photos from iPhoto.
    I hope this helps if your question has not yet been answered.

  • Using html in a workflow email

    Hi.
    Does anyone know if there's a way to use html in a workflow email so the the html tags are rendered and not displayed literally? I'm trying to include an a href tag so that the email just displays the hyperlink in the email and not the big long ugly url that I'm referencing. I thought maybe there was a function that would allow the html to "execute" but I cannot seem to find one.
    Thanks for any help you can offer!
    Pam

    Hi Taier,
    For this issue, I recommend to verify the things below for troubleshooting this issue:
    What are the OS used in your phone and tablet? Does this issue occur with all the phones or tablets? I recommend to check the email with another phone or tablets to narrow doen the issue scope.
    What email client is used in your phone?
    What HTML tags did you used in your email template?
    Here is a link about some reasons about blank email in mobile for your reference:
    http://www.emailonacid.com/blog/details/C13/5_reasons_why_the_mobile_version_of_your_email_might_not_be_displaying
    Best regards.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Email Alert Template Issue - List Alerts (Alert Me) emails not using customized XML alert template

    We have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed using the "Alert Me" feature. We have renamed the
    custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS.  Once users subscribe to the alerts using the list "alert me"
    function they received the customized email as intended.
    We needed to auto-subscribe users to the email alerts so what we did was use a powershell script to add users to the alert subscriptions using the script shown below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When we ran the script and added the users and restarted the service, all users who were auto-subscribed via this method get the email without the customizations that were done in teh custom alert template.  All users who manually subscribed on their
    own to the list using the "Alert Me" function would get the customized email.
    Does anyone know why users who manually subscribe to the alerts get the customized email, and users who were auto-subscribed using the powershell script do not get the customized email and get the standard generic email template?

    Hi  ,
    According to your code, it create a new alert using SPUser.Alerts.Add() method. For this method, it will create a new alert based on the predefined alert template by default.
    If you only assigned the custom alert template to the list, users who manually subscribe to the alerts get the customized email, but users who were auto-subscribed using the PowerShell script get the standard
    generic email template.
    For your issue, you can set the new alert ‘s alert template:
    http://social.technet.microsoft.com/Forums/en-US/1b19c12f-fc37-48cf-8b59-6c09f095dc23/custom-alert-email-templates-issue-list-alerts-emails-not-using-customized-xml-alert-template?forum=sharepointgeneralprevious
    Here is a good blog you can have a look:
    http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Html template for email

    I have just started my trial with DreamWeaver.
    I'm curious will dream weaver allow me to create and design and email that I can insert into my email system using the HTML?  If so, what is the easiest way to do this?

    The easiest way I have ever created and sent an HTML email was with Dreamweaver and Apple's Safari.
    First construct your email in Dreamweaver with the understanding that you will need to define any styles in the code and not in a separate style sheet. You might consider going old-Skool and just just inline styles.
    Second, upload the result to your server. You needn't worry about navigating to it from the rest of your website. Having a server version with an unique link allows you to insert a link at the top of your HTML email that invites the viewer to look at the email in their web browser.
    In Safari, go to File>Mail Contents of this Page. That will create an email with the HTML.
    Send the email.
    Don't forget that if you use BCC to each recipient you won't be distributing your entire email list with each mail you send.
    Constant Contact and MailChimp both offer HTML email production and maintenance, and if you are looking for paid options, they are good alternatives.

  • Has anyone successfully used new custom templates with bookings?

    I have been trying to use an alternate list template for bookings as a fallback for the standard list I have which is outputting json.
    I saw recently in the september release that custom templates are out (thank goodness).
    I have tried:
    {module_booking,a template="fallback_list.tpl"}
    {module, booking,a template="fallback_list.tpl"}
    This is from http://helpx.adobe.com/business-catalyst/partner/using-custom-templates-modules.html it looks wrong to me.
    Then I tried renaming it to html cause I read http://forums.adobe.com/docs/DOC-2573
    Then I tried relocating it, removing the underscore, adding commas, removing commas, single quotes and double quotes.
    But they all return No events found.
    {module_booking,a, }
    Returns the expected amount of bookings.
    Any thoughts?

    Hi,
    Thanks Mario.  http://npaqueensland.businesscatalyst.com/events
    The events done with backbone and JSON are working, above those there is a bar of filters (not yet hooked up properly), and directly above those filters is the part I am having an issue with.
    Thanks,
    Allan.

  • How do I use the alternate list template when rendering web app items to a page?

    I need to have the ability to use the main list template on particular pages, but then use different markup for other pages - is there a way that I can specify the alternate list template within the module tag?

    Hi Matt, You should read about web apps here:
    http://helpx.adobe.com/content/help/en/business-catalyst/partner/web-apps-module-create-cu stom.html
    And module reference here:
    http://helpx.adobe.com/business-catalyst/kb/modules-quick-reference.html
    If you insert through the admin and click customise you will see the option to use listbackup. You will also see that layout availible via FTP and in the admin or DW.
    Here you can see where in the module paramaters the option to choose listbackup occurs:
    http://helpx.adobe.com/business-catalyst/kb/modules-quick-reference.html#id_65138

  • I want to use Mac Mail for my work email address, which containts multiple outbound options (i.e. hr@, me@ etc). Is there a way to set up Mac Mail to have an account with multiple outbound addresses rather than adding in multiple accounts?

    I want to use Mac Mail for my work email address, which containts multiple outbound options (i.e. hr@, me@ etc). Is there a way to set up Mac Mail to have an account with multiple outbound addresses rather than adding in multiple accounts?

    This sounds like the age old problem with keychain & Safari. I don't know of a way to solve it without using something like 1Password.
    The iOS app has it's own built in browser, so it has more control over what gets autofilled. Safari on OS X has an 1Password extension that handles account selection & autofill etc.
    Keychain is great in principle, but it quickly falls down when you need tight integration with many ID's & different use cases (work, home etc).
    I'd suggest you submit feedback to Apple about your thoughts. I did so years ago about this issue & this is how far we have come (back to the point where me.com synced passwords) :^)
    http://apple.com/feedback/macosx.html
    Other tools like lastpass or keypassx may also help if you want to truly segregate password storage, but that doesn't fix autofill, the way around that issue is to dedicate one browser for work.

  • Send HTML as attachment in email in Stored Procedure

    Hi Guys,
    I am writing a stored procedure to send HTML attachment. Below is my code but no html attachment sent in mail. Kindly advise.
    USE [CarsemERP]
    GO
    /****** Object: StoredProcedure [dbo].[DBA_CarsemERP_SQLBlocks] Script Date: 04/01/2015 15:14:15 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author: <THARMENDRAN>
    -- Create date: <2014FEB21>
    -- Description: TO CHECK ANY LOCKS MORE THN 20 SEC IN SQL SERVER
    -- =============================================
    ALTER PROCEDURE [dbo].[DBA_CarsemERP_SQLBlocks]
    AS
    BEGIN
    DECLARE @iCnt As Int
    DECLARE @ICnt2 As Int
    DECLARE @SendEmail AS VARCHAR(3)
    DECLARE @Temp_DetailReq1 TABLE (
    idx smallint Primary Key IDENTITY(1,1),
    DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
    LoginName varchar (30), HostName varchar (30))
    DECLARE @Temp_DetailReq2 TABLE (
    idx smallint Primary Key IDENTITY(1,1),
    DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
    LoginName varchar (30), HostName varchar (30))
    SET @SendEmail = 'NO'
    SELECT @iCnt= COUNT(*) FROM DBA_SQLBlocksViewTharmen
    IF @iCnt > 0
    BEGIN
    Insert Into @Temp_DetailReq1
    Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
    END
    WAITFOR DELAY '00:00:20'
    select @iCnt2= COUNT(*) FROM DBA_SQLBlocksViewTharmen
    IF @iCnt2 > 0
    BEGIN
    DECLARE @columnHeaders NVARCHAR(MAX)
    DECLARE @tableHTML NVARCHAR(MAX)
    DECLARE @body NVARCHAR(MAX)
    Insert Into @Temp_DetailReq2
    Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
    SET @SendEmail = 'YES'
    BEGIN
    SET @columnHeaders = 'DBName</th><th>RequestId</th><th>BlockingId</th><th>BlockedObjectName</th><th>LockType</th><th>RequestingText</th><th>BlockingText</th><th>LoginName</th><th>HostName'
    set @tableHTML =
    '<div><b>There is blocking in VERPSVR02-02.</b></div><br>' + -- This is the bold text at the top of your email
    '<table border="0" cellpadding="5"><font face="Calibri" size=2>' +
    '<tr><th>' + @columnHeaders + '</th></tr>' +
    convert(nvarchar(max),
    select td = [DBName], '', -- Here we put the column names
    td = [RequestId], '',
    td = [BlockingId], '',
    td = [BlockedObjectName], '',
    td = [LockType], '',
    td = [RequestingText], '',
    td = [BlockingText], '',
    td = [LoginName], '',
    td = [HostName], '' -- Here we put the column names
    from @Temp_DetailReq2
    for xml path('tr'), type)) +'</font></table>'
    END
    END
    IF @SendEmail = 'YES'
    BEGIN
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'MyDBMailProfileName',
    @recipients = '[email protected]',
    @body = 'Please refer the attachment' ,
    @body_format = 'HTML',
    @subject = 'Alert! Blocking On ERPSVR02-02 Live Server',
    @file_attachments = @tableHTML,
    @importance = 'High';
    END
    END

    Hi Guys,
    I need help on how to generated HTML as attachment to email. I have write below stored procedure but the html did not send as attachment. Kindly guide me on how to save the generated HTML as a file and send it as attachment.
    USE [CarsemERP]
    GO
    /****** Object: StoredProcedure [dbo].[DBA_CarsemERP_SQLBlocks] Script Date: 04/01/2015 15:14:15 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author: <THARMENDRAN>
    -- Create date: <2014FEB21>
    -- Description: TO CHECK ANY LOCKS MORE THN 20 SEC IN SQL SERVER
    -- =============================================
    ALTER PROCEDURE [dbo].[DBA_CarsemERP_SQLBlocks]
    AS
    BEGIN
    DECLARE @iCnt As Int
    DECLARE @ICnt2 As Int
    DECLARE @SendEmail AS VARCHAR(3)
    DECLARE @Temp_DetailReq1 TABLE (
    idx smallint Primary Key IDENTITY(1,1),
    DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
    LoginName varchar (30), HostName varchar (30))
    DECLARE @Temp_DetailReq2 TABLE (
    idx smallint Primary Key IDENTITY(1,1),
    DBName varchar(30), RequestId Int, BlockingId Int, BlockedObjectName varchar(30),LockType varchar(30), RequestingText varchar(max), BlockingText varchar(max),
    LoginName varchar (30), HostName varchar (30))
    SET @SendEmail = 'NO'
    SELECT @iCnt= COUNT(*) FROM DBA_SQLBlocksViewTharmen
    IF @iCnt > 0
    BEGIN
    Insert Into @Temp_DetailReq1
    Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
    END
    WAITFOR DELAY '00:00:20'
    select @iCnt2= COUNT(*) FROM DBA_SQLBlocksViewTharmen
    IF @iCnt2 > 0
    BEGIN
    DECLARE @columnHeaders NVARCHAR(MAX)
    DECLARE @tableHTML NVARCHAR(MAX)
    DECLARE @body NVARCHAR(MAX)
    Insert Into @Temp_DetailReq2
    Select DBName, request_session_id, blocking_session_id, BlockedObjectName,resource_type, RequestingText, BlockingTest, LoginName, HostName From DBA_SQLBlocksViewTharmen
    SET @SendEmail = 'YES'
    BEGIN
    SET @columnHeaders = 'DBName</th><th>RequestId</th><th>BlockingId</th><th>BlockedObjectName</th><th>LockType</th><th>RequestingText</th><th>BlockingText</th><th>LoginName</th><th>HostName'
    set @tableHTML =
    '<div><b>There is blocking in VERPSVR02-02.</b></div><br>' + -- This is the bold text at the top of your email
    '<table border="0" cellpadding="5"><font face="Calibri" size=2>' +
    '<tr><th>' + @columnHeaders + '</th></tr>' +
    convert(nvarchar(max),
    select td = [DBName], '', -- Here we put the column names
    td = [RequestId], '',
    td = [BlockingId], '',
    td = [BlockedObjectName], '',
    td = [LockType], '',
    td = [RequestingText], '',
    td = [BlockingText], '',
    td = [LoginName], '',
    td = [HostName], '' -- Here we put the column names
    from @Temp_DetailReq2
    for xml path('tr'), type)) +'</font></table>'
    END
    END
    IF @SendEmail = 'YES'
    BEGIN
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'MyDBMailProfileName',
    @recipients = '[email protected]',
    @body = 'Please refer the attachment' ,
    @body_format = 'HTML',
    @subject = 'Alert! Blocking On ERPSVR02-02 Live Server',
    @file_attachments = @tableHTML,
    @importance = 'High';
    END
    END

  • CS6 Bridge web gallery - HTML Gallery template problem

    In CS6 Bridge, a web gallery created with the HTML Gallery template puts the images in a directory with a path of content\bin\images. This prevents the images from being served from IIS - the bin directory is by default a "Hidden segment". There is no need for the directory hierarchy generated to use the name "bin".
    I know how to work around the issue, but it would be better if the issue was not present in the first place. I tried to report it as a problem on photoshop.com, but was unable to login.
    How do I report this problem to Adobe?

    (Me again, my previous Adobe ID broke). We don't have Dreamweaver, and the users who create and upload web galleries would not be able to use such tools (or a text editor which works on several files at the same time). My workaround is to have a directory dedicated to their web galleries using a web.config file of
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <security>
                <requestFiltering>
                    <hiddenSegments>
                        <remove segment="bin" />
                    </hiddenSegments>
                </requestFiltering>
            </security>
        </system.webServer>
    </configuration>
    So that the HTML web galleries' "bin" sub-directories are accessible.

  • Error in BI4 SP04 Olap Analysis Using Portal iview list template

    We are trying to host the BI Launch Pad BI4 SP04.1 in the SAP Enterprise Portal (7.3.1.Sp04) on AIX 6.1 using the SAP Business Objects Document List Template, but getting an error when trying to use Olap for Analysis.
    When previewng the iview from the portal, the bilaunch pad is opened and the main page is displayed
    Then we select the icon Analysis for Olap, select an Olap connection and receive error in
    message box titled 'Analysis Edition for Olap'
    Login Failed. Invalid, User Name or Password
    It seems to be problem with SSO token back to the SAP portal.
    We have SSO configured from BI4 SP04.0.1 to BW 7.3.1. SP04 and can login to the launch pad using SAP authentication with the same account.
    The security on the OLAP connection is everyone - view. 
    If we change the Olap connection authentication to pre-defined from SSO, Olap Analysis works correctly from the portal iview, but of course the permissions are not acceptable. Further, we set SSO to false  from the global.properties file and restarted tomcat.  We can then start the launchpad from the Iview in the portal and are prompted for manual logon, use SAP authentication and Olap for Analysis runs correctly as the same user we tried previously.
    However, our requirement is to use SAP authentication and SSO from the portal to BI4 and not logon on manually.
    I have entered an OSS message for this issue and making little progress there.  If you have made this work or have some ideas you can share, I would be very grateful!
    Lee Lewis

    Just want to update with more information-
    Again, from the enterprise portal through the ivew - BO Document List template,
    Connects through to BI Launch Pad without having to login-using the BW ABAP credentials
    Then we try to open a webi document with an olap connection that has sso authentication instead of pre-defined user, we do not get the same user login failed message, the page is just blank
    But if I login directly to bi launch pas with the same SAP authentication that was used with the enterprise portal, and bring up the same webi document, the report is displayed as expected.
    Anybody successfully use the BO document list ivew using Olap connections with SSO and not just a pre-defined user?
    Lee Lewis

  • How to use the html:link with a arraylist

    Hi everyone:
    I want to display the data using struts html:link.
    I query the database and place all the data to javabean,later place all the javabean to ArrayList.In Action,I use the "request.setAttribute("lovetable",articlelist) to set request to jsp page.
    I want to pass a parameter "id" use the hyperlink so I can get the parameter when I click the hyperlink.
    But how to use html:link to display it?
    I use <html:link action="viewtopic.do" paramId="id" paramName="lovetable" paramProperty="id"/>,it can't work and Tomcat report error :
    org.apache.jasper.JasperException: No getter method for property id of bean lovetable
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    The lovetable is a ArrayList and it don't have a getter or setter method.
    How to use it pass parameter? :( Thks

    Thank you.
    I use the bean:define successful.And display all the data to jsp.My jsp code is:
    <logic:iterate id="love" name="lovetable">
    <bean:define id="idbean" name="love"/>
    <tr bgcolor="<%=color%>">
    <td><bean:write name="love" property="id"/></td>
    <td><html:link forward="viewtopic" paramId="id" paramName="idbean" paramProperty="id"><bean:write name="love" property="title"/></html:link></td>
    <td><bean:write name="love" property="name"/></td>
    <td><bean:write name="love" property="time"/></td>
    </tr>
    </logic:iterate>
    In Action : request.setAttribute("lovetable",articlelist)
    ResutlSet rs=.............
    List articlelist=new ArrayList();
    while(rs.next()){
    articlebean bean=new articlebean();
    bean.setName(rs.getString("name"));
    bean.setTitle(rs.getString("title"));
    articlelist.add(bean);
    The above code will work property.
    The Tag "html:link" need bean to work other than arraylist so I iterate all the bean out.
    The Tag "logic:iterate" need collection to work so I make Action return a List.
    right?
    Any idea? :)

  • Problem using XSLT & HTML Tags

    Hi all,
    I'm newbie using XML and XSL and i'm facing a problem that i would need some help.
    I wrote a XML using servlet that use a XSL and transform it in a HTML output. So everything seems to work fine but when i try to use HTML tags inside my XSL it is not executed. it looks like below viewing by the browser IE6.0.
    - <html>
    - <body>
    <b>Sun Sep 14 12:27:09 BRT 2003</b>
    <i>Hello World</i>
    </body>
    </html>
    The fact is that i want my HTML tags to be executed by the XSl file and do not simple show the tags. Can someone help me? I would appreciate any help since i've been spending long time with that without any answer.
    Thanks and Regards
    Fabio

    following below the code that generate the XML. I still need help.
    I hope someone can help me in this issue
    The servlet that generate the XML.
    response.setContentType("text/xml");
    String Xml = "";
    Xml = Xml + "<?xml version=\"1.0\"?>";
    Xml = Xml + "<?xml-stylesheet href=\"/XslGravaCrit.xsl\" type=\"text/xsl\"?>";
    Xml = Xml + "<!-- Here is a sample XML file -->";
    Xml = Xml + "<page>";
    Xml = Xml + "<title>Test Page</title>";
    Xml = Xml + "<content>";
    Xml = Xml + "<paragraph>What you see is what you get!</paragraph>";
    Xml = Xml + "</content>";
    Xml = Xml + "</page>";
    try{
    TransformerFactory tFactory = TransformerFactory.newInstance();
    byte[] arr=Xml.getBytes();
    ByteArrayInputStream bytes=new ByteArrayInputStream(arr);
    Source xsl=new StreamSource("../XslGravaCrit.xsl");
    Templates template=tFactory.newTemplates(xsl);
    Transformer transformer = template.newTransformer();
    transformer.transform(new StreamSource(bytes), new StreamResult(response.getWriter()));
    }catch(Exception e){
    System.out.println("Excecao 100: " + e.getMessage() + e.getLocalizedMessage());
    The XSL XslGravaCrit.xsl
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java"
    version="1.0">
    <xsl:strip-space elements="*"/>
    <xsl:output method="html" indent="yes" version="4.0"/>
    <xsl:template match="page">
    <html>
    <body><b>
    <xsl:value-of select="java:java.util.Date.new()"/>
         </b>
    <xsl:for-each select="/page">
    <xsl:sort select="paragraph"/>
    <xsl:value-of select="paragraph"/>
    </xsl:for-each>
    <i>Hello World</i>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>

  • Using Numbers Personal Budget template I can't figure out how to change the categories in both tabs (budget and transactions)

    Brand new just bought Numbers and I used the personal budget template to enter our monthly budget.  I customized the spread sheet with our budget categories, but then when I go to the transactions tab to add our transactions, it only has the generic categories.  How do I change them so that my transactions end up on the table?

    Hi artlisavz,
    There are 2 places to make changes.
    I assume this is where you have already changed things:
    The Budget tab- Summary by Category- just click the name and change it. Or else you dragged the "=" at the lower left to add rows. Added your categories.
    You need to edit the popup in the Transactions tab- Category popup.
    Popup menu is a data format. You find it on the right side bar Format>Cell>Data Format> Popup Menu. Change, delete, go wild. If you edit the first one you can copy it, select the rest of the column and paste. If you find you want an additional in a month or so you can enter it as text (after deleting the popup), then select it and the popup above and choose the popup format instead of multiple and you will have added it to that popup. You will need to fill it to the rest of the column.
    If you added additional categories, you want to update the pie chart.
    Click the pie chart, click "Edit Data References", drag the section to include your added categories.
    quinn

Maybe you are looking for

  • Multiprovider reporting problem

    I have a report built on a multiprovider which has 5 cubes.  On the report there is an entry with # in the division column.  I went in to one of the cubes and found that entry with division being a blank entry.  What should I do now?  My power user t

  • Lost January Update and I am Pi$$ed

    After reading the horror stories about the version 2 update, I elected not to update. I received the prompt then to update to 1.15 which I did. Shortly after I did, all of my files on the Ipod were transferred due to some kind of a glitch to "other",

  • When user click on Submit in the salesquote then this submit action needs to be captured in the BeforeSave script file

    Hi Expert, Explanation: In the sales quote there is a Submit in the Action Menu, so when a user click on the submit button then sales quote approval process triggers and sales quote saved with Approval status as "In Approval" . Requirement: Each time

  • When I press a letter on the keyboard it does multiple letters when I only press it once

    This has only just happened and it is not always the same letter. The letter on the keyboard changes from time to time. Sometimes the keyboard is unresponsive like when I want to add numbers. I will press "s" and 5  or 6 "s" will appear on the screen

  • CDs Suddenly Not Importing...?

    I was putting CDs into my CD player and they were opening in iTunes for Importing. Suddenly, I am unable to do this. I just put in a BRAND NEW CD into my CD player and it won't open in iTunes. What is happening? What else can I do? Is there a setting