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

Similar Messages

  • Need formatted EXCEL output, from View Output,Oracle Applications

    To view the report(Normal RDF report,not XML Publisher Report) output in EXCEL, I changed the Profile Options.
    From: System Administrator Responsibility.
    Navigation: Install -> Viewer Options.
    Added the below entry.
    PDF application/vnd.ms-excel Microsoft Excel
    Now when I submit the report, after completing, when clicked to View Output, I can see the list showing Browser and Microsoft Excel.
    I saved the Excel Sheet,but its not formatted. How do I get the formatted Output. As columns are not in proper shape.
    Please do the needful.
    Thanks.

    Hi Abdul;
    Please check below thread's mention metalink note&advice:
    Open Text output of a Report in Excel - Bad format
    Re: Open Text output of a Report in Excel  - Bad format
    Hope it helps
    Regard
    Helios

  • 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?

  • Formatted HTML output with Spry regions - is it possible?

    I have recently begun using the XML export extension in
    conjunction with an Access database to output dynamic data into a
    page with a Spry master/detail setup. So far, my simple example is
    going great, but I've run into a snag that I need some help with.
    To explain what I'm doing - it's a simple article page with
    the list of articles on the left with the title and date and the
    article title and full contents on the right hand side. So far it's
    all working very well, updating in real time when I click an
    article title on the left. The problem is the output with this one
    field which stores not only text, but also HTML formatting that is
    generated by a wysiwyg editor used on the article creation side of
    this little app. This HTML formatted content is the article body
    and is stored in a field named the same - "body". With traditional
    ASP, the HTML formatting displays as expected and all is well, but
    with Spry, it doesn't output formatted HTML, but instead shows the
    content and HTML code together as text. How can I get this one
    field ("body") to be output so all the HTML formatting is shown?
    This is my simple page example. Click through and you'll see
    what I mean.
    http://www.shoestodyefor.com/ajax.asp
    Here's the section of code in question regarding the output
    on that right hand panel where the body is displayed for each
    article:
    <div spry:detailregion="ds1">
    {title}<br />
    {entryDate}<br />
    <br />
    {body}
    /div>
    Is it possible to have that {body} section shown so the
    dynamically created HTML code from the wysiwyg editor is displayed
    correctly?

    Steve Skinner wrote:
    > Is it possible to have that {body} section shown so the
    dynamically created
    > HTML code from the wysiwyg editor is displayed
    correctly?
    The version of Spry that ships with Dreamweaver CS3 (Spry
    1.4) doesn't
    support the type of output created by the XML Export
    extension.
    This issue has been corrected in Spry 1.5, but no plans have
    been made
    public for integrating Spry 1.5 into Dreamweaver CS3. You
    would need to
    download Spry 1.5 from
    http://labs.adobe.com/technologies/spry/.
    Details
    of how to hand-code the fix for output from XML Export are
    here:
    http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • 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

  • 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.

  • How to format html output of a servlet

    Hello.
    My servlet/JSP is processed by custom tags and XSL Translation.
    After all its HTML output looks not formatted.
    How to format it?
    It is possible in a standard way (using a web.xml'd directive)?
    What roughly I want:
    <html>
      <body>
      <body>
    <html>

    I'd try
    indent="yes" in your XSLT's<xsl:output .../>element.
    Hope this helps,
    -Scott

  • 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.?

  • Format of output from BLS

    When I create a web refence in .NET for a business logic transaction using the following format:
    http://server:port/XMII/WSDLGen/transaction
    The output for the xacute method is of type "Rowset". Is there a way to get this method to return standard xml ? Typically, that's what most web services return.
    Is this something that .NET is doing on it's own or is it the way I'm creating the web reference ?
    BTW I'm using xMII Version 12.0

    Glenn, another alternative instead of using the web service invocation of the BLS transaction is to use the "Runner" servlet instead.  You'll get back metadata in the XML that you can use to dynamically create the column metadata in an ADO Dataset object.  Same basic idea, but you won't need reflection.  You can just parse/process the XML.  In a previous life, I built a wrapper class that executed any transaction and converted the results to a bindable dataset.  You'll be able to do the same.  I might even have the code lying around somewhere, as I know I sent it to a bunch of other people to use when I was at SAP.
    Rick

  • 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

  • NEED HELP:reading output from ms-dos program (with exec)

    I'm trying to execute an ms-dos program using exec,
    and reading it's output.
    the program is running ,but, I can't see it's output.
    I've tried many variations of this code:
    Process p = Runtime.getRuntime().exec("file_name");
    try { p.waitFor();}
    catch(Exception e) {}
    BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
    while((line = input.readLine()) != null )
    please help mewith this - thanks, froy
    System.out.println(line);
    System.out.println(p.exitValue());

    try { p.waitFor();}This doesn't return until the exec process has finished running. So there is no stream for it to get anything from.

  • 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.

  • 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

  • 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.

  • 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?

Maybe you are looking for

  • When password security-setting dialogue box is opened, the bottom can't be seen or moved

    Using Acrobat XI Pro on my Dell PC, I was trying to add password protection to the document.  When I click on the "encrypt with password" button, the password security-setting dialogue box pops up, and I can enter the password.  However, the bottom o

  • ...QUICKTIME will not open it's own files....

    ...it states that the files are the "THE MOVIE COULD NOT BE OPENED. THE FILE IS NOT A MOVIE FILE." Prior to a system crash I had before Christmas followed by a data recovery operation and data transferred to a LaCie 1TB external drive...could the fil

  • Reg: Two credit memo for one credit memo request

    HI expert, The requirement here is related to warranty, payment thru credit memo, partial payment 90% first 10% after receipt of some required documents. So need to configure for two credit memo with ref to one credit memo request, not based on qty..

  • Still image becomes pixelated...

    Hello all. I have a logo that I am animating, making it increase in size as the next scene of my project comes in (the logo is in transparent lettering on a black background) as it increases, it becomes pixelated.... (obviously) Is there any way to a

  • Opening a client file - Mail attachments for example

    Building a swing client mail application has one huge hickup and can't think of a good solution. How do you automatically open an email attachment?? If its a .doc document, it should open a word document automatically instead of reinventing the wheel