HTML Output from CDATA

I have the following XML code:
<Deliverables><![CDATA[<P><B>test</B></P>]]></Deliverables>
When output into HTML I get the following from that element:
&lt;P&gt;&lt;B&gt;test&lt;/B&gt;&lt;/P&gt;
What flag/property can I use in the template to get the actual contents ?
<P><B>test</B></P>
Thanks
-Gabe

Hi
I'm trying to do something similar to your example.
Have you found a solution?
Thanks in advanced
Vitor

Similar Messages

  • HTML output from Maven report

    Is there a way to get HTML output from the Maven report? When I do a site generation, I see pmd.xml in the target directory and a flexpmd.html file in target/site, but flexpmd.html is essentially empty. I don't see any configuration option for this. The "regular" PMD plugin always outputs HTML and the XML output is an option (although it defaults to on): http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#format

    Actually, flex-pmd-maven-plugin 1.0.RC4 understands this in the configuration tag:
         <outputDirectory>${project.build.directory}/site</outputDirectory>
         <targetDirectory>${project.build.directory}/site</targetDirectory>
    With this, "pmd.xml" and "flexpmd.html" are placed in the site folder, but "flexpmd.html" is replaced later with the empty site report template. So, no real gain here.
    Any ideas on how to integrate the "flexpmd.html" file with the site reports?

  • Help: No Parameters, HTML Output from Java Servlet

    I have a Java Servlet that reads parameters passed from an HTML form and displays them to another HTML page. I know the servlet is being invoked; however, I am not seeing any HTML output. Sending the output to a file reveals the parameters are coming in as NULL as well.
    I attempted a simple sample app with the same results. Here is what I am running:
    The HTML Form:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>Collecting Three Parameters</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1 ALIGN="CENTER">Collecting Three Parameters</H1>
    <FORM ACTION="ThreeParams">
    First Parameter: <INPUT TYPE="TEXT" NAME="param1"><BR>
    Second Parameter: <INPUT TYPE="TEXT" NAME="param2"><BR>
    Third Parameter: <INPUT TYPE="TEXT" NAME="param3"><BR>
    <CENTER><INPUT TYPE="SUBMIT"></CENTER>
    </FORM>
    </BODY>
    </HTML>
    The Java Code:
    public class ThreeParams extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Reading Three Request Parameters";
    out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
         "Transitional//EN\">\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n" +
    "<UL>\n" +
    " <LI><B>param1</B>: "
    + request.getParameter("param1") + "\n" +
    " <LI><B>param2</B>: "
    + request.getParameter("param2") + "\n" +
    " <LI><B>param3</B>: "
    + request.getParameter("param3") + "\n" +
    "</UL>\n" +
    "</BODY></HTML>");
    What happens when I "submit" from the form is the same form reloads with the query string in the URL: "http://localhost:8080/ThreeParams/?param1=1&param2=2&param3=3"
    Any assistance with either (or both) would be thoroughly appreciated:
    a) why the parameters are not being passed correctly to the servlet
    b) why the HTML output page is not displayed
    Thanks in advance!
    - Steve

    I have found the answer to my problem listed in another thread.
    Thank you.

  • Capture generated html output from jsf page in bean

    Hi Member,
    I have need to capture the html output coming form jsf page. means aftr rendering what html is displayed before user, we have need to get it in programm.
    like if we use:
    <h:dataTable......>
    <h:colum>heloo</h:column>
    </h:dataTable>
    then their ouput will be:
    <table>
    <tr><td>heloo</td></tr>
    </table>
    and i have need of these complete line with <table> ......</table>
    Please help me...
    Thanks
    Shailendra Kumar

    Thnx for quick reply.
    But i want to capture it in render response phase. May it will be possible??? Is render response phase is responsible for generation of HTML format?? If yes then how can we capture output coming from this phase.
    URLConnection if fine but it still hit server once. I don't want that. I want to store page html format during its view preparation for html.
    Thanks
    Shailendra Kumar

  • Need Formatted html output from Xalan

    We use xalan xslt processor to convert
    xml document to html. Everything works
    fine, except the output is unformatted html.
    (ie. several HTML elements appear on the
    same line. Some lines are longer than 1000
    characters). This happens inspite of me
    specifying the HTML elements in different
    lines in the xsl.
    I would like to know if there is any way, I can generate formatted html output.
    Thanks

    have u tried
    <xsl:output indent="yes"/>
    in your stylesheet?
    ravi <[email protected]> wrote:
    We use xalan xslt processor to convert
    xml document to html. Everything works
    fine, except the output is unformatted html.
    (ie. several HTML elements appear on the
    same line. Some lines are longer than 1000
    characters). This happens inspite of me
    specifying the HTML elements in different
    lines in the xsl.
    I would like to know if there is any way, I can generate formatted html
    output.
    Thanks

  • HTML output from within PL/SQL

    I have some procedures that use dynamic SQL to select data. I would like to post this data by email using the HTML table format.
    Is there some simple way to produce html from PL/SQL?
    I would like to get the output similar to a SET command in SQL (SET MARKUP HTML ON), how can this be acomplished in PL/SQL?

    but my basic problem is how to generate a HTML table as a result of some select statement (which is dynamic, so i don't know the columns and their types at the time of programming).How about
    SQL>  declare
    p_thequery long := 'select * from dept';
    p_max_rows number := 100;
    param_val owa.vc_arr;
    thepage htp.htbuf_arr;
    irows number := 1000000;
    begin
    param_val (1) := 1;
    htp.adddefaulthtmlhdr (false);
    owa.init_cgi_env (param_val);
    htp.tableopen ();
    owa_util.cellsprint (p_thequery,
                          p_max_rows);
    htp.tableclose ();
    htp.get_page (thepage,
                   irows);
    for i in 1 .. thepage.count
    loop
      dbms_output.put_line (thepage (i));
    end loop;
    end;
    <TABLE >
    <TR>
    <TD>10</TD>
    <TD>ACCOUNTING</TD>
    <TD>NEW YORK</TD>
    </TR>
    <TR>
    <TD>20</TD>
    <TD>RESEARCH</TD>
    <TD>DALLAS</TD>
    </TR>
    <TR>
    <TD>30</TD>
    <TD>SALES</TD>
    <TD>CHICAGO</TD>
    </TR>
    <TR>
    <TD>40</TD>
    <TD>OPERATIONS</TD>
    <TD>BOSTON</TD>
    </TR>
    </TABLE>
    PL/SQL procedure successfully completed.?

  • HTML output from PL/SQL

    What are my options for this?
    I will appreciate the information.
    Thx,
    SriDHAR

    PSPs use the same web toolkit as the htp and htf calls. You set up the same way. If you have Oracle 9iAS, you have an Apache web server set up with the mod_plsql module. If you install the PL/SQL Gateway with the 8.1.7 or later database, you have the same thing. All you need to do is configure a Database Access Descriptor (DAD) that tells mod_plsql which database to connect, and optionally, the username and password.
    In 9iAS Release 1, this is done though the configuration form that you can get to via the documentation pages that are set as your default home page when the application server is installed. In Release 2, this is part of the web-based Enterprise Manager. All of this is well documented - check documentation pages here on OTN, or on Metalink.

  • Problem with Alt Text output from thumbnail image of Lightbox widget

    I’m having a problem with the Lightbox widget not producing alternative text based on the image properties.  I’ve set ALT text for the image properties on both the larger Ligtbox image as well as the thumbnail.  But the HTML output from Muse does not include the ALT text on the thumbnail version of the image.  Here’s an example:
        <div class="popup_anchor">
           <div class="Thumb popup_element clearfix" id="u4409"><!-- group -->
            <a class="anchor_item grpelem" id="untitled"></a>
            <div class="grpelem" id="u4433"><!-- image -->
             <img id="u4433_img" src="/images/n0060292x292.jpg" alt="" width="292" height="292" />
    This may be a problem that came in a previous release of Muse.  I have a few older examples where ALT text is produced, but it’s no longer updated if I update the Image Properties.

    I'm seeing the same problem. Looks like a bug to me. Any ideas as to how we can get this on Adobe's bug fix list?

  • Opening Excel(HTML) output in Excel

    I have an issue whereby my Excel(HTML) output from XMLP is opening in a web browser rather than Excel. I've been through some previous threads on the same issue and many of them mention setting up a 'new viewer' or somesuch as the solution.
    I'm not familiar with that terminology so I'm guessing it a piece of eBusiness Suite functionality. Unfortunately I'm using PeopleSoft and I can't see anything comparable.
    What I have found however is that if you manually alter the header of the output file it works perfectly. i.e. the header looks like this:
    <html>
    <!-- Generated by Oracle XML Publisher 5.6.2 -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Title</title>
    If I change the 4th line to read:
    <meta http-equiv="Content-Type" content="application/vnd.ms-excel"; charset=UTF-8"/>
    It opens in Excel exactly as we'd want. The question is, how do I change this content type? Is there a server side configuration or is it something I can change via XSL?
    kind regards
    Duncan
    http://www.PeopleSoftTipster.com

    Hi Scott:
    I am facing this issue using XML Publisher in 11.5.10.2. I have been able to open rtf reports in PDF format but when choosing Excel, the output is opening in an html web browser.
    XML Publisher version is 5.6.3.
    I am using Oracle XML Publisher Template Builder for Word; version 5.6 Build 45.
    So, I have 2 questions at this point.
    1. I can try Duncans' "fix" and see if that corrects the issue (not really a question).
    2. Should I be upgrading to a version of BI Publisher template for word (10.13.2.1) ?
    Thanks and regards,
    Karen

  • Save html output generated by portal

    Hi,
    How can I save html output from portal
    with UTL_FILE or something else?
    I would like to save html output generated from portal pages to a static html page
    Thanks in advance.
    Anton

    I may misunderstand your question, but how about File > Save from your browser?
    Or do you want to automate this process? There are all kinds of tools out there that you can use; wget comes to my mind right now.
    Peter

  • PDF output from RH9 WebHelp

    I am asked to publish some WebHelp content as PDF prior to the infrastructure being available to publish WebHelp.
    My wish is to publish it as PDF but not with a "Printed documentation" look. I want to create a PDFthat looks like Web pages. What is the best way to do this?
    My thought is to publish to Word, then tweak and then save as PDF.
    In RH 9 , what tools are available for creating a good-looking HTML output from Word?

    Thank you Peter. I don't need the PDF output to look exactly like my HTML (even if it were possible, which it isn't). But I want the PDF output to be in a style of presentation optimised for online reading and navigating (rather than printing). There seem to be a number of limitations with both the template and the CSS approach.
    For example, I can force the page size and orientation of the PDF output by modifying the style map template. But some settings don't seem to come across: headers, footers, two-column layout. It seems that RH9 overrides these settings when it produces its "print" output. So the clean-up tasks post-generation render this effort impractical in cases where the source files will be changing frequently. I suppose a clever macro writer could automate the cleanup tasks, but I don't happen to have one at my disposal.

  • How to get multiple html output file  from an xml document via xslt?

    Hi,
    the purpose is to generate multiple html output file from one xml file
    depending on special tag.
    exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
    Thanks for help

    Not a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
    http://saxon.sourceforge.net/

  • Stop desktop's title from getting rendered in the final HTML output

    Is there a way to stop the desktop's title value from being rendered and displayed in the HTML source of the page? I don't want to use a backing file to achieve this -- looking for a simple easy configuration to remove all the desktop property definitions from getting rendered to the final HTML output.
    Specifically trying to remove the title:
    <title >Microsite Desktop</title>
    <meta name="bea-portal-meta-skeleton" content="/framework/skeletons/testmicrositeskel"/>
    <meta name="bea-portal-meta-skin" content="/framework/skins/testcardsskin"/>
    <meta name="bea-portal-meta-skin-images" content="/framework/skins/testcardsskin/images"/>
    Edited by sjayas01 at 12/18/2007 8:38 AM

    Try this function.
    data: label type string.
    CALL FUNCTION 'DDIF_FIELDLABEL_GET'
      EXPORTING
        tabname              = 'MARA'
        FIELDNAME            = 'MATNR'
    *   LANGU                = SY-LANGU
    *   LFIELDNAME           = ' '
      IMPORTING
        LABEL                = label.
    Regards,
    Rich Heilman

  • Urgent! How to suppress indents in output from (XML , XSL) -- HTML

    I make transformation (XML , XSL) --> HTML using parser v2 of Oracle XDK for Java v 9.2.0.2.0
    I want to generate html in which several tags will follow one after another without new line, and indents.
    Like this
    <html>
    <body>
    <img src="1.jpg"/><img src="2.jpg"/>
    </body>
    </html>
    Only in this case images will be visualized in IE5 together without spaces.
    But xsl-processor is formatting output text: put each tag on new line and make indents for child tags.
    I tried to
    1) eliminate white spaces in xsl
    2) use <xsl:output indent="no"/>
    3) use <xsl:strip-space elements="*"/>
    4) use method setPreserveWhitespace(true/false) of XMLParser (oracle.xml.parser.v2.XMLParser)
    Xsl-processor continue to format output text.
    my xml
    <list>
    <element name="1.jpg" />
    <element name="2.jpg" />
    </list>
    my xsl
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="no"/>
    <xsl:strip-space elements="*"/>
    <xsl:template match="list">
    <html><body>
    <img src="{element[1]/@name}"/><img src="{element[2]/@name}"/>
    </body></html>
    </xsl:template>
    </xsl:stylesheet>
    html-output
    <html>
    <body>
    <img src="1.jpg"/>
    <img src="2.jpg"/>
    </body>
    </html>
    Please help me!

    html-output
    <html>
    <body>
    <img src="1.jpg"/>
    <img src="2.jpg"/>
    </body>
    </html>
    Please help me!

  • Opening an HTML popup from Flash, not as tab

    Hi
    I need to open an HTML popup from Flash (using ActionScript in
    Flex 4).
    Thus far I found a solution, and it does work in Safari - a new
    and separate HTML window is popped up (with a new web page).
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    But in (my) Firefox (with my settings), when I click on the Flash
    (Flex) button, the page is being opened in a new tab.
    I need a solution which pops up the HTML page in a new/separate
    window, as far as possible regardless of the browser (and browser
    settings).
    I found an example where a popup is opened from HTML, and it opens a
    separate window (a real popup) in my Firefox:
    http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html
    -> "Open a requested popup"
    The JavaScript code seems to be:
      OpenRequestedPopup(this.href, this.target); return false;
    with this function def:
      function OpenRequestedPopup(strUrl, strTarget)
        if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
        WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar,toolbar,location,resizable,scrollbars,status");
        else
        if(WindowObjectReferenceOfRequestedPopup.focus)
          WindowObjectReferenceOfRequestedPopup.focus();
    How could I call such code from ActionScript? Should this work through
    ExternalInterface? I couldn't even get this to work:
      ExternalInterface.call('alert', 'foo');
    Should I use swfobject.js for embedding the .swf in the HTML wrapper?
    Any other ideas?
    The two files are pasted below.
    Here's the compiler command I'm using:
      mxmlc -output button.swf -target-player 10.0.0 flash_to_editor.mxml
    I'm running the examples locally (as files, not over http). Would it
    help to place the files on a server?
    Tobi
    <?xml version="1.0" encoding="UTF-8"?>
    <mx:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      horizontalAlign="center" verticalAlign="middle">
      <fx:Script>
        <![CDATA[
    import mx.controls.Alert;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    // This 'http://www.adobe.com' is just an example URL.
    // Works but opens tab in FF (not a separate window):
    private function popUpTheHtmlEditor():void {
      var url:String = "http://www.adobe.com";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_blank');
      } catch (e:Error) {
        trace("Error occurred!");
    // Doesn't work:
    // var url:URLRequest = new URLRequest("javascript:alert('foo'); void(0);");
    // navigateToURL(url, "_self");
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    // How to get this to work?
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('launch','http://www.adobe.com');
      // Or
      // ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes");
    // Perhaps it's necessary to try different approaches:
    // (As soon as I get two approaches to work.)
    private function popUpTheHtmlEditor():void {
      var s:String;
      if (ExternalInterface.available) {
        // Necessary? Safe?:
        // Security.allowDomain('*');
        s = ExternalInterface.call('launch','http://www.adobe.com');
      } else {
         // TODO: Then try URLRequest?
         s = "Wrapper not available";
      Alert.show(s);
        ]]>
      </fx:Script>
      <s:Panel title="One way to open the HTML editor"
      width="75%" height="75%">
        <s:Button id="button" label="Open the HTML editor"
        click="this.popUpTheHtmlEditor();"
        horizontalCenter="0" verticalCenter="0"/>
      </s:Panel>
    </mx:Application>
    <html
      xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en" lang="en">
      <head>
        <title>html_around_swf.html</title>
        <script type="text/javascript">
    function launch(url) {
      alert(url);
      //  OpenWin = this.open(url, "FOO", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=400,height=200");
        </script>
      </head>
      <body>
        <object id="button" name="button" width="550" height="400"
        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
          <param name="movie" value="button.swf" />
          <param name="allowScriptAccess" value="always" />
          <embed id="foo" name="button" src="button.swf" width="550" height="400"></embed>
        </object>
      </body>
    </html>

    Hi, 
    Here's a solution.
    1. Make ExternalInterface work when files are loaded as local files: 
    Go to
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l 
    In tab Global Security Settings: Edit Locations -> Add Location ->
    browse to the .swf file, add it. Make sure it's in the list (under the
    Edit Locations drop down, with a green check mark.) 
    Now open the HTML wrapper in a browser (eg Firefox). 
    Now this works (ActionScript): 
    private function popUpTheHtmlEditor():void {
      ExternalInterface.call('alert', 'foo');
    On Windows: perhaps:
    http://techjig.blogspot.com/2008/03/flash-global-security-settings-windows.html
    "In order for external interface functions to be called, you must also
    specify the folder/file where the swf file is located." 
    The above setup isn't necessary when the files are on a server. 
    Also see: 
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html#call()
    ""ExternalInterface" "
    "call() method" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ea6.html
    "About ExternalInterface API security in Flex" 
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f31
    "Using the ExternalInterface API to access JavaScript" 
    2. Open a real popup: Example: 
    ActionScript: 
    private function popUpSomething():void {
      var editorPathOrUrl:String =
        'wrapper.html';
      var windowName:String =
        "SomeNameSeeDocs";
      var windowFeatures:String =
        "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=500,height=700";
      ExternalInterface.call(
        'launch',editorPathOrUrl,windowName,windowFeatures
    JavaScript: 
    function launch(editorPathOrUrl,windowName,windowFeatures) {
      windowRef = window.open(
        editorPathOrUrl,windowName,windowFeatures
    Works in all browser I tested except Opera. 
    Tobi

Maybe you are looking for

  • New MacBook - Frontrow limitations found at first glance...

    I received my Macbook yesterday, ordered a mini-DVI to Video adapator to connect it to my TV to use with Frontrow. Within minutes I discovered the following limitations: G5 needs to have iTunes open to share music While music outputs to AirTunes, vid

  • How to insert data from itab to another itab ?

    Hi. Now, I have one PR which generates a lot of PO. Each PR number has one or more PO number. ITAB_EBAN has field BANFN, EBELN. ITAB_EKPO had fields EBELN, EBELP, BANFN. How do i insert the ekpo-ebelp into the itab_eban from itab_ekpo for each eban-b

  • Fetching data which are not common

    Hi Gurus,           I got an strange requirement it is to fetch data from 2 internal table from the same field name but the values should not be same.can any one tell me some logic for this? eg: fetch matnr from mara and mard into an internal table b

  • BLOB data into varchar2

    Hi All, Can someone please help me in converting BLOB data into varchar2 or long . we have function which convert long data and return it has varchar . But has part of Apps upgrade the Column has been converted into blob column. Edited by: user103106

  • Site headers not showing

    Page headers and menu bars are currently not showing up on most websites I visit. This has been happening for a couple of hours. It may have started around the time I installed Blackberry's software for syncing with Macs, but I'm not sure. Does anyon