Firefox xslt processing instruction

Hi
It's strange, i don't know...
When my processing instruction looks like this
<?xml-stylesheet type="text/xsl" href="xml40_reminder.xsl"?>
i get the transformated xml in both browsers (IE6.0 and Firefox1.5).
On the other side, when the href-attribute beginns with a FQDN i only get the transformation with IE6.0 and not with Firefox1.5.
Example:
<?xml-stylesheet type="text/xsl" href="http://core.mycompany.ch/xsl/xml40_reminder.xsl"?>
Any ideas?
Kind regards
Michael

Yes, the core-server is an intranet-server where we hold our schemas and stylesheets in a centralized place. In contrast the XML's are stored on an other machine. So it would be nice if we could use URL's to link the XML's with the stylesheets.
Kind regards
Michael

Similar Messages

  • XSLT processing instructions ignored, and namespaces excluded

    Hi folks,
    I am developing a BPEL process and created the following XSLT:
    &lt;xsl:stylesheet version="1.0"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    <strong> xmlns:agrlib="http://services.agresso.com/schema/ABWSchemaLib/2005/05/13"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    </strong> exclude-result-prefixes="xsl xp20 bpws ora ehdr orcl ids hwf"&gt;
    <strong> &lt;xsl:output omit-xml-declaration="no"/&gt;
    &lt;xsl:output standalone="yes"/&gt;
    </strong> &lt;xsl:template match="*[not(node())]"/&gt;
    &lt;xsl:template match="node()"&gt;
    &lt;xsl:copy&gt;
    &lt;xsl:apply-templates select="node()"/&gt;
    &lt;/xsl:copy&gt;
    &lt;/xsl:template&gt;
    &lt;/xsl:stylesheet&gt;
    The transform activity is:
    &lt;copy&gt;
    &lt;from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('Variable_1'))"/&gt;
    &lt;to variable="Variable_2"/&gt;
    &lt;/copy&gt;
    This XSLT has been tested in Oxygen and produces the required result with the required namespaces included...i.e.
    <p>
    &lt;?xml version="1.0" encoding="utf-8"?&gt;
    </p>
    <p>
    &lt;ABWSupplierCustomer xmlns="http://services.agresso.com/schema/ABWSupplierCustomer/2005/05/13" xmlns:agrlib="http://services.agresso.com/schema/ABWSchemaLib/2005/05/13" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    </p>
    <p>
    ...rest of file...
    But when the BPEL process executes, it outputs this:
    </p>
    <p>
    &lt;ABWSupplierCustomer xmlns="http://services.agresso.com/schema/ABWSupplierCustomer/2005/05/13"&gt;
    </p>
    Anyone any ideas?

    This is how I create my DOM...
    DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    org.w3c.dom.Document doc = builder.newDocument();
    Element docElement = doc.createElement("Document");
    docElement.setAttribute("Title", "Home");
    org.w3c.dom.ProcessingInstruction pi = doc.createProcessingInstruction("xml", "type=\"xslt\"");
    doc.appendChild( pi );
    doc.appendChild( docElement );
    And this is the output I get...
    <?xml version="1.0"?>
    <Document Title="Home"/>
    I dont get it, Im using jdk1.4.0, and you get the processing instruction coming through, but I dont...?

  • Processing instructions and CDATA in XSLT

    Dear all,
    my BPEL process contains a transform activity. The corresponding XSLT stylesheet supplies an output variable that I want to write to the filesystem as an XML document for use in third party applications.
    This XML document must have a few processing instructions inside. When inserting this processing instructions in the XSLT, they are not inserted into the output XML document, i.e. the processing instructions are ignored. Using CDATA sections results in the same behavior.
    Is there a workaround available for this bug in the BPEL Process Manager (without working with strings and string manipulation)?
    Thanks in advance!
    Lars

    This is how I create my DOM...
    DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    org.w3c.dom.Document doc = builder.newDocument();
    Element docElement = doc.createElement("Document");
    docElement.setAttribute("Title", "Home");
    org.w3c.dom.ProcessingInstruction pi = doc.createProcessingInstruction("xml", "type=\"xslt\"");
    doc.appendChild( pi );
    doc.appendChild( docElement );
    And this is the output I get...
    <?xml version="1.0"?>
    <Document Title="Home"/>
    I dont get it, Im using jdk1.4.0, and you get the processing instruction coming through, but I dont...?

  • Bug when copying processing-instruction() nodes via XSLT

    Hi,
    Database version :
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - ProductionTest case (XSLT identity transform) :
    SELECT XMLSerialize(document
             XMLTransform(
               XMLParse(document '<test><?abc?></test>')
             , XMLParse(document
    '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml"/>
      <xsl:template match="@*|node()">
        <xsl:copy>
          <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>')
           ) as result
    FROM dual;produces :
    RESULT
    <?xml version="1.0" encoding="utf-8"?>
    <?abc ?><test></test>
    instead of the expected output, with the processing-instruction() node at the right place, in document order :
    <?xml version = "1.0" encoding = "UTF-8"?>
    <test><?abc ?></test>Any ideas or workarounds?
    Thanks.

    Yep, same on 11.2.0.3 :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL>
    SQL> SELECT XMLSerialize(document
      2           XMLTransform(
      3             XMLParse(document '<test><?abc?></test>')
      4           , XMLParse(document
      5  '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      6    <xsl:output method="xml"/>
      7    <xsl:template match="@*|node()">
      8      <xsl:copy>
      9        <xsl:apply-templates select="@*|node()"/>
    10      </xsl:copy>
    11    </xsl:template>
    12  </xsl:stylesheet>')
    13           )
    14         ) as result
    15  FROM dual;
    RESULT
    <?xml version="1.0" encoding="utf-8"?>
    <?abc ?><test></test>

  • Updating a XML document with a processing instruction

    Greetings Guru's
    I have a fully functional XML database solution for our new system. The only thing left is for me to update a xml document in the database with a processing instruction to find the style sheet (JAXB strips it out when the XML must go back into the database).
    I can update complete nodes and node elements in the xml document using updateXML in a regular update statement, but I do not know how to add the following processing instruction to my documents.
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    [pre]
    Thanks in advance
    Derrick                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmlText := '<Hello>World</Hello>';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> drop table t
      2  /
    drop table t
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> create table t of xmltype
      2  /
    Table created.
    SQL> set long 10000
    SQL> --
    SQL> insert into t values (xmltype(:xmltext))
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    SYS_NC_ROWINFO$
    <Hello>World</Hello>
    SQL> update t set object_value = updateXML
      2                              (
      3                                object_value,
      4                                '/',
      5                                xmlconcat
      6                                (
      7                                  xmlpi("xml-stylesheet",'type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"'),
      8                                  object_value
      9                                )
    10                              )
    11  /
    1 row updated.
    SQL> select * from t
      2  /
    SYS_NC_ROWINFO$
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    <Hello>World</Hello>
    SQL>

  • The Firefox.exe process hogs 25% of my CPU resources even after I've closed it.

    On a relatively consistent basis, when I close the Firefox windows I have open, the firefox.exe process doesn't end. When I go to open Firefox again later, I get the error message that I can't open Firefox because it's already running or not responding. When I look in Task Manager (on Windows 7 Home Premium 64-bit, BTW), the firefox.exe process is holding steady at 25% CPU usage along with whatever memory usage it already had consumed, even though the Tasks tab doesn't list Firefox as being open.
    == This happened ==
    A few times a week
    == I'm not exactly sure. It sort of just started on its own.

    Ed, this kind of issues are, unfortunately, more common and the we'd like. Thankfully, 99% of the cases are very easy to solve. However, you do need to diagnose what your exact problem is. Do this:
    #run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe-mode] to disable all extensions, themes and plugins. If this fixes your issues, be them with RAM or CPU usage, then you know it's a problem with plugins, themes or extensions. Proceed to number 2. If safe-mode doesn't fix the issues, then read bellow, after this list;
    #update all extensions, themes and plugins in your Firefox. If this doesn't solve the issues, proceed to the following number;
    #disable all extensions, themes and plugins in your Firefox (not running safe-mode). Being certain that, as in safe-mode, the problems you're having have gone away, enable one plugin at a time. You should be certain that you WANT that plugin to be enabled, so keep your overall number of plugins as low as possible. When you encounter the problems, you know you've found a problematic plugin, so disable it for good. Keep enabling all plugins (except problematic ones) until you've gone through them all.
    #enable one extension at a time. Again, be certain that you WANT that extension to be enabled, so keep your overall number of extensions as low as possible. Also, try the theme you want to have installed so see if that is what's causing the problem. When you encounter the problems, you know you've found a problematic extension/theme, so disable it for good. Keep enabling all your extensions (except problematic ones) until you've gone through them all;
    #you're done! You've fixed your problems with problematic add-ons. If you want to keep using those problematic add-ons, please contant their author for support.
    Ok, if disabling all extensions and plugins through safe-mode didn't work to bring Firefox's CPU and RAM usage to good levels, then you have different issue. The most likely scenario is that you have a third party software running on your computer that is messing with Firefox. Do as follows:
    #try reinstalling Firefox. No data will be lost. You can get the latest version for free at [http://www.getfirefox.com/ getfirefox.com]. If that doesn't fix the problem, proceed;
    #do a virus/malware check on your computer. If this doesn't fix it, proceed;
    #disable all software running in the background that you don't want to have running in the background (in windows, this is done by pressing WINDOWS+R in your keyboard, typing "msconfig" (without the commas) and pressing enter. Now, under the "Startup" tab, you can uncheck the software you don't want, and reboot your system for changes to take effect. If you're unsure of what software you want running, ask someone with more experience). If this doesn't fix your issues with Firefox, proceed;
    #check your firewall/antivirus/security suite for enabled functions/features that you don't want and/or may be conflicting with Firefox. You'll find that these features are most likely tied to Internet Security features, such as link scanners or URL checkers and the like. If you're not sure they are conflicting with Firefox, simply try to disable them to see whether or not that's true. As long as you don't browse the web with your antivirus completely off and your firewall completely turned off, there should be no problems. If this doesn't solve the issues, proceed to the following number;
    #check your operating system security options, mainly advanced options that are not configured by default. While it's very unlikely that this may be the cause of the problem (after all, it's the last item on the list), it's remotely possible. If this doesn't work, proceed to the following point;
    #update your modem/router software. There have been some reports that some modem/router software may cause Firefox and other browsers to loose performance and/or stability. If updating doesn't fix your issue, try other versions of the software, if possible. If you need support with this, contact your modem/router manufacturer. If this doesn't help, proceed;
    #clean up your OS registry, using appropriate software. Make sure you've followed my instructions correctly, but if this all doesn't work, [http://support.mozilla.com/en-US/kb/Managing+profiles create a new Firefox profile] (this can be temporary, of course) and see if the issues persist. Report here the results, so we can help you further.

  • How to add XSLT processing tag?

    Hello,
    I am using the following codes to generate xml with xslt processing tags.
    However it does not working. That is, it does not add the xslt processing
    tag into xml outputs. I am using 1.6.x. I must be doing something wrong?
    Document doc = db.newDocument();
    Element root = doc.createElement("myroot");
    doc.appendChild(root);
    ProcessingInstruction pi =
         doc.createProcessingInstruction("xml-stylesheet",
         "type =\"text/xsl\" href=\""+xslt+"\"");
    doc.insertBefore(pi, root);
    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    OutputFormat format = new OutputFormat(doc);
    XMLSerializer serial = new XMLSerializer(pw, format);
    serial.asDOMSerializer();
    serial.serialize(doc.getDocumentElement());
    pw.flush();

    Instead of adding processing instruction directly inside DOM object, add the processing instruction while serializing XML like this
    Document doc = db.newDocument();
    Element root = doc.createElement("myroot");
    doc.appendChild(root);
    //ProcessingInstruction pi = doc.createProcessingInstruction("xml-stylesheet",
    //     "type =\"text/xsl\" href=\""+xslt+"\"");
    //doc.insertBefore(pi, root);
    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    OutputFormat format = new OutputFormat(doc);
    XMLSerializer serial = new XMLSerializer(pw, format);
    serial.asContentHandler().processingInstruction("xml-stylesheet","type=\"text/xsl\" href=\"users.xsl\"");
    serial.asDOMSerializer();
    serial.serialize(doc.getDocumentElement());
    pw.flush();or use an alternate serializer like this one (coming from [http://exampledepot.com/]
        // This method writes a DOM document to a file
        public static void writeXmlFile(Document doc, String filename) {
            try {
                // Prepare the DOM document for writing
                Source source = new DOMSource(doc);
                // Prepare the output file
    //            File file = new File(filename);
                  StringWriter sw = new StringWriter();
                Result result = new StreamResult(System.out);
                // Write the DOM document to the file
                Transformer xformer = TransformerFactory.newInstance().newTransformer();
                xformer.transform(source, result);
            } catch (TransformerConfigurationException e) {
            } catch (TransformerException e) {
        }  

  • JAXB: How do I add a processing instruction?

    Hi there
    I am using XML with JAXB in a client/server environment. On the response of from the server to the client, I want to include a processing instruction in the XML response to indicate a stylesheet associated for example:
    <?xml-stylesheet type="text/xsl" href="test.xsl"?>
    Does anybody have any ideas on how to include a stylesheet while constructing the jaxb object? Or must this declaration be included in the building schema???
    Please help?
    Thanks
    Glen

    this is how I do it in jwsdp 1.4:
    marshaller.setProperty("com.sun.xml.bind.xmlHeaders", "<?xml-stylesheet type=\"text/xsl\" href=\"checker.xslt\"?>");
    This constant is defined as private in the generated marshal class.
    as of now this looks like an undocumented feature.

  • Why are there 26 firefox.exe processes running when the taskbar shows none?

    Win 7 professional, Firefox 25.0.1. If I shut down Firefox and restart it I often get an error that a copy is already running. Checking the Task Manager shows many firefox.exe processes (26 this morning) even though the application tab shows none.

    Hello Axis,
    Can you please confirm if this happens each time you are using Firefox? Also, the cache size wouldn't have a big bearing on this issue happening. Can you please try if this issue happens when you are running Firefox in safe-mode (instructions below). if it doesn't then we can narrow the issue to a plugin / addon.
    <hr>
    Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    <hr>
    Thank you.

  • I am trying to launch Firefox 9.0.1 on Windows 7 but the application window isnt visible even though there is a firefox.exe process running in task manager.

    I am trying to launch Firefox 9.0.1 on Windows 7 but it isnt working. I try to launch it and the application window does not show. When I look at the task manager and then look at the Applications tab, Firefox isnt listed. If I go to the Processes tab, there is a firefox.exe*32 process listed. Each time I double click the Firefox icon, a new firefox.exe process is spawned but there is never a visible instance of the Firefox application.
    There are no errors in the application logs. I end up just having to kill the processes.
    I tried launching in safe mode by holding down the shift button but the same thing happens.
    Any suggestions on what to try? It has never worked since upgrading from version 8. I tried un-installing and re-installing

    I went through everything mentioned in the link you posed and nothing detailed there resolved the problem.
    The Profile folder didnt exist so I created it. Made sure the perms were good and that it was not read only.
    There are no default folders appearing under the profile folder when I start Firefox.
    I have Firefox installed to my E drive.
    Nothing happens. The process appears in the task manager but no application shows up.
    Cant start it in safe mode, cant run the profile manager.

  • Error while creating process instruction sheet in COR2

    While creating Process instruction sheet, the following error is occuring. Please guide me to resolve the issue.
    Define variable QTYPRODUCED for default value
    Message no. CPOC110
    Diagnosis
    In the process instruction, variable QTYPRODUCED is defined for the value that you want the system to propose when data is entered in the PI sheet. This value does, however, not exist because it has not yet been defined as a variable.
    If you want to use a variable in a process instruction, however, you must first have defined it in a preceding process instruction or in the same process instruction.
    Procedure
    Define variable QTYPRODUCED in one of the preceding process instructions or in the same process instruction.
    Define Variable
    Regards
    Kumar

    1.  Assign characteristic PPPI_VARIABLE to the process instruction before the message characteristic to which the variable is to refer
    2.  Assign the required variable name to characteristic PPPI_VARIABLE.

  • How to print process instruction in process order.

    Hi dudes,
    ,y client is not having Process management interface, but they want to maintain process instruction for phases in recipe and want to take print of process instructions  in process order after release process order.
    Please explain the path for printing process instructions copied into process order.
    if some one assign PIs to phase in recipe, will control recipes be created after release of process order.
    Regards
    Daniel

    The easiest way to do what you want is to actually create the PI sheet and then print it off from the view PI sheet transaction (CO60).  This is then all standard functionality.
    to do this you will need to set the configuration to create the control recipe when the process order is released and send it to a recipe destination.
    Regards
    Laurence

  • Firefox will not start and Firefox.exe process will not end!

    Good evening,
    I am typing this on Internet Explorer, and Google Chrome seems to refuse to install. I have been experiencing considerable trouble with launching FF. Whenever I double-click the icon, FF does not launch. There are no error mesages, the cursor just turns to an hourglass and then back to the pointer. When I open the task manager, there is always one Firefox.exe process open that will not close no matter how many times I press the "End Process" button. This is maddening. Can I do anything to get FF up and running again? I have restarted my computer countless times. I ran a scan with Norton Antivirus and whatever it detected obviously wasn't what is causing this issue. Please try and assist me, this is outrageous.
    Thank you,
    ~AdmiralGFM

    See [/forum/1/725968]
    This issue can be caused by malware.

  • Firefox does not open when clicking on the icon, the firefox.exe process consumes 99 % of the CPU and my computer runs slowly.

    I have been a happy user of Firefox for many years. Around last April first I opened Firefox and was offered an update to v 4.42.0.0 which I accepted. Installation seemingly went well. I forget now exactly what happened but the result has been that ever since April 1 I haven’t been able to open the Firefox browser when clicking on the Firefox icon. My computer now was running very slowly. I tried to uninstall Firefox, but a popup told me I couldn’t because Firefox was in use. This confused me because I couldn’t see it being used. Only now I have found that on Task Manager processes that “firefox.exe” was consuming 99 % of the CPU. After removing firefox.exe by clicking End Process my computer ran better. I uninstalled Firefox I had on my computer and installed Firefox 5.0. Unfortunately I have the same problems: Firefox does not open when clicking on the icon, the firefox.exe process consumes 99 % of the CPU and my computer runs slowly.

    Born2die! Brilliant. I am a desktop clicker and never knew Firefox had a safe mode.
    Thank You!
    I was unable to start in safe mode initially. The second time I disabled all of the Add-Ons and she started up just fine. I enabled them one by one hoping to track down the culprit but the problem seems to have gone away.
    BTW I am running ver. 3.6.8 (in response to cor-el's earlier post) and
    Firefox is in the process of downloading 3.6.10 (which I am starting to think may have been what caused this whole problem to begin with)
    Incidentally, whats up with all of the Java Console Add Ons?
    I have:
    Java Console 6.0.11, Java Console 6.0.13, Java Console 6.0.15
    Java Console 6.0.17, Java Console 6.0.20, and Java Console 6.0.21
    What are they? Do I need them? Can I uninstall them? Is this due to using Open Office?
    Also, .NET Framework 0.0.0 Should I uninstall it?

  • Process instructions for particular process order.

    Hi SAP gurus,
    How can I find table level data of process instructions (Like READ 1 , READ2 , INSTR ) maintain  for particular process order.
    If should not with respect to recipe but it should be respect to process order.
    Can any Plz buddy explain me the chain of  tables starting  from order number?
    Best Regards,
    Parag Save

    Hi...
    i could not find the table for the relationship u r looking for... but i would suggest the following...
    Go to SE16.. press F4 in the table list...go to the application help... their you will find tables for each module... even for PP you will find table specific to process industry... this you can search ur own what can be relevant for ur requirement... finally u can use SAP query to join some table to the get the information u want....
    Try this...hopw it should work for u...
    Neeraj

Maybe you are looking for