Ampersand converted in HTML

Hi,
I have a BSP application where I am trying to output a company's name. Some of the companies have an "&" in the name. When the output to the screen rendered I get somthing like:
Sopranos & Co
rather then the expected ...
Sopranos & Co
I am using a <htmlb:inputField /> BSP Element for the output.
I tried setting the encode parameter to "FALSE", but made no difference.
Any assistance is appreciated.

Hi Raja,
thanks for your reply, I tried this, however passing in:
Sopranos &amp; Co
will just give me ...
Sopranos &amp;amp; Co
One thing I failed to mention, the Name of the company is stored in an XML file and retrieved from the XML file (I am dealing with a Web Request). Just now I went and had a look at the XML file in question, the name Sopranos &amp; Co appears there as well.
So I may have to rephrase the question. Is there any way of stopping the conversion of the & into &amp; when writing the data to an XML file.

Similar Messages

  • XML to convert creative html to jsp?

    I am trying to find a way to use XML, XSL, etc., to make the process of building web pages at my company easier between the creative team and developers:
    1.) The creative team creates the images, text, and html (using Dreamweaver). Please note, the creative team barely knows html, much less xml, xsl, or taglibs.
    2.) The creative team then sends me the html pages.
    3.) I then need to "convert" the html into jsps. That is, I remove the mock/dummy dynamic content, and replace it with the scriptlets or taglibs that will produce the real dynamic content.
    This takes alot of time. On top of that, if the creatives ever need to be changed, I need to send the newly converted jsps back to the creative team. They inevitably mess the jsps up, because they do not understand scriptlets or taglibs. Is there some standard way of dealing with this scenario, so that the creative team and I can work better together, and so that I dont constantly "convert" the html pages to jsps? I know one option is Enhydra's xmlc, but I will have a hard time getting the creative team to adopt that.
    thank you,
    David

    y don't u eliminate your jsp from your HTML. you can inculde html files as a header and footer.
    tell to write a comment tag in html <Html code> <table><tr><td> <!--jsp output--></td></tr></table> <Html code>. you can write a small jsp which can String.indexOf("<!--jsp output-->");. you can easily create header and footer files. for your jsp, u can also change your jsp code like this.

  • How to convert a HTML files into a text file using Java

    Hi guys...!
    I was wondering if there is a way to convert a HTML file into a text file using java programing language. Likewise I would also like to know if there is a way to convert any type of file (excel, power point, and word) into text using java.
    By the way, I really appreciated the help that you guys gave me on my previous topic on how to extract tests from a pdf file.
    Thank you....

    HTML files are already text files. What do you mean you want to convert them?
    I think if you search the web, you can find things for converting those MS Office files to text (or extracting text from them, as I assume you mean).

  • Converter for converting all HTML tags to JSF tags

    hai all,
    i am new to JSF. i need a suggestions to convert all my HTML pages to JSF pages bcoz i was already created more pages in HTML and now i want to convert all the pages to JSF. can u give any suggestion plz post it here or send me a mail to [email protected]
    thanks in advance,
    regards,
    V.Sabarish

    hi roman,
    thanks for ur reply. it converts the file but the links r not converting....so can u suggest me another way for converting a HTML tags to JSF tags.

  • Convertion of HTML to Text

    Hai,
    Please suggest me how to convert the HTML to Web format

    hii,
             you convert the pdf format file to text file by checking out in the properties before uploading, so that u can easily upload the file.
    with regards,
    sumanth reddy

  • Converting a html template to php

    How do I convert my html template to a php template? Any help
    would be appreciated.
    Thanks

    You do not need to do anything.
    "foo.dwt" can be used to create HTML, or PHP child pages.
    If you really want to do it, though, you can rename foo.dwt
    to foo.dwt.php
    (using DW's Files panel) and let DW adjust the pages
    accordingly.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "littlemax" <[email protected]> wrote in
    message
    news:f1sodn$6kb$[email protected]..
    > How do I convert my html template to a php template? Any
    help would be
    > appreciated.
    >
    > Thanks

  • Does Adobe have a way for my Windows C++ program to convert an HTML string to PDF?

    Will the Acrobat SDK or another Adobe library or plugin enable my Windows C++ program (not .NET) to convert HTML to PDF? Thanks.

    Our Microsoft C++ (not .NET) application is a server program that runs
    tasks initiated by multiple end users via web, and places the resulting
    files in a central location on the server computer. The files it produces
    are currently HTML5/CSS that reference GIFs (also stored on the server)
    but we would like to also convert these to PDFs and both store them on the
    server computer and email them to users. We are currently converting these
    HTML/CSS/GIF files to Microsoft MHT's but these are not very portable and
    can be viewed only in IE.
    So I guess we're talking about a site license or a server license for each
    server program that we sell to one of our customers.
    -Steve
    NOTICE: - This message including any attachments is intended only for the
    use of the designated recipient(s) named above and may contain
    confidential information protected by law.  If you are not the intended
    recipient, you are hereby notified that any disclosure, copying,
    distribution, or the taking of any action in reliance on the contents of
    this information is strictly prohibited.  If you have received this
    transmission in error, please notify the sender immediately by e-mail and
    delete the original message including any attachments.

  • Compensating for tabs and leader dots when converting to HTML

    A FrameMaker document contains a series of "tables" which are actually very long lists. They have the appearance of a TOC: a text phrase, a long line of leader dots, a tab, and a numeral at the end of the dots.
    Since the tabs and leader dots vanish when converting to HTML, what might I do to either reconstruct the missing dots or re-create the look of a table for these lists?
    Thanks,
    Karen

    Hello Karen,
    There is no way to automatically replace the tabs or leaders. During the conversion all of the information is completely stripped away, leaving no trace of it in the html code.  In my documents I typically set them up like this:
    In FM
    Test Switch[colon][space] …………………..OFF
    Test Switch: …………………..OFF
    When converted to html
    Test Switch: OFF
    There is another, but more difficult way to keep your tabs and leaders somewhat intact, by the use of tables. If you put the data in a table you can keep the information separated by columns and rows. Also you must manual put periods or dashed instead having FM do it. When this is converted to html the data will remain in the tables. By removing the borders of the tables in FM it will appear clean, however; once you convert it to html you’ll see the borders again. You can either leave it this way or control the table properties by a CSS.
    I’m not sure how my examples will show on the Adobe Forum, but I put them in.
    In FM
    Test Switch
    OFF
    In FM without borders
    Test Switch
    OFF
    When converted to html
    Test Switch
    OFF
    When converted to html with CSS
    Test Switch
    OFF
    I hope this helps
    JE

  • Convert DW html pages to PHP in Dreamweaver CS4

    Created web pages in DWCS4 in html but discovered because I need some form pages to interact with MySQL that I should have created pages using DW PHP format. Is there a simple way to convert all html pages to php using dreamweaver CS4? OS is Win XP. Have access to hosting company with MySQL, PHP,PHPAdmin.

    I would recommend against Nancy's suggestion here (and it's REALLY weird to see myself typing that).
    I say it only because you are working within an existing site that likely already has links going to the .html file you are changing.
    If you do a Save As and create a new .php file based on the still existing .html file, you will need to manually change the links on the pages that are currently pointing to the that .html file so they will point to the new .php file. You would need to either open the pages individually and fix the links, or use DW's Find & Replace feature and do a site-wide correction.
    However, if you change the file extension from within the Files tab instead, DW will  update any pages that link to it automatically.

  • Batch convert to HTML

    I have very little experience with dreamweaver, so please bear with me. I'm having over 100 product descriptions wirtten for my e-commerce site by a copywriting company. They will be sending me the descritions is either one word file, muliple word files, or txt files. I need all the text converted to HTML and then imported to a spreadsheet so I can batch upload the descritpions into my site. What is the most efficient way to do this with dreamweaver?
    Your help is greatly appreciated!!!

    Snippets simply insert any text (including html tags) where you have your cursor.
    A snippet can be set up to "wrap" a block of selected text and place the beginning tag
    before the selection and the ending tag following it.
    Set up a test snippet and you will see a radio button where you choose to wrap.
    The dialog box will then provide two separate boxes in which your choice beginning
    and ending tag code can be entered.

  • Converting an HTML file for use in browsers

    Hi Guys and gals,
    I am new to creating java programs to run within a Web environment - thus my reason for asking this question. I hope this is the apropriate forum to point this question to.
    I have created an applet which is invoked inside an HTML file. The HTML is fairly simple, although it does pass a number of parameters for use within the applet.
    I have run the HTML file within Sun's Appletviewer and it works fine. Now I need to convert the HTML for use in Browsers supporting Java 2.
    What is the best resource to use to perform this conversion ? I understand some type of Converter or Plug in is available to perform this task. Can anyone help me out ?

    The easiest way is to use SUNs HTML convertre program.
    You can find the information about the JAVA plugin and how to create the HTML code at
    http://java.sun.com/products/plugin/1.3/docs/html_converter.html
    and
    http://java.sun.com/products/plugin/1.3/docs/tags.html
    Oliver

  • How to convert an html/css website into muse

    How to convert an html/css website into muse.

    Hi,
    It is not possible to convert html/css site into Muse. Muse recognizes .muse files only.
    Regards,
    Aish

  • Convert an html page to pdf

    Is there any way to convert an html file to a pdf?

    Hi Brad,
    Yes there is! Here is how to convert html to pdf.
    You will need Acrobat XI to complete this task. You are welcome to install the 30 day trial version found here. That way you can check out all the other features as well.
    We also offer a monthly subscription found here.
    Let me know if this helps.
    Looking forward to hearing back from you.
    Regards, Stacy

  • Unable to Convert an HTML file to a SharePoint master page on team site

    I have a team site in SharePoint server 2013 where I want to enable Design Manager. I have activated
    SharePoint Server Publishing Infrastructure but I clicked on Convert an HTML file to a SharePoint master page under Edit Master pages, I get an error in my logs below, with
    System.NullReferenceException occuring a few times. Has anyone encountered this error before?
    03/04/2015 17:12:07.86        
    w3wp.exe (0x066C)                            
    0x20FCSharePoint Foundation                    
    Logging Correlation Data         
    xmnv  
    Medium           
    Name=Request (GET:http://*.cloudapp.net:80/sites/*/_layouts/15/AssetPortalBrowser.aspx?&AssetUrl=/sites/*/_catalogs/masterpage&RootFolder=/sites/*/_catalogs/masterpage&MDWeb=9b1d767f-8c34-4411-96b1-f2c1fbd8b775&List=d790ecf3-2afe-48a3-9f7a-e802a39ba138&AssetView=Html%20Design%20Files&AssetType=Link&IsDlg=1)     
    b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.86         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Authentication Authorization    agb9s   Medium
               Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|*\*, ClaimsCount=24          b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.86         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Logging Correlation Data          xmnv  
    Medium            Site=/sites/*   
    b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8 03/04/2015 17:12:07.87         w3wp.exe (0x066C)                            
    0x20FC Document Management Server                Document Management                     
    eua9    Medium            Pending update MetadataNavigationHints for Web[9b1d767f-8c34-4411-96b1-f2c1fbd8b775]List[d790ecf3-2afe-48a3-9f7a-e802a39ba138] = 0 (NoSettings)   
    b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8 03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    8nca     Medium            Application error when access /_layouts/15/AssetPortalBrowser.aspx, Error=Object reference not set to an instance of an object.  
    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureParameterBindings(ObjectSerializer smo)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureChildControls()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.setContextToObject(ObjectSerializer
    newContextObject)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation(String objectId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation()
        at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.OnLoad(EventArgs ...            b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     General                       
    8nca     Medium            ...e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint) b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Runtime                                  
    tkau     Unexpected     System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureParameterBindings(ObjectSerializer
    smo)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureChildControls()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.setContextToObject(ObjectSerializer newContextObject)
        at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation(String objectId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation()     at
    Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecurs... b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     Runtime                                  
    tkau     Unexpected     ...ive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    ajlz0     High     Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException:
    Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureParameterBindings(ObjectSerializer smo)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureChildControls()
        at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.setContextToObject(ObjectSerializer newContextObject)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.ConfigureDialogLocation(String
    objectId)     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.Config...         b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     General                       
    ajlz0     High     ...ureDialogLocation()     at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AssetPickerDialog.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()
        at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()  
      at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at Sy...     b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89*       w3wp.exe (0x066C)                             0x20FC
    SharePoint Foundation                     General                       
    ajlz0     High     ...stem.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    aat87   Monitorable     
                b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     General                       
    ajji6      High     Unable to write SPDistributedCache call usage entry.  b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation             Micro Trace                           
    uls4      Medium            Micro Trace Tags: 0 nasq,3 agb9s,13 eua9,16 8nca,0 tkau,0 ajlz0,1 aat87,2 ajji6     b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8
    03/04/2015 17:12:07.89         w3wp.exe (0x066C)                            
    0x20FC SharePoint Foundation                     Monitoring                               
    b4ly      Medium            Leaving Monitored Scope (Request (GET:http://*.cloudapp.net:80/sites/*/_layouts/15/AssetPortalBrowser.aspx?&AssetUrl=/sites/*/_catalogs/masterpage&RootFolder=/sites/*/_catalogs/masterpage&MDWeb=9b1d767f-8c34-4411-96b1-f2c1fbd8b775&List=d790ecf3-2afe-48a3-9f7a-e802a39ba138&AssetView=Html%20Design%20Files&AssetType=Link&IsDlg=1)).
    Execution Time=42.3522           b463ef9c-5bdb-b0b1-1549-ff0c8ff810b8

    Hi ,
    For this issue, it looks like your SharePoint server(s) have been patched with MS13-052. 
    Please try to uninstall it and reboot your machine.
    Here is a similar post for you to take a look at:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/eec6e515-6a0a-42f2-963d-51fde59be9c4/sharepoint-server-20102-abnormal-issues-please-help
    Best Regards,
    Wendy
    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]

  • How to Convert From HTML to XLS?

    Trying to convert a file from a local county government that uses Microsoft to my desktop.  I was told I need to convert the HTML to a zip file and I might need additional software.  Help?

    You're going to have to explain a bit more about what it is you need to convert and what you need to convert it to. An HTML file is a web page, an XLS is an Excel spreadsheet file, and a Zip file is a compressed archive. So as described in your initial post it's not at all clear, at least to me, what it is you need to accomplish.
    Regards.

Maybe you are looking for