Is a referenced document() cached ??

Another question with the XSL document() function:
If I reference the same document() many times, is it cached, or does the parser parse it every time I call it?
Thomas
null

Quoting Steve's book (p. 364):
"The external resource* is retrieved only once per transformation."
* Referring to the XML resource passed to the document() function.

Similar Messages

  • MS Office Document Cache keeps failing repeatedly...

    The thread under title "The Microsoft Office cache encountered a problem (with Office 2013 ProPlus Preview/Beta)" described exactly my problem, but discussion on that thread has been locked without any solution to the problem.
    I'd like to add one symptom to this case. All problems started when I installed SkyDrive Pro in order to access my Office 365 files on a sharepoint site of mine. Without Lync program, I managed to run both SkyDrive and SkyDrive Pro simulteneously for short
    period of time, but installing Lync (or any other "disturbing" of Office) makes this Document Cache fail over and over again.
    At some point of a boot procedure, apparently while putting up this SkyDrive Pro, system gives an error message upon file in use preventing synchronization. File is allegedly in use with other process that is suggested to be closed. Problem is that there
    is no apparent program using that file. File in question is the very first file within the group of files I've stored in the sharepoint site in question. It is always the very first file stored there.
    I would very much like some advice about how to get these local Office 2013 installation and Office 365 P1 -system work.

    Excellent!
    Worked for me.
    I am currently using Windows 8.1 Pro  and  Office365 ProPlus.
    I got the same issue as stated by "Aki from Finland" after and decided to follow the steps outlined by "TylorWang". There were a few things I did differently due to the difference in product versions. Instead of going to the \14.0 folders,
    I went to the \15.0 folders (both in the registry and under the \AppData folder).
    I used PowerShell, running in Admin mode of course, to stop the MYOSYNC
    process with:
    kill -name msosync
    Once I was done with the three steps, I restarted my computer. Once I logged in into my account, the usual Office Upload Center cache error did not occur and my files are now syncing without any problems.
    Thank you very much "TylorWang" for your clear and precise solution and thank you TechNet for your continued support!
    Taylor.
    Edit: I also run Lync 2013 on my system.

  • SharePoint Workspace: How can I access synced files in Office Document Cache?

    I have the following Scenario and I'm struggling on the Office Document Cache, I hope someone can help.
    * Document Library / SharePoint Site on SharePoint Server 2010 holding PDFs, Office Documents, videos etc.
    * We use SharePoint Workspace to sync the document library to Windows 8.1 Enterprise Clients and keep it up to date
    * This works fine so far. All documents are synced to the Clients and are stored in the Office Document Cache.
    * Now the problem: we want to build a Windows 8.1 Modern UI app that lists all documents stored in the Office Document Cache. We already built a similar app that is able to list normal folders stored in the Windows file system... but we can't find a
    way to do that with documents stored in ODC.
    Is that even possible and if yes, how can we do that? Are there any APIs or methods that we can use?
    Many thanks for any answer!

    Hello jh-work,
    Maybe you can find something in the SharePoint Workspace 2010 SDK:
    http://msdn.microsoft.com/en-us/library/office/hh300578(v=office.14).aspx
    - Dennis | Netherlands | Blog |
    Twitter

  • What is the pupose of the Enable Document Cache option?

    Hey All,
    What is the Enable Document Cache option in the Reports Properties - General Settings? What are the benefits of this option? Documentation is lean on this one.
    Thanks,
    Ron

    >I miss information of optimal setting for the cache. What is the ideal size and what is that setting depended on? Memory size? Raw file size?
    The default size is 1GB, but it can be set much higher. When the number of previews held in the cache reaches the limit of the cache size older previews get dropped. This is the reason given for making the cache large. However, the problem with this approach is that the ACR cache preview is in addition to to the Lr preview created for the Library module. So, a larger cache will mean that even more disk space is used storing duplicate previews. If you're using a slower computer and are in the habit of quickly scanning through large number of files in the Develop module then a larger cache "might" help, otherwise anywhere between one and five GB should be more than adequate.

  • Modification in the screen with referenced documents in VA01

    Hi everyone,
    When you are in transaction VA01 and you indicate a material, if this one has outline agreements associated, you can display a list. I would like to add some fields to this structure (LISTVBAP). I made this by se11 but when I try to fill these fields in MV45AFZZ, it doesn't work because the exit is executed before the filling of the structure. Besides, the function that creates the ALV doesn't consider these fields, so I can't see them in the window neither empty.  I checked the others exits and i think none of them works for this. How can I make this modification ?
    Thanks in advance!

    The Data for the Popup is handled in internal tables using the structure LISTVBAP. The new fields must be inserted in this structure (modification in data dictionary). The new fields will show in the popup at the position where they are located in the structure.
    For displaying the fields BSTNK and AUDAT, the form routine AUSGABE_LISTE_HINWEIS in include LV45CF0A must be modified. The new fields must be transferred to itab GT_LISTDOCU and in itab LT_FIELDCAT the flag TECH needs to be cleared for the fields to be displayed (coding below).
    The variable KOPFEBENE is set by the calling program and used for varying the popup for different uses, so make your modification according to this.
    For the usage of the popup in VA01 for the use descibed by Yelimar, the supplying of the data is found in include MV45AFDB_VAPMA_SELECT. Modify it to fill the new fields (coding snippet below).
    *Include LV45CF0A ****
    FORM AUSGABE_LISTE_HINWEIS.
        ELSEIF KOPFEBENE CA ' '.
          GT_LISTDOCU-POSNR  = LISTDOCU-POSNR.
          GT_LISTDOCU-KWMENG = LISTDOCU-KWMENG.
          GT_LISTDOCU-MEINS  = LISTDOCU-MEINS.
          GT_LISTDOCU-NETWR  = LISTDOCU-NETWR.
          GT_LISTDOCU-WAERK  = LISTDOCU-WAERK.
    *{   INSERT         T02K948641                                        1
          GT_LISTDOCU-BSTNK  = LISTDOCU-BSTNK.
          GT_LISTDOCU-AUDAT  = LISTDOCU-AUDAT.
          WHEN 'POSNR' OR 'KWMENG' OR 'MEINS' OR 'NETWR' OR 'WAERK'.
            IF KOPFEBENE CA ' '.
              CLEAR <LS_FIELDCAT>-TECH.
            ENDIF.
    *{   INSERT         T02K948641                                        2
          WHEN 'BSTNK' OR 'AUDAT'.
            IF kopfebene = ' '.
              CLEAR <LS_FIELDCAT>-TECH.
            ENDIF.
    *}   INSERT
    ** include MV45AFDB_VAPMA_SELECT
            CH_POSITION_EXIST = CHARX.
            HNW_VBAP-VBELN = VAPMA-VBELN.
    *{   INSERT         T02K948641                                        1
            HNW_VBAP-BSTNK = VAPMA-BSTNK.
            HNW_VBAP-AUDAT = VAPMA-AUDAT.
    *}   INSERT
            HNW_VBAP-POSNR = VAPMA-POSNR.
            HNW_VBAP-MATNR = VAPMA-MATNR.
    Edited by: Jochen Lang on Apr 3, 2010 11:23 AM

  • DMS document from Cache server!

    We are able to retrieve DMS document(PDF) from Content server but not from Cache Server using URL generated from
    CALL FUNCTION 'SCMS_URL_GENERATE'.I even tried Pushing the Doc to cache using DMS_KPRO_FILL_CACHE, Doc exists in Cache when i check operation=statGet2 but my URL does not give me the document
    *-Cache server
    SELECT SINGLE * INTO S_SCMSCACHE
    FROM SCMSCACHE
    WHERE HOST = 'TSTCS2'.
    CALL FUNCTION 'SCMS_URL_GENERATE'
    EXPORTING
    COMMAND = 'get'
    CONTREP = CREP_ID
    DOCID = P_DMS_DOC2LOIO_LO_OBJID
    COMPID = 'data'
    ACCESSMODE = 'r'
    SIGNATURE = 'X'
    SECURITY = 'F'
    *USE_LOCATION = 'A'
    *LOCATION = 'TSTCS2'
    *CACHE_TO_USE = S_SCMSCACHE
    IMPORTING
    ABSOLUTE_URI = URI_STRING
    HTTP_URI = HTTP_URI
    HTTPS_URI = HTTPS_URI
    CACHE = S_SCMSCACHE_O
    ENDIF.
    ELSE."Content Server
    CALL FUNCTION 'SCMS_URL_GENERATE'
    EXPORTING
    COMMAND = 'docGet'
    CONTREP = CREP_ID "'Z_DLS_DOC_DU1'
    DOCID = P_DMS_DOC2LOIO_LO_OBJID
    ACCESSMODE = 'r'
    SECURITY = 'F'
    ENDIF.
    Edited by: Madhu Gudur on Oct 24, 2009 3:59 AM

    I'm not expert in this area, but I don't understand why you try to read directly the cache as by definition, a cache is managed by the application itself. Why don't you read the document as usually, and let the system read the cache by itself?

  • IndexmanagementService  XIndexing documents failed on PCDSearchIndex

    Hi,
    I have an issue with and index created to search through the pcd. I have created an index as defined in the following link and have selected Portal Content in my index datasource.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/d59a4271c80a31e10000000a1550b0/content.htm
    When I click on reindex, I get the following error message:
    Operation failed Method not supported on PCDSearchIndex.
    If I open the Application Log, I get the following error message every minute.
    IndexmanagementService  XIndexing documents failed. Method not supported on PCDSearchIndex. Continue crawling... 
    Anyone has an idea on how to fix this issue?
    Thanks
    Renaud

    Hi Renaud,
    no need to fix here, just don't try to reindex manually
    PCD Index function is completely different than other indexes in CM / TREX.
    See also your referenced docu page: 'A schedule for automatic indexing is not required.'
    Background: PCD search index perform a search against the user's role content.
    When a user logs into portal, the content of the user roles is completely loaded into the PCD cache and kept in memory. Thus performing a search is very fast as it happens in memory (no need to load content from DB or filesystem).                                                                               
    So you'd better not try to index or crawl the PCD repoitory. Those methods are 
    not supported and implemented - as stated in the log.     
    Regards, Peter

  • WEB u2013 I cache issue.

    We have BO XI 3.1 PF 1.7 and SAP BW 7.0 SP 18
    We are facing strong caching issue  with WEB- I XI 3.1 , what we observed is it cache previously fetched data and does not recognize data been updated in BW Infoprovider ( in our case we have BEx query on Direct update DSO )
    I have tried u2013
    1.     I made caching inactive for that BEx query in BW side.
    2.     I have check caching setting in BO , they are not helping me much to in active cache in BO
    On executing BEx query in BW, I have checked RSRT cash monitor; the query result is not getting cached, and get up-to-date data. Query works perfectly file.
    Also observed Events in RSDDSTAT_OLAP table, I could find very well Event 9000. This shows me that BEx query hits database and bring data back.
    When I execute BO report on the top of same BEx query, I do not get up to date data , it shows me previously fetched data and does not recognize data been updated in BW.
    Now question is where this data being getting cashed , and how to make that inactive to make sure I do get up to date data in WEB-I .
    Many thanks for your kind response.
    Regards
    Ashutosh D

    HI Ashutosh,
    This would be stored in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Data\servername_6400\storage folder.  Try renaming this folder and then testing again.  If this allows for updated records, then that proves that the Webi Processing Server is getting the cached data from this directory.
    There are also a few settings you can try to disable in the Webi Processing Server settings within the CMC:
    Disable cache Sharing (Checked)
    Enable Real-Time Caching (Unchecked)
    Enable Document Cache (Unchecked)
    Cache Timeout (1 min) - sets the cache to expire after 1 min.
    Try playing with these settings and see if that resolves the issue. 
    Thanks
    Jb

  • Office 2013 vs SharePoint 2010 - Unable to check out documents to SharePoint drafts folder

    My company is foisting Office 2013 on us without upgrading SharePoint 2010 Enterprise. One of the issues I have discovered since receiving Office 2013 is that SharePoint no longer provides the option to save checked out documents to my local drafts folder.
    This is despite having Office set to save checked-out files to the server drafts location and the Office Document Cache Handler enabled in IE9. Is there a registry setting or something I can change that will re-enable this feature?

    Hi Nellie,
    According to your description, my understanding is that you want to re-enable the add-on Office Document Cache Handler in IE9.
    We can re-enable the add-on in IE9 using Group Policy:
    Launch the Group Policy Editor. 
    Go to User Configuration > Administrative Templates > Windows Components > Internet Explorer > Security Features > Add-on Management > 
     Add-on List.
    Set this policy to 'Enabled'.
    In the Add-on List, add the CLSID of BHO (Browser Helper Object) (i.e.) {B4F3A835-0E21-4959-BA22-42B3008E02FF} as the ‘Value Name’ and 1 as the 'Value'.
    Log out of the machine and log back in again for the setting to take effect.
    More references:
    http://support.microsoft.com/kb/2463597/en-us
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • When will Office 2013 Offline File Cache for IE add in work with Enhanced mode?

    The Office 2013 Document Cache Uploader IE Plugin is incompatible with IE 11 running in enhanced mode.
    I read that enhanced security mode was enabled by default in Win8 so Microsoft can collect information and advise third party plug-in developers they need to update their stuff to work with it.  Then in November, Microsoft started shipping Win8 with enhanced
    security disabled.  But Win8.1 now ships with enhanced mode enabled...   But... Microsoft's own plug-in with the latest versions don't work with it.  The solution / workaround is to disable enhanced protection mode.  (I don't see this
    as a solution for me, my last virus infection because of insecure IE cost me over $400 to fix.)  When are you going to fix your own stuff?  Or will you retire it like a bunch of other goodies ripped out of Win8.  And Server 2012.  And Exchange
    2013........Lastpass.com has their plug-in working with enhanced mode... Why can't you fix it?  Should not be that tough to fix and to include it in a Office update....

    Hope there will be a fix soon....This should not be marked as 'answer'.  You simply state the fact that it is broken as I did and to disable IE Enhanced (warning/warning) and that is not an answer or a workaround..
    Somebody please at least look at it and come up a quick and cheap, down and dirty way to add this to the trusted zones so it will work?  then you can mark as answer.  Everyone there at Microsoft sitting around waiting for someone else
    or other department to do it.  Lastpass make it work, Logmein make it work, but Microsoft resting on their laurels .......My gosh, I paid $439 for a copy of Office Pro 2013 Professional to upgrade my Office 2010 and it does not work as well as 2010 did? 
    In this respect, the product is a Lemmon.  I already moved to the cloud for Exchange like they wanted me to, by crippling connection with this to my church's Exchange 2003 server.
    It seems the master plan behind this release is to disable function with Server2003 to drive more Exchange server or Cloud hosting sales.  Please make sure the product does what it did before, before you take my money and turn off the lights on important
    feature oversites.
    Any way to hack into Office 2010 and load its cache uploader to run in enhanced zone, or put a link or dll in the trusted zone to make this feature work again?  Can someone at Microsoft at least get it on the project board or bump it up a hundred spaces
    on priority list?  Maybe offer a bonus to the programmer that fixes it.  A weekend on the hiking trail or kayak excursion, or rock-climbing pass..  Microsoft guys like that outdoors kinds of stuff and will work like crazy to get it.

  • Sorry, we couldn't open...Error opening office documents from SharePoint 2013 in the desktop applications

    Sorry, we couldn't open...Error opening office documents from SharePoint 2013 in the desktop applications        
    One of our Managers encounters the error 'A problem occurred while accessing the Office document cache.  Do you want to repair this problem?'
    Then When he says yes it give a warning that the cache will be backed up and replaced
    Then it says 'A new office document Cache has been created...'
    Then it loads this cache with an error
    Then After all that the next time he tries to open the document it says  is encountered "Sorry, we couldn't open 'URL."
    We have Reinstalled office 2013 on the users PC repaired the cache numerous times
    Followed -  http://office.microsoft.com/en-gb/word-help/manually-rename-the-office-document-cache-HA101848838.aspx
    Updated Lync to 2013 leaving Access as the only office 2010 application (required for legacy systems access)
    Repair installed office 2010 and office 2013 again
    The SharePoint site has been added to the trusted sites list and the set up assistant run from office 365
    And the issue remains the Same all other users including some who also have Access 2010 for legacy systems access have no Issues OS is windows 7 32 Bit browser is IE 9
    Office 365 said
    Reply by Rachel Zhang MSFT Support
    Hi Alex,
    From your description, I notice that the issue is related to Office client. We would like to help you, but I’m sorry that our forum does not focus on this scenario and has limited resources regarding it. However, we have a dedicated support forum where
    the support engineers will help you with the issues about Office client:
    Microsoft Office Community:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release?tm=1365567547805
    Feel free to sign in to the Office community and click Participate->Ask a Question to post the question with the relevant information.
    Microsoft Office Community:  
    Feel free to sign in to the Office community and click to post the question with the relevant information.
    Office team said
    Hello Alex,
    Thank you for posting your query in Microsoft Office Community.

    Check if other excel works fine
    Do you have any script\macro in excel file
    Check if all application pool on all servers are running
    both office and IE should be same build (64 or 32 bit)
    what is the error message in ULS log and Event viewer
    If this helped you resolve your issue, please mark it Answered

  • Credit Memo with the reference of multiple Billing document

    Hi SD Gurus,
    I wanted to create credit memo with the reference of multiple billing document for a single customer.
    Is it possible in standard SAP? If YES please tell me HOW…
    Thanks in advance...
    Ratish Patil

    hello, friend.
    yes, you actually can.  first you enter VA01 and choose the document type.  press ENTER.
    then in the order Overview screen, go to SALES DOCUMENT > CREATE WITH REFERENCE.  a dialog box will ask you which billing document you want as reference.  enter the document number and press COPY.
    you can repeat this process as many time as you wish.  the items of the referenced documents will be copied into your Sales Document.
    hope this helped.  reward if useful.
    jty

  • Word 2010 opening document from SharePoint as Read-Only

    Hello,
    I am investigating an issue in our environment (Office 2010 clients accessing SharePoint 2010 files) where documents will open in Word but as read-only and the option to edit the document is not presented.  This can be reproduced by copying and pasting
    a link to a SharePoint document into the IE address bar and hitting <Enter>. A prompt will appear to open/save, etc. Clicking open will open the document but in read-only mode and there's no yellow bar to edit the document. The second time we perform
    the same task, the document opens with the Edit Document button available. The Office Document Cache Handler browser add-in is enabled. The issue is described exactly in the last bullet of the 'more information section of this MS KB article:
    http://support.microsoft.com/kb/2661910.
    "The Server read-only bar with the [Edit Document] or [Edit Workbook] or [Edit Presentation] button bar may be missing for other reasons when clicking on a hyperlink to a Office 2010 document stored
    on a SharePoint site for the first time. Subsequent clicks on the link will render the Server read-only bar."
    We have confirmed that using the OptimisticBHO registry value resolves the issue.  However, the support article says that this issue occurs for "other reasons".  Rather than deploy a registry hack to fix this, can someone elaborate
    on what the other reasons are so that we can tackle the root cause of the issue? Is this a known bug, is the behavior due to some security update is there a SharePoint configuration setting involved, etc.? It would be helpful to know exactly why
    the issue occurs so that we can plan the resolution appropriately.
    Thanks,
    Doug
    Douglas Cote

    Hi Doug,
    Please check the KB article below and see if it answered your question:
    http://support.microsoft.com/kb/2018958/en-us
    Hope this helps.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • Sharepoint 2010 is automatically downloading Office2010 files to local machine's Recent Documents, instead of opening from library, off an emailed link.

    Hi-
    Please forgive me if this exact question has been asked already (if so I'm not finding it via Google or these forums), but one of my users can't seem to edit documents IN libraries, via links emailed to him.  He clicks on the link and the
    file auto-downloads with no Read-only/Edit option pop-up, and he can edit it (without getting the annoying yellow "this is read only from the server, click to edit document" bar up top either), but naturally his changes to these documents
    are only being saved on his local machine and not making it back to the library....  Our IT dept gave him a Save As workaround (that, it appears, would make a SECOND file in the library, which is not going to work for our processes), but nobody
    else is having this issue....  I'm thinking this is a simple settings change someplace in Sharepoint 2010 or Word 2010 (we have Windows 7), or maybe IE, or it's possible his User profile in our network needs some kind of adjustment...  anyway,
    any/all help appreciated.  Thanks.
    CF

    Hi,
    1. For automatically download the files, please check the office software settings. for word file, please open local word > file > options > save > save checked-out files to: > select "the office document cache"
    2. site actions > site settings > site administration > search and offline availablity to change the settings.
    3. Please compare the add-ons from this user's IE setting and the working fine IE setting.
    Regards,
    Seven 

  • Problems with cached previews and File Not Found errors in preview and build

    I am having serious issues with Encore CS5.
    When I try and build a preview or disk/image I am getting File Not Found errors. I have emptied the media cache in the preferences but my project still seems to be referencing previously cached files or rendered menus. Is there any way to manually delete previous previews or the cache. I know that there are no missing files in my project. Any help would be very much appreciated.
    I am running Mac OS 10.6.4 and Encore 5.0

    To fix your locales, see http://wiki.archlinux.org/index.php/Configuring_locales -- in specific, you'll need to uncomment the en_US.utf8 locale at least, since that's the one that's specified in your rc.conf

Maybe you are looking for