Report HTML page from XSL

Hi All,
I need help with generation HTML page from
such XML by using XSL transformation.
XML is generated from db table.
<ITEM level=0 name="Page row 1" type="PR"/>
<ITEM level=1 name="Page row 2" type="PR"/>
<ITEM level=2 name="Table 1" type="T">
     <Captions>
          <Name>Caption 1</Name>
          <Name>Caption 2</Name>
          <Name>Caption 3</Name>
          <Name>Caption 4</Name>
     </Captions>
</ITEM>
<ITEM level=3 name="Table row 1" type="TR">
     <Values>
          <Value>Row 1 value 1</Value>
          <Value>Row 1 value 2</Value>
          <Value>Row 1 value 3</Value>
          <Value>Row 1 value 4</Value>
     </Values>
</ITEM>
<ITEM level=3 name="Table row 2" type="TR">
     <Values>
          <Value>Row 2 value 1</Value>
          <Value>Row 2 value 2</Value>
          <Value>Row 2 value 3</Value>
          <Value>Row 2 value 4</Value>
     </Values>
</ITEM>
<ITEM level=3 name="Table row 3" type="TR">
     <Values>
          <Value>Row 3 value 1</Value>
          <Value>Row 3 value 2</Value>
          <Value>Row 3 value 3</Value>
          <Value>Row 3 value 4</Value>
     </Values>
</ITEM>
<ITEM level=0 name="Page row 3" type="PR"/>
<ITEM level=1 name="Table 2" type="T">
     <Captions>
          <Name>Caption 1</Name>
          <Name>Caption 2</Name>
     </Captions>
</ITEM>
<ITEM level=2 name="Table row 4" type="TR">
     <Values>
          <Value>Row 1 value 1</Value>
          <Value>Row 1 value 2</Value>
     </Values>
</ITEM>
HTML should looks like:
Page row 1
     Page row 2
          |Caption 1 |Caption 2 |Caption 3 |Caption 4 |
          | Row 1 value 1|Row 1 value 1|Row 1 value 1|Row 1 value 1|               
          | Row 2 value 1|Row 2 value 1|Row 2 value 1|Row 2 value 1|                         
          | Row 3 value 1|Row 3 value 1|Row 3 value 1|Row 3 value 1|               
          | Row 4 value 1|Row 4 value 1|Row 4 value 1|Row 4 value 1|               
Page row 3
     |Caption 1 |Caption 2 |
     | Row 1 value 1|Row 1 value 1|
     | Row 2 value 1|Row 2 value 1|
There can be many levels but always table item is leaf,
Thanks in advance,
Regards Peter

Hi
You are probably better posting in the flash forum, as without seeing the code, (and if it is not standard flash html publish) they can probably better advise on a solution.
PZ

Similar Messages

  • Open HTML page from the stage

    How can I open a HTML page by pressing a button on the stage?
    I've created a rollover button and I'm trying to make it open
    an existing html page from the local disk (not an internet URL).
    But I can't make it open with Lingo or behaviour.
    Please help.
    Thanks a lot.
    Gideon.

    goToNetPage "
    http://somewhere.html" is the
    typical form for a page on
    the web, director must use the address format the system's
    browser uses
    for local files, this is somewhat platform dependant, a
    practical
    aproach is to open the file in question from within your
    browser then
    copy and paste the displayed address into your lingo code.
    Some report the goToNetPage counterpart provided by the
    buddyAPI xtra
    works more reliably, the xtra can be used for free if limited
    to a
    couple of functions.
    An alternate approach buddyAPI can use is to have the browser
    directly
    access the html file as if it were double clicked in the file
    manager
    using the same form commonly used to open PDF files with
    acrobat.
    (sorry I don't have example code handy)

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • Referencing static html pages from jsps...

              Hi,
              This is probably a very simple thing to solve, but I'm having problems with referencing
              html pages from jsps under Weblogic.
              I get Error 404 - not found, whenever I try something like this in a JSP...
              <frame name="title" src="title.html" scrolling=no>
              The title.html file has definitely been copied into my ear file, and yet it isn't
              found. I can solve the problem by turning title.html into a jsp and registering
              it in web.xml. But this seems like serious overkill with static content!!
              Am I missing something really simple here?
              

              I've worked it out - directory mistake...
              Thanks,
              Chris
              "Matt Krevs" <[email protected]> wrote:
              >it sounds like a relative pathing problem
              >
              >is title.html reachable if you enter its address in the browser?
              >
              >is title.html in the same directory as your jsp?
              >
              >perhaps you could post your web.xml file?
              >
              >"Chris Sceats" <[email protected]> wrote in message
              >news:3d9c41b5$[email protected]..
              >>
              >> Hi,
              >>
              >> This is probably a very simple thing to solve, but I'm having problems
              >with referencing
              >> html pages from jsps under Weblogic.
              >> I get Error 404 - not found, whenever I try something like this in
              >a
              >JSP...
              >>
              >> <frame name="title" src="title.html" scrolling=no>
              >>
              >> The title.html file has definitely been copied into my ear file, and
              >yet
              >it isn't
              >> found. I can solve the problem by turning title.html into a jsp and
              >registering
              >> it in web.xml. But this seems like serious overkill with static content!!
              >>
              >> Am I missing something really simple here?
              >
              >
              

  • May by anyway view Local Network files[e-book] or videos or html pages, from the main PC

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

    In ipad 3 upgraded to 4 ios, may by anyway view Local Network files[e-book] or videos or html pages, from the main PC if, this main has local host[php/mysql] or, from the local network itself: eg //user/downloads/pdf/ebook1.pdf?

  • Exclude HTML page from Webcache with ESI

    Hi.
    I would like to exclude a html page from cache using ESI.
    Somebody can show me the tags that I need to use?
    Thanks in advanced.

    It is possible to dynamically exclude pages from caching through Surrogate-Control . I couldn't get what you are trying to achieve by using ESI...

  • How to Create HTML page from portal

    Hi
    I have a requirement to create html pages from portal.
    There will be an author who can choose document type as HTML
    and then he will write html codes on saving it should be saved as HTML doc in UCM.
    and publisher should be able to display it on portal(may be using content presenter).
    please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
    and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
    Thanks

    A better way would be to create the page using approach in this blog:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
    That way the page can be edited inline and the html author need not upload html to ucm everytime.

  • How to call an HTML page from a JSP

    Hi,
    I am getting problem in calling an html page from a jsp
    The Sample code is
    int rowsAffected = stm.executeQuery("Select * From Table");
    if (rowsAffected == 1)
    {   %>
    <jsp:forward page="xyz.html" />
    <%

    See the other forum where you asked the same question http://forums.java.sun.com/thread.jsp?forum=45&thread=158981
    Please refrain from cross posting.

  • How to cache a content item like a Static HTML Page from UCM to Coherence/C

    Hi All,
    How to cache a content item like a Static HTML Page from UCM to Coherence/Coherence Web?
    Thanks

    Hi,
    Could you explain your use case in more detail?
    It does not look like proper use of coherence to cache static content - it more suited for dynamic content like user session etc.
    Adam

  • How to extract HTML page from the internet

    i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?

    You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
    The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
    What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method...

  • Re: run a HTML page from a class

    Hi all
    I was just wondering how i could invoke a static HTML page from a method within my class...Anybody know? Any help would be appreciated....

    a) show the page inside your gui:
    JEditorPane htmlContainer = new JEditorPane(new File("yourhtmlfile.html").toURL());b) start a browser and show the page:
    Runtime.getRuntime().exec("yourhtmlfile.html");b will only work if your OS will automatically start the app related to the required filetype (here: *.html). normally newer Linux distributions, Win2000 or WinXP will do this...
    not 100% sure - maybe you will have to use "cmd yourhtmlfile.html" instead of "yourhtmlfile.html"...

  • Opening a HTML page from a Navigation link

    Hi All,
           I have a requirement of adding a new link at the navigation bar of WebClient. This link will open a static html page with some contents. I have created the page required for it. But I don't know how the link will be created at Navigation bar and how to open the html page from it. I am using the SAP CRM 5.0 and I want to add the link at Default profile.
      Please help.
    Thanks
    Indranil Datta

    Hi Sujit,
        Thanks for your help. I have created a new navigation bar entity and added that in a customized profile. I have also mentioned the page name and path for that link from tran SPRO. I found that link after logging into IC WebClient. But that link is not connected with the required page. If I click on the link page, it get refreshed but without any change.
    Thanks,
    Indranil Datta.

  • Oppening a html page from a swing applincation

    How to display a html page from a user interface developed in swing(specially via a JButton.
    please help me!!!!!!!!!

    look at
    developer.java.sun.com/developer/Books/ gui/swing2/swing2_chap20.pdf
    source :
    http://www.manning.com/sbe/files/swing2e/Chapter20.zip
    It's an simple HTML editor

  • Creating a HTML page from the J2ME application

    Hi,
    I am developingan application in J2ME. Can anyone of you out there, help me whether there is any way I can generate a HTML page from the application.
    I have the data but I don't know ho to create a HTML page from a J2ME application.
    Any document or any code will prove handy.
    Thanking in anticipation.
    Ashish

    When you say that "you have the data" you mean that you have HTML code data(<html><body>Hello World</body></html>)? If yes you should create an algorithm that "read" html tag and display text in the appropriate layout/font/size/color...
    A solution could be simplify your HTML code (server side), so you can easly "decode" and display text.
    Giovanni
    Italy

  • Get parameters from html page from java application standalone ...

    Hi all,
    I work in one solution that i have values in Html Page and i want get the parameters values from html and cath they in java application standalone.
    The Html page is in same host than de java application.
    I want know if this is possible. I wnat know if without HttpServlet i can get the parameters from Html Page pure.
    Thanks in Advance for the ideas,
    Antonio.

    Hi Abdul,
    The problem is my client want one solution where i have one page simple page Html and one application java standalone. This application runs in one machine, but we don't have web server. So the question is: Is possible without web server i can get the parameters values that is inside the html page from java application. I remember you that the application java is one .jar that run's with one command line from crontab "java -jar teste.jar".

Maybe you are looking for