Open .xml file in browser

Here is what I am trying accomplish: I have a bunch of XML files saved in a shared drive, I created an Infopath schema based on that xml and published it to a Sharepoint library. I want to be able to
click on any of the the .xml files in my drive and have them open in the browser, right now it is working when I right click and select "Open in Infopath".
I figured this could be achieved by modifying the header of the xml to include the URL where the associated schema has was published to Sharepoint:
<?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:EFT:FieldTicket-Report" solutionVersion="1.0.0.6" productVersion="16.0.0.0" PIVersion="1.0.0.0" href="https://blah.sharepoint.com/sites/blah/EFT/Forms/template.xsn"?>
To include something like .../Forms/template.xsn?OpenIn=Browser" but of course this isn't working.
Is there a way to do this? Thank you
ITGirl

Hi
Please check this
[Connection error Altova XML Spy]
[https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134383733313126]
Edited by: Kevin Shah on Nov 9, 2011 6:08 PM

Similar Messages

  • Open XML file with user default browser and not the default editor.

    Hi,
    I'm writing a java program that appends numerous XML files together. The result is a NEW well formed XML document. Since i have an XSLT that performs several UI modifications on this xml file, the file extension must remain '.xml'. I need to open this xml file with the users default web browser. The problem is that:
    Runtime.getRuntime().exec(cmd);
    ....opens the xml file with the users default program for opening xml files which in my case is Oxygen. I want to force java to open this xml file with the users default web browser and nothing else.
    I guess i need the Windows command to perform the 'open with' feature but i have no idea what that command is or how to find it.
    Any ideas?
    Thanks,
    Varun Singh
    Edited by: Jagara00 on Jul 2, 2009 3:49 PM

    sabre150 wrote:
    Jagara00 wrote:
    Your right, but my question relates to the java issue and not the XSLT aspect of the problem. I am looking for a java solution for reasons i will no go into here. You have lost me.Me too.
    People do not often ask questions (or make challenges or observations) idly for the sake of 'theory'. It is most useful to explain to the best of your ability.
    As to
    "Since the Desktop class was only released with SE 6 I am forced to find another alternative. "
    There is an 'alternative'. You can import it into a 1.5 project. It was available as a free standing API before 1.6 - through JDIC. See [https://jdic.dev.java.net/documentation/Examples.html|https://jdic.dev.java.net/documentation/Examples.html] for more info.
    Edit 1:
    To a later reply
    "Do u .."
    ..want to spell incorrectly when you get frustrated?
    "..do not wish to.."
    ..get any help? That is the way you are heading.
    Edited by: AndrewThompson64 on Jul 3, 2009 9:27 AM

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • The Open XML file cannot be opened?

    Hello there,
    I tried to open my novel that I had been writing on Word Document but I cannot. A box pops up with this wording...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    And then when I click 'OK', another message pops up...
    Word found unreadable content in Villain.docx.
    Do you want to recover the contents of this document? If you trust the source of this document, click Yes.
    But just as I begin to think I have solved it...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    Location: 2
    I don't understand this! What does it mean? And how can I re-open it? I can't lose this data!

    So... nobody knows how to possibly fix this?

  • Unable to open PDF file in browser using Reader 9 with IE8

    I just updated to IE8 and when trying to open a PDF file on the browser, I received a message stating to use Adobe Reader 8 or 9.  I downloaded AR9 and still receive the same message and cannot open PDF files in browser window.  It defaults to my Adobe Acrobat 6.0 which will not open the file.  I have Windows XP.  I do not have a problem opening a PDF file in Yahoo mail with AR9.  I have tried many different ideas on the web to no avail.  Appreciate any help to be able to default to open PDF files in the browser using AR9 which is apparently required by IE8.

    Fixed problem by taking to a computer store to find that my hard drive storage was maxed out.  I had the hard drive repaced with a larger amount of storage.   Problem resulted from inadequate amount of storage space which prevented me from downloading and installing Adobe Reader 9.
    Thanks to al that responded.  

  • Cant open pdf files in browser

    Cannot open pdf files in browser but can open from hard drive. Using Adobe 11.0.02 with Windows 8. Have uninstalled Reader and reinstalled and then restarted PC; Checked for updates; used the Repair selection on the menu. Frustrated. Suggestions?

    Hi adityabhargava01-
    My first suggestion is to upgrade to the most recent version of Firefox by going to this link:
    http://www.mozilla.org/en-US/firefox/new/
    My second suggestion is to read this article on how to many your preferences on how Firefox deals with PDFs and all other file types:
    [[Options window - Applications panel]]
    I hope that helps!

  • How to open XML file in Netscape

    How to open XML file in Netscape.....
    XML file is opening correctly in IE, but giving error in Netscape.Error is
    Error loading stylesheet: Parsing and XSLT stylesheet failed....
    Reply me soon..............

    You may check these tips:
    How to Access Local File Systems from J2ME devices using FileConnection API
    http://www.java-tips.org/content/view/109/73/
    Opening and reading a file on the mobile device
    http://www.java-tips.org/content/view/352/73/

  • Adobe Reader 9 is not opening same files in Browser "Error in this Page"

    Adobe Reader 9 is not opening same files in Browser "Error in this Page"
    If I try to open this pdf file manually then its works.
    The Error comes if I try to open Big Files or some else Files in the Browser.
    This Error was not comming with Adobe 8.

    To uninstall Adobe Reader, make sure (using Task Manager's Processes tab) that Adobe Reader is not running.  Browser windows should also be closed.
    If you still cannot proceed, try in Safe Mode, or use the Windows Installer CleanUp Utility.
    P.S. Adobe AIR and Acrobat.com are not directly related to Adobe Reader, and can be uninstalled independently.

  • How to open XML files?

    Could someone suggest me how to open XML files? (Microsoft free XML converter doesn't work for all files)

    There are several XML editors available at VersionTracker or MacUpdate.

  • Error opening excel files in browser

               
    Okai I am currently facing an error when i try to open excel files in browser .  it gives the prompt "The workbook can not be opened".
    Upon checking the logs I found the following entries in the log file . recently we tried to move our site over https but later the idea was scrapped and we retracted to the old iis settings furthermore sharepoint forefront protection is also installed on our
    farm . 
    When i check the event viewer I see the following error every time i try to open excel workbook on sharepoint browser
    1719104822: #960013: Antivirus scanner timed out.
    ULS LOGS :
    m   MossHostFileLoader.GetCloseUri: parent folder/list url = /CorporatePlanning/Tasweeq QAS/9 - Functional Procedures and Standards/Corporate Planning/Standards/Master documents for file = Tasweeq QAS/9 - Functional
    Procedures and Standards/Corporate Planning/Standards/Master documents/PLS-06A Sample Economic Template A (Condensates) 14 Aug 2013.xlsx
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868
    Excel Services Application     Excel Calculation Services    
    5pam Medium  
    BaseWorkbookManager.GetBaseWorkbookAndMarkUsedAsync: There are 1 Base Workbooks in the Base Workbook Manager
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 Excel Services Application    
    Excel Calculation Services    
    27e7 Medium  
    BaseWorkbookManager.GetBaseWorkbookAndMarkUsedAsync: Spawning BaseWorkbook job to load the file.
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 Excel Services Application    
    Excel Calculation Services    
    gvr1 Medium  
    BaseWorkbook.CacheStream: Fetching "http://tq-intra1:77/CorporatePlanning/Tasweeq%20QAS/9%20-%20Functional%20Procedures%20and%20Standards/Corporate%20Planning/Standards/Master%20documents/PLS-06A%20Sample%20Economic%20Template%20A%20(Condensates)%2014%20Aug%202013.xlsx"
    to local disk cache as "C:\Windows\TEMP\Excel Server\FileCache\f85d573e-d592-4ce5-8c5e-3095a297861c\Workbooks\f1c8e29f-15fc-42a9-89bb-37c14a5995b0.xlsx.xlserver"
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 Excel Services Application    
    Excel Calculation Services    
    d1qs Medium  
    MossHostFileLoader.FetchStreamInternal: Fetching version 512 from File.Versions collection. The latest version available is: 512
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 SharePoint Foundation        
    General                      
    1
    Critical 1719104822: #960013: Antivirus scanner timed out.
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 Excel Services Application    
    Excel Calculation Services    
    91zq Medium  
    BaseWorkbookManager.GetBaseWorkbookAndMarkUsedAsync: Got an error when trying to fetch file from file loader. Error was Id=GenericFileOpenError; Microsoft.Office.Excel.Server.CalculationServer.FileOpenException: The workbook cannot be opened.
    ---> Microsoft.Office.Excel.Server.Host.HostFileException ---> Microsoft.SharePoint.SPException: Error Found:      at Microsoft.SharePoint.SPFile.GetFileStreamCore(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew,
    String& contentTagNew)     at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.OpenBinaryStream()    
    at Microsoft.Office.Excel.Server.MossHost.MossHostFileLoader.FetchStreamInternal()     --- End of inner ex...
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 Excel Services Application    
    Excel Calculation Services    
    91zq Medium  
    ...ception stack trace ---     at Microsoft.Office.Excel.Server.MossHost.MossHostFileLoader.FetchStreamInternal()     at Microsoft.Office.Excel.Server.MossHost.MossHostFileLoader.FetchStream(IIdentity currentIdentity)    
    at Microsoft.Office.Excel.Server.CalculationServer.SharePointFileLoader.FetchStream()     --- End of inner exception stack trace ---     at Microsoft.Office.Excel.Server.CalculationServer.SharePointFileLoader.FetchStream()    
    at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbookManager.CacheStream(CachedFile cachedFile, FileLoader loader)     at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbook.Microsoft.Office.Excel.Server.CalculationServer.ICachedFileProvider.SaveFile(CachedFile
    cachedFile)     at Microsoft.Office.Excel.Server.CalculationServer.Cached...
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    0x1868 Excel Services Application    
    Excel Calculation Services    
    91zq Medium  
    ...File.SaveFile(ICachedFileProvider fileProvider)     at Microsoft.Office.Excel.Server.CalculationServer.LocalDiskCache.ReserveCachedFileAndMarkUsed(FileId fileId, ICachedFileProvider fileProvider, Boolean replaceExistingFile)    
    at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbook.ReserveCachedFileAndMarkUsed(FileLoader fileLoader)     at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbookManager.GetBaseWorkbookAndMarkUsedAsync(AsyncHandler`1 callback,
    Object userState, Request request, Uri uri, Boolean newWorkbook, Boolean useCollection, Boolean loadedOnDemand)
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92 w3wp.exe (0x0B70)                      
    0x1868
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=84.4791
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92 w3wp.exe (0x0B70)                      
    0x0D10
    Excel Services Application     Excel Calculation Services    
    bbow Medium  
    BaseWorkbook.LoadWorkbookJobAsync: Starting. FileId.Uri=http://tq-intra1:77/CorporatePlanning/Tasweeq%20QAS/9%20-%20Functional%20Procedures%20and%20Standards/Corporate%20Planning/Standards/Master%20documents/PLS-06A%20Sample%20Economic%20Template%20A%20(Condensates)%2014%20Aug%202013.xlsx
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92 w3wp.exe (0x0B70)                      
    0x0D10
    SharePoint Server            
    Logging Correlation Data      
    xmnv Medium  
    Name=Job: LoadWorkbook 3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92 w3wp.exe (0x0B70)                      
    0x0D10
    SharePoint Server            
    Logging Correlation Data      
    xmnv Medium  
    Document=http://tq-intra1:77/CorporatePlanning/Tasweeq%20QAS/9%20-%20Functional%20Procedures%20and%20Standards/Corporate%20Planning/Standards/Master%20documents/PLS-06A%20Sample%20Economic%20Template%20A%20(Condensates)%2014%20Aug%202013.xlsx
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92 w3wp.exe (0x0B70)                      
    0x0D10
    Excel Services Application     Excel Calculation Services    
    91zp Medium  
    BaseWorkbook.LoadWorkbookJobAsync: Detected error that occurred in the BeginXXX portion of this call. It will be wrapped and retheown. Error was Id=GenericFileOpenError; Microsoft.Office.Excel.Server.CalculationServer.FileOpenException: The workbook
    cannot be opened. ---> Microsoft.Office.Excel.Server.Host.HostFileException ---> Microsoft.SharePoint.SPException: Error Found:      at Microsoft.SharePoint.SPFile.GetFileStreamCore(OpenBinaryFlags openOptions, String etagNotMatch, String&
    etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.OpenBinaryStream()
        at Microsoft.Office.Excel.Server.MossHost.MossHostFileLoader.FetchStreamInternal(...
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92* w3wp.exe (0x0B70)                      
    0x0D10
    Excel Services Application     Excel Calculation Services    
    91zp Medium  
    ...)     --- End of inner exception stack trace ---     at Microsoft.Office.Excel.Server.MossHost.MossHostFileLoader.FetchStreamInternal()     at Microsoft.Office.Excel.Server.MossHost.MossHostFileLoader.FetchStream(IIdentity
    currentIdentity)     at Microsoft.Office.Excel.Server.CalculationServer.SharePointFileLoader.FetchStream()     --- End of inner exception stack trace ---     at Microsoft.Office.Excel.Server.CalculationServer.SharePointFileLoader.FetchStream()
        at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbookManager.CacheStream(CachedFile cachedFile, FileLoader loader)     at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbook.Microsoft.Office.Excel.Server.CalculationServer.ICachedFileProvider.SaveFile(CachedFile
    cachedFile)     at Microsoft.Office.Excel.Server...
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92* w3wp.exe (0x0B70)                      
    0x0D10
    Excel Services Application     Excel Calculation Services    
    91zp Medium  
    ....CalculationServer.CachedFile.SaveFile(ICachedFileProvider fileProvider)     at Microsoft.Office.Excel.Server.CalculationServer.LocalDiskCache.ReserveCachedFileAndMarkUsed(FileId fileId, ICachedFileProvider fileProvider, Boolean replaceExistingFile)
        at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbook.ReserveCachedFileAndMarkUsed(FileLoader fileLoader)     at Microsoft.Office.Excel.Server.CalculationServer.BaseWorkbookManager.GetBaseWorkbookAndMarkUsedAsync(AsyncHandler`1
    callback, Object userState, Request request, Uri uri, Boolean newWorkbook, Boolean useCollection, Boolean loadedOnDemand).
    3f0aca0b-b7df-4ef2-8983-2ab3b35c9932
    10/07/2014 11:30:06.92 w3wp.exe (0x0B70)                      
    0x0D10
    Excel Services Application     Excel Calculation Services    
    8trf Medium  
    BaseWorkbookManager.UnsafeRemoveWorkbook: There are 0 Base Workbooks in the Base Workbook Manager

    Hi arsalan,
    This issue seems to be about the forefront protection. Please try to increase Antivirus time out as SharePoint Central Administration->Security->Manage antivirus settings, then compare the result.
    If this issue still exists, I suggest re-install forefront.
    In addition, please check if the links are useful for you:
    http://blog.henryong.com/2012/06/12/auto-restarting-forefront-for-sharepoint-when-it-hangs-and-times-out-with-powershell/
    http://breakfixsolution.blogspot.jp/2014/03/sharepoint-sites-were-not-accessible.html
    https://support2.microsoft.com/kb/2953311?wa=wsignin1.0
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Issues opening xml files in CS6

    I'm having a problem opening xml files in CS6. Currently, I'm able to load Dreamweaver CS6, but when I open a file labeled as .xml, the application freezes up. I have already set up my preferences to read .xml files. (some background info: I do have a previous version of 5.5 installed on the same machine. I could guess that the problem could be associated with having an earlier version of dreamweaver installed at the same time, but why would it only affect xml files?)

    Have you tried opening the .xml file in NotePad or some other simple text editor? just to verify that the file is good and not corrupted.

  • Open XML file ___ cannot be opened...

    I have read of several people having the same problem but cannot find a definitive answer. I am on an iMac with version 10.6.8 OS X.  I bought and installed Office 2011 last week (version 14.4.0) and I cannot open any file that I had created in version 2008 nor any file sent to me (I use Outlook Web email).  The complete error message is:  "The Open XML file solar.docx cannot be opened because there are problems with the contents or the file name might contain invalid characters (for example, \/)."  I am at a loss as what do do.  I am not a "techie" person, so any fix needs to be "spelled" out clearly.
    Thanks for any help.
    ~Cynthia

    http://answers.microsoft.com/en-us/mac
    iMac refurb (27-inch Mid 2011), OS X Mavericks (10.9.4), SL & ML, G4 450 MP w/Leopard, 9.2.2

  • Hi Everyone, Just wanted to seek your assistance. We're using and Adobe InDesign CS6. The XMedia UI Plugin for it, will it allow you to open .xml files in InDesign or that plugin is just used for Importing XML? Thanks in advance.

    Hi Everyone, Just wanted to seek your assistance. We're using and Adobe InDesign CS6. The XMedia UI Plugin for it, will it allow you to open .xml files in InDesign or that plugin is just used for Importing XML? Thanks in advance.

    I've moved your question to the InDesign forum.

  • How to open xml file in MIDP?

    Hi,
    I want to open xml file which stored localally, for reading and writing operation.
    Is it possible to open file in J2ME, if not possible is any other way to handle file operation. please guide me.
    Note: I want to open file which stored locally.

    You may check these tips:
    How to Access Local File Systems from J2ME devices using FileConnection API
    http://www.java-tips.org/content/view/109/73/
    Opening and reading a file on the mobile device
    http://www.java-tips.org/content/view/352/73/

  • Opening XML file in the browser window after generating it.

    hi,
    my application generates an XML document by retrieving data from Oracle DB. To view that XML file i have to manually open it by going to relavant directory. I want to open it through JSP.
    Please help me. any sample code would be appreciated.
    thank u.
    [email protected]

    Instead of writing the xml to a file write it to the response. That will send it back to the browser
    Or create a new JSP that opens the file and then writes it to the response.
    ServletContext sc = getServletContext();
    BufferedReader in = new BufferedReader(new FileReader(sc.getRealPath("/") + "/xml.in"));
    String input = null;
    response.setContentType("text/xml");
    while ((input = d.readLine()) != null) { out.print(input); }
         

Maybe you are looking for

  • How do I move contacts from my old non-iPhone?

    I have a Motorola Bravo and just got an iPhone 5 from ATT. How can I get my contacts from the Bravo to the iPhone?  I've already copied the contacts to the SIM. ATT support shows that's the first step. However, under the "Copy To" portion, all it men

  • Variables sent by POST dependent on Browser type/version?

    I am writing a type of mail form in AS2 of Flash CS4. I collect two variables (nameCli and messageCli) I setup a "sending button" to appear ONLY when there is a minimum of characters (2) under nameCli AND a minimum of 10 characters in messageCli. Whe

  • Scan failed message kodak i40 acrobat 8.0

    Ive just purchased Acrobat 8.0. I was using acrobat 5.0 with a Kodak i40 scanner. Scanning directly into acrobat with 5.0 was no problem. Since uninstalling 5.0 and installeing 8.0 (and rebooting in between), acrobat gives me a scan failed error mess

  • System info does not show Ehp4

    Hello ALL, I have recently upgraded my Sanbox system from ECC6 to EHP4 SP03. When i see the System Information in the Tab SYSTEM --> STATUS . In the SAP SYSTEM Data for the Component vesion it still shows "  SAP ECC 6.0". I feel it should show "EHP4

  • Why are the printed image and its borders different than specified on Aperture's Print window

    Hi, I am trying to print an 11.98x17.97 image on a 13x19 sheet. I specify .51" borders top and bottom, and .52" right and left. Instead, I am getting a 7.5x10.75" printed image with L 1 1/8" + R 7 1/8" borders and T 1/8" + B 5 3/8" borders. In short,