Using .xsl in javascript for portal .html (document iview)

Hi,
I prepared .html document has javascript code in it.
Javascript code uses activex object to process .xsl for xml operation.
I used html document in document iview but problem occured.
I think activex object cause the problem or i gave wrong address  for xsl document.
If i place xsl document in same folder with html document, how can it be addressed (xsl path)?
Is there sample html document using javascript code that uses xsl and activex object in it?
And is it tested as document iview with no problem?
Thanks.

I just completed designing a website for my restaurant using Dreamweaver 8. I included my menu as part of the website and now wanted to print it for customer use in the restaurant. The document is in html format.
You can only print your source code from Dreamweaver. I don't have DW8 installed anymore, but i think it's: File > Print (or Print Code).
If you want to print how it looks with the HTML rendered, then print it from a browser.
HTH,
Randy

Similar Messages

  • How to use xsl in the veriable (of type Document  packorg.w3c.dom)?

    I have xml document in the variable of type Document from the package "org.w3c.dom". I want to use xsl to this xml document to format it.
    I am trying to do something like this:
    <c:set var="aaa">
              doc // doc is of type Document created by traversing the ResultSet.           
    <c:set>
         <c:import url="/generic_stylesheet.xsl" var="xsl" />
         <x:transform xml="${aaa}" xslt="${xsl}" />
    </td></tr></table>
    Help

    hi "user615720"
    If you have questions about JDeveloper 11g TP, you might also want to try this forum :
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • Using DMS Content server for Archiving HR documents

    Hi SAP Gurus,
    with the details gathered from the forum we could suggest the client to go for Archiving there Documents for storing there HR related Documents, like Resumes, salary hike litters, leaves etc....
    but as we do have DMS here and intending to get a Content server for DMS, can we use the same content server for archiving the HR documents also,
    or the other way round if we go a Big archiving server, can we store DMS documents there using it as Content Server,
    Thanks and Regards,
    Priya S

    Yes, you can use the content server. Just create an ArchiveLink Repository on the server and you can use it for HR.

  • Use of CMS/JDI for portal development

    I have recently installed JDI offline and online and configured it for use of XI develpoment but now i am asked to Use CMS to transport portal components or contents.
    My Question, is it possible to Use CMS for portal transports and Can i get any kind of help in implementing CMS for portal.
    Any kind of help would be really appreciated.
    Thanks
    Farrukh

    Hi Farrukh,
    You can look at these too..
    /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
    /people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/719a2172f74b67b150612a7cd3b7df/content.htm
    Hope these help you!
    cheers,
    Prashanth
    P.S please mark helpful answers

  • EDI Standard used in SRM-SUS for Purchaser - Vendor Document Exchange?

    Hi Forum,
    For exchange of electronic documents like ASN, PO, PO Response, Confirmations etc. between buyer and seller, which EDI standard is used in SRM-SUS?
    Say there are two different vendors one from North America using ANSI X 12 as EDI Standard and other from Europe using EDIFACT, how is the document exchange handled for these two different seller / edi standard in same SUS system?
    Thanks,
    Anubhav

    Hi,
    I am not sure what standard SAP uses, but it is not really relevant. At least not for the SUS scenarios. The IDOCs from ECC will be sent to the PI system which will convert them to XML format and send it to the SUS system. Since both PI and ECC system are from SAP, they will speak the same EDI standard for sure.
    For SUS we have two scenarios, SRM-SUS and MM-SUS. In SRM-SUS the PO is created in an SRM system locally and sent to SUS. All communication will take place between these two system via XML messages on both sides (of course a PI system is mandatory in this case as well).
    In the MM-SUS scenario the PO will be created in ECC and transferred to SUS. Depending on ECC release there are two different possibilities for this, either the ECC system sends EDI IDOCs or it sends XML messages directly. IDOCs will be mapped to XML by PI in all cases, as the SUS system will always receive and send XML messages only.
    regards
    Zoltan

  • How to show/hide build in search box in javascript for LightSwitch html clients?

    Hi
    For each collection on content item, there is built-in showSearch button we can add, once the user clicks on the search, a pre-built-in-search-box shows up above the collection so user can search items in the list. How can I show/hide the pre-built-in-search-box
    in javascript?
    Any help will be appreciated
    The built-in showSearch on content item
    The user clicks the search button, and the pre-built-in-search-box shows up to allow user to enter search terms
    jl

    Hi Joe,
    Welcome to Lightswitch forum.
    If you want to show/hide showSearch button, you can execute this line to show the button,
    this.FindControl("showSearch").IsVisible = true;
    Or execute the line below:
    this.FindControl("showSearch").IsVisible = false;
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use  Javascript for anchors as I cant get it to work at all?

    I am currently trying to build my own web site using iweb 08. I am a total newby so this question is for anyone who knows about javascript, particularly Cyclosaurus. I have tried in vain to use Cyclosaurus's javascript for anchors in my FAQ's page via html snippet. I must be doing something wrong, so can you help?
    1). I copied and pasted the javascript anchors code into a html snippet
    2). I changed the, anchors.push(3146) to no's 1, 2 and so on for each question
    3). I then changed 'change this to your page' to faq's
    4). I don't understand anything else from this point so please can you help to rectify my total incompetence and explain it in detail.
    This is what i have tried to do.... anchors.push(1);//faq's. followed by my question? y position
    Is this correct or have I gone totally wrong
    Please help
    Many Thanks

    I have finally published my site and yes Cyclosaurus anchors javascript worked great. It won't work when you are working on your site pages, not until you publish your site.
    Follow Cyclosaurus instructions above, it was after where I got stuck. So this is for the many people who need very clear instructions from start to finish. Otherwise you can spend countless hours scrolling through these forums. Here is what you have to do next:
    Each question must be numbered. So your first question would be numbered "1" and so on. Highlight your question at the top of your page. Open inspector and go into hyperlink
    Tick enable hyperlink box and select link to an external page. Delete everything but http:// and type in #1
    Repeat this for each question - next question would be #2 and so on
    Remember to hyper link all your "back to top" or "Top" as #0
    That's it, your good to go to go
    Thanks again to everyone

  • Using a letterhead template for a multi-page document

    When using a letterhead template for a multipage document, how do I turn off the template for pages after the first page? I do not want to have the letterhead show up on every page of a letter.

    John,
    You can set new margins for your new section in the Layout Inspector. After removing the letterhead elements open the Layout Inspector, choose the Layout tab and set the margins as you need them.
    Once you've created and formatted the section to your liking, make it a permanent part of your template.
    1. With the cursor on the second page, go to Format>Advanced>Capture Pages
    2. Give the page a descriptive name, such as 'Second Page'. Include 'First page only.'
    3. Click 'Ok.'
    This 'Second Page' is now listed under the "Sections" icon on your toolbar.
    4. Save the document as a template.
    Now, whenever you start a new document based on this template add the second page using the Section Icon.
    There is a shortcoming to this method in that text will not flow from the first page to the second, given that there is a section break between the two pages. This would be the case even in Word. Of course, even in Word you could not change the margins for the second page without also changing the margins for the first page unless you used a section break.
    One way to avoid this problem is to but your address block for the first page into a page high text box and allow text to wrap around it. You can keep the same margins for the first and second page, but on the first page the text will be pushed over to the right. When it wraps to the second page, the text will return to the left margin.
    Good luck,
    Terry

  • Use Java to collect data from HTML

    Hi Guys
    I am doing a online stock trading project, the main part is to collect raw data from http://finance.yahoo.com User can retrieve the stock detail by inputting the right stock symbol, such as "AOL". I dont have too much problem in this part because yahoo provde a spreedsheet format to display the result. If you type the URL below, it can bring you a set of stock data separating by comma. So, I can use StringTokenizer(date, ",") to collect each data from yahoo into my system.
    ========================================================================
    http://finance.yahoo.com/d/quotes.csv?f=sl1d1t1c1ohgv&e=.csv&s=AOL&
    "AOL",15.57,"8/12/2003","4:01pm",+0.04,15.47,15.63,15.40,12097200
    ========================================================================
    However beside this function, I also need to search Stock Symbol, because user may only know the company name. Although Yahoo finance also provide this function, with no spreedsheet format provided. So, if I type the URL below, it will only give me a set of result BUT in HTML format.
    ========================================================================
    http://finance.yahoo.com/l?s=AOL&t=S&m=
    ========================================================================
    So, can anyone tell me what is the best way to collect data from a HTML page? Or anyone know any good stock quoting sites which also provide spreedsheet format?
    Thank you very much
    Kel

    I am doing a online stock trading project, the
    the main part is to collect raw data from
    http://finance.yahoo.com
    Sounds fun.
    So, can anyone tell me what is the best way to
    to collect data from a HTML page? Or anyone know any
    good stock quoting sites which also provide
    spreedsheet format?I really don't know any other stock quote sites. But if you want to implement a search function for stock names, I would do it like this
    1) Code the HTTP SUBMIT/POST to lookup the possible stock names
    2) Use XSL to filter out the HTML path to the table with results, the layout is consistent, so there are no strange exceptions. You can check the DOM structure by using Mozilla's DOM inspector. Just write down the path to the TABLE element and select it, and transform it to CSV for example.
    3) Reparse the CSV to fill some boxes
    To possibly save some server load use a small fixed size in memory cache to store N requests based on some strategy.
    The other part is actual a separate part of what you want to code and should be a separate class in which you can feed the stock name.
    If the user types in a bad stock name, you can retrieve a list of possible names using the input as the company name.
    Greets.
    Maybe there is a SOAP service out there somewhere.

  • Opening html document.

    Hi all,
    I am trying to use java code to open a html document called "about.htm". At the moment I have the following code:
    public AboutDialog(Frame parent)throws IOException
         Runtime rt = Runtime.getRuntime();
         Process p = rt.exec("C:\\Program Files\\Internet Explorer\\IEXPLORE.exe  D:\\Work\\about.htm");
         }Although this code works the problem is if I transfer it to another PC which does not use Internet Explorer I want it to open using whatever the default program is (ie.Firefox).
    In other words I want to remove the line C:\\Program Files\\Internet Explorer\\IEXPLORE.exeAny help would be appreciated.

    FebTen wrote:
    Change the statement like this. It works
    Runtime rt = Runtime.getRuntime();
    Process p = rt.exec("cmd.exe /C start C:\\Progra~1\\DinPro\\about.html");No, absolutely not the right way to do it. That is unreliable as it assumes the short name of "Program Files" is always "Progra~1", which is not necessarily true. If there happened to be a couple of folders named, for example, "Program Files" and "Programmers R Us", both of those would have short names like "Progra~1" and "Progra~2" (or somesuch), and you can't be certain which one will map to "Program Files".
    The true solution is to do as DrClap said.
    Process p = rt.exec("cmd.exe /C start \"C:\\Program Files\\DinPro\\about.htm\"");Alternatively (and a better way) you can use the various flavors of Runtime.exec, passing it an array of strings, and it will insert the correct quotation marks around the ones containing embedded spaces. Something like:
    String[] args = { "cmd.exe", "/C", "start", "C:\\Program Files\\..." };
    Process p = rt.exec(args);Check the API documentation.

  • Viewing a HTML document in my Java program

    Hi,
    My Java program has a JTextPane that can display plain text or HTML documents. This program can mark up certain parts of the document to draw the user's attention.
    However, I am having problems when it comes to marking up some of the HTML documents. When they are first loaded onto the JTextPane, they appear fine. When I then run the method to apply the mark up styles, I notice that the text turns the same color as the background after a certain point - making it impossible to see the document or markup.
    The HTML (or text) document on display is made into a StyledDocument. And this is how the View for the HTML documents is created:
    HTMLEditorKit htmledkit = new HTMLEditorKit();
    ViewFactory myHTMLViewFactory = htmledkit.getViewFactory();
    return myHTMLViewFactory.create(elem);
    Note that elem is an Element -.-
    - I tried modifying the color tags in the HTML document, but even when I made the text black and the background white, the text still goes white. If it's a black background, the text goes black, etc. The markup style is actually trying to turn parts of the text red - and it works almost all of the time, apart from these certain documents.
    - I then tried applying my own style whenever a HTML document is loaded in, in the hope that I could force the background white and text black, regardless of the tags:
    MutableAttributeSet att = new SimpleAttributeSet();
    StyleConstants.setForeground(att,Color.black);
    StyleConstants.setBackground(att, Color.white);
    doc.setCharacterAttributes(0, doc.getLength(), att, false);
    The resulting document display kept the original HTML background color, but wherever there was text it looked like someone had run a highlighter over it to change the background white and text black. Kinda ugly! And it still didn't work - come markup time this style was ignored after a certain point.
    - This is one of the HTML documents that causes the problem:
    <html>
    <head>
         <link rel="STYLESHEET" type="text/css" href="mystyle.css">
         <title>My Document</title>
    </head>
    In the body tag:
    <table>
    table here... this displays fine
    </table>
    And here is the problem point:
    <table width=100% cellspacing=0 cellpadding=0>
    <tr>
    <td>
    <table width=100% cellspacing=0 cellpadding=0 style="padding: 3px; padding-top: 6px; padding-bottom: 6px;">
    <tr>
    <td width=100% style=" padding-left: 6px; padding-right: 6px;">
    <table class=pane cellpadding=0 cellspacing=0>
    <tr>
    <td width=100% class=panetitlebox align=Center >
    This is the last text that gets displayed! After this sentence, text goes same color as background.
    </td>
    </tr>
    <tr height=100% valign=top>
    <td class=panebox colspan=2 align=Left style="padding: 0px; border: solid 1px; border-top: none;">
    <table width=100% cellspacing=0 cellpadding=0>
    <tr>
    <td class=content align=Left style="padding: 4px; background: transparent;">
    <b>Bold text that doesn't show</b> More text that doesn't show
    And so on....
    In the header tag of another HTML document that has the same problem, it says it is HTML version 4.0. I have looked up the Java API and found that the javax.swing.text.html package is still 'migrating' towards HTML 4.0 and only supports HTML version 3.2. (Even in the API for Java 1.5 beta, although I use Java 1.4.2)
    So I assume that Java just can't handle my documents! I also think that most of these HTML documents were generated by a program (I think I saw Frontpage in one of the document's meta tags), because when I make my own HTML it doesn't have the problem.
    But it would be nice if my Java program can support these documents, so does anyone have any suggestions as to how I could get these documents to display properly once I apply mark up styles?
    If I haven't explained something properly, I will clarify as it is a complicated program, and I've been driving myself crazy with this problem for several days!

    I was looking through the HTML document removing pieces of code to see where the problem was. I removed all code relating to styles, alignment, width, padding etc, with no luck. The document has several tables, many of them nested, so I added some comments to see where each started and ended. After I added the comments, I checked the document in my Java program again, ran the mark up styles, and it suddenly worked! So I removed each comment one by one, checking each time, until I found the one that made it work. I then tried typing in the same spot, adding an extra space, moving the <tr> tag onto the same line, but only the HTML comment made it work. Here is the part of the document where I added the comment (it's in bold)
    This is the last text that gets displayed! After this
    sentence, text goes same color as background.
    </td>
    </tr>
    <tr height=100% valign=top>
    <td class=panebox colspan=2 align=Left style="padding:
    0px; border: solid 1px; border-top: none;">
    <table width=100% cellspacing=0 cellpadding=0> <!-- This comment makes the document display fine after markup -->
    <tr>
    <td class=content align=Left style="padding: 4px;
    background: transparent;">
    <b>Bold text that doesn't show</b> More text that
    doesn't showDoes anyone know WHY this is happening? It's so weird. I thought if it was something more obvious, like styles, I could just get my program to remove them when reading in the document. But added HTML comments????
    Thank you ^_^

  • IPad mini for writing word documents?

    Can I use the iPad mini for writing word documents etc. Or even if I can use an app and export it for word etc. Is it already loaded app or do I have to buy it?

    Pages, Keynote and Numbers make up the iWork's suite of apps.
    As long as both iPads are using the same Apple ID for purchases from the App Store you could purchase Pages only once. There are drawbacks for using the same Apple ID on multiple devices when those devices are used by different people.
    Pages will export documents in Word format so that can be opened by Word on a Mac or PC. Pages is a nice app but it is not as all encompassing as Word on your regular computer. There is some formatting that can be done in .word that will not translate in Pages. Even with that though I find Pages a good App.

  • Opening help html documents from 10g form

    We are converting our 6i forms to 10g. I am trying to open my help html documents from the 10g forms. We have modified the httpd.conf file setting the DocumentRoot "/oracle/apps/aces/help". This is the path where my html documents reside. From the 10g forms I am using web.show_document to open the html documents. I am getting a Page not Found error. Is there somewhere else the help path needs to be set?
    Thanks!!
    Shellie Bricker

    The way i know is, putting some AliasMatch in the conf-file of Apache like
    AliasMatch ^/help/(..*) "C:\help/$1"And then use WEB.SHOW_DOCUMENT with this virtual path
    WEB.SHOW_DOCUMENT('//help/helpfile.html', '_blank');

  • Insert/remove image HTML document

    Hi,
    I use a JEditorPane to edit an HTML document
    How can I insert an image into the document?
    How can I remove an image into the document?
    thank you
    Greg

    crash wrote:
    > Adobe Acrobat is a plugin, and as such it requires the
    plug-in to view. You
    > cannot "mix" a pdf and HTML AFAIK. The PDF must be view
    in the PDF
    > application.
    >
    > You can, of course, convert your PDF to any image format
    and place it within
    > your content as you've done.
    >
    > You might try using frames, but I don't know how
    successful that would be
    > (sounds a bit nightmarish to me).
    >
    > HTH,
    >
    > Jon
    >
    > "rcshell" <[email protected]> wrote in
    message
    > news:e48u6r$nmi$[email protected]..
    >> Hi there,
    >> I would like to import or insert a pdf file
    (acrobat) into an html
    >> document
    >> and be able to write above and below the document. I
    have copied the
    >> document
    >> into MS paint and saved it as a gif file and
    inserted it that way...Is
    >> there
    >> any more
    >> direct way to do this? I have not been able to copy
    and paste directly
    >> into
    >> DW from
    >> adobe acrobat....Please advise!!
    >> Thanks abunch!
    >> RC
    >>
    >
    >
    Or you could convert the pdf to FlashPaper, then insert as
    you would an
    image. You choose the size.

  • Saving changes in KM Document IView

    Howdy Folks!
    I am displaying an Excel Document on my Portal Site using an KM Document IView.
    This Excel Document is editabel for users of the Portal Site that they can leave information there.
    For example, it could be a public document and everybody can leave his/her adress, phone number, birthday, etc.
    So how can the changes (entries) of users be saved in the Excel List? Is it possible to display the menu bar (save button) of Excel files in the KM Document IView?
    I'am pleased to receive help and answers.
    Thanks a lot!
    Dominik

    Not possible in KM Document iView.
    Suggest using WebDAV or Web Folders. KM Document iView is display/download only.

Maybe you are looking for

  • Error while issuing billing documents

    Hi all, I have created a billing document and i wanted to issue it using "VF31" transaction. When i enter my no in the billing doc no in VF31 transaction and i run it, i get two errors: 1) Processing log for program RSNASTED routine ALE_PROCESSING 2)

  • IPhone 3GS GPS no longer working-What should I do?

    I have a very annoying problem with my iPhone 3GS. I have invested a considerable amount of money on Navigation applications and applications that use GPS. GPS reception started to get unreliable and it was deteriorating over time. At the beginning m

  • Cannot Authorize to Reinstall HP Printer Drivers

    I have had an HP Photosmart 2575 All-in-One since about November or so. It was all working fine until one day I tried to print from Microsoft Word. The print didn't get processed, the program said it could not locate the printer, and that I needed to

  • Excel 2010 SP2 opens files slowly after installing SP2

    After installing SP2 Excel is opening files very slowly. Files can be on network share or locally, no matter. If Excel is already open, then the file opens fast as it has opened before. OS is Windows 7 64-bit, and Office Professional Plus is 32-bit.

  • Regarding idoc trigering

    HI Experts, I am new iin idoc. Could anyone please help to trigger a idoc on save click of we21 . Please tell me how i can search relatig user exist and BAPI for that  we21 and how i can trigger a idoc. Yours cooperation will be appreciated. Rgds, Pr