Transforming multiple documents with x:transform

Hello,
I am trying to use x:transform to apply a transformation to a document that combines content from other documents. I have been trying to use x:param to pass in the other supporting documents as node-sets but I am getting errors as follows:
<c:import url="/WEB-INF/xslt/transform.xslt" var="xslt" />
<x:parse varDom="propertiesNS" doc="${propertiesXmlStr}"/>
<x:transform xml="${main.xml}" xslt="${xslt}">
     <x:param name="properties"  value="${propertiesNS}"/>
</x:transform>...throws: Invalid conversion from 'com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl' to 'node-set'
So I tried using x:set to force a node-set result - my reading of the spec suggests that the result of x:set should node-set compatible with x:transform.
<c:import url="/WEB-INF/xslt/transform.xslt" var="xslt" />
<x:parse varDom="propertiesNS" doc="${propertiesXmlStr}"/>
<x:set var="propertiesNS2" select="$propertiesNS/Properties"/>
<x:transform xml="${main.xml}" xslt="${xslt}">
     <x:param name="properties"  value="${propertiesNS2}"/>
</x:transform>...throws: "Invalid conversion from 'org.apache.taglibs.standard.tag.common.xml.JSTLNodeList' to 'node-set'"
Any ideas?
I appreciate that I could use document() but the supporting docs are in memory so I'd have to write a URIResolver but as far as I can see I'd have to specify a custom TransformerFactory to attach the URIResolver to the Transformer and i don't really want to do that as I imagine the default one includes optimisations etc.
Many thanks for any help.
Andy

ANNOUNCEMENT: Would you like to help us improve Adobe Reader?
Hi All,
We have had a few bug reports related to Adobe Reader X protected mode coming in from you in this forum. We have addressed a large number of them in our upcoming Reader update and we would like to hear your feedback.
To that extent, we would like to invite you to the Adobe Reader Prerelease program and try out the latest build. To participate, please fill in the form available at https://www.adobe.com/cfusion/mmform/index.cfm?name=reader_prerelease_ interest and indicate Adobe Reader as the product of your interest.
We look forward to your active participation, feedback and help towards making Reader a better product.
Thanks and regards,
Adobe Prerelease Team

Similar Messages

  • Trouble saving multiple documents with Adobe Reader 10

    I am unable to download and save multiple PDF documents from a web site. Since I upgraded to Reader 10 this has been a problem.
    The first document saves with no problem, However I can't save a second document (have tried using the icon on top of the page as well as the one on the new bar on the document).   When I log off the site and go back in I still can not download the second document.
    However, when I log  out and shut down the browser, and then restart the browser I have no problem downloading the second document but can not download another PDF.   I use Firefox 3.6.13 as my browser.
    Is there a solution other than trying to reinstall Adobe 9?

    After installing Reader 10 (aka Reader X), I had exact same problem --trying to save multiple documents via Firefox browser (up-to-date version 3.6.13), only first document can be saved -- attempts to save 2nd document results in nothing happening.  Uninstalled and reinstalled Reader 10, problem same.  After closing browser, waiting a couple of minutes, could then save 2nd file -- but then could not save 3rd file right away, etc.   Gave up -- uninstalled Reader 10 and went back to Reader 9.4 -- no problems with old version.  Based on other comments on this forum, it seems like Reader 10 is not ready for prime time.

  • Multiple documents with the same Name

    We had a problem reported where an xquery to the xml db returned multiple records. Upon reading the full db (getAllDocuments) and printing each document's name we found out that all the documents had the same the same Name!!!
    We are using 2.3.10
    This is very disturbing as we depend on the uniqueness of the Name heavily.
    Any ideas on how this could happen?
    What information would you need?
    Code used to dump data
    Message was edited by:
    user626230

    Hi,
    Are you using all of the patches to 2.3.10? You should be, or better yet, use 2.3.11. There was a bug that could be involved that is fixed in 2.3.11. Others have seen duplicate documents but the root cause has never been 100% identified.
    Be sure that you are aborting your deadlocked transactions properly.
    Is this issue reliably reproducible in any way? If so, I'd be very interested in a test case or working with you to figure out what sequence of events causes it.
    Regards,
    George

  • Multiple Documents

    Hi All,
    Can anyone pls. explain what is "Multiple Documents with the Same Selector by Other Headers" in Web Cache.
    Thanx In Advance.
    Olabora.

    Oracle9iAS Web Cache understand HTTP request headers and uses the values of these headers to cache and identify multiple-version documents. If a browser request passes a URL with one of the headers defined, then Oracle9iAS Web Cache serves the document from its cache.
    From selecting "Multiple Documents with Same Selector by Other Headers", you can specify the HTTP request headers and include that in the cacheability rule.

  • Create multiple folders with one click on documents tab in BP in SAP CRM

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • HP Officejet 6500A How do I scan a document with multiple pages into one file?

    HP Officejet 6500A Plus e-All-in-One Printer - E710n
    Windows 7 (64 bit)
    How do I scan a document with multiple pages into one file?  My old printer (psc 2110) asked after each scan if I wanted to scan another page.  At the end I had one pdf file with multiple pages.
    This new one creates one file for each page and I cannot find a way to create one pdf file with multiple pages.
    This question was solved.
    View Solution.

    Hi mpw101,
    If you load the papers into the ADF - Automatic Document Feeder, and then select Document to PDF then they will all be scanning into one file. Let me know if this works for you?
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Word document with multiple sections generates multiple pdf?

    Hello everyone,
    I'm a new and happy Mac user, but not fully able to use this. I hope you can help.
    I have a Word document, with multiple sections that I want to convert into pdf. When I used to do this with the PC, I didn't have problems. I used to use Click to Convert and I normally used to get one single pdf file.
    Now, using the pdf button wit the Mac, I get separate pdf files, one for each section. Is there a way that I can create a single pdf, with all the sections in order? If not, how can I merge the pdf in one single pdf file?
    Thanks in advance.

    Hi,
    just to let you know I have sorted this.
    http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html
    Thanks.

  • Support for multiple pdf document with signature

    I have a question about signatures.
    Does the PDF specification support the combination of multiple pdf documents into one pdf document with the following constraint:
    - each individual pdf document has been signed (by an X.509 certificate),
    - the individual documents can come from different sources, so they have to be 'included' or merged into the final pdf,
    - the final pdf document should not change the signatures of the individual documents.
    So each part of the document should maintain the integrity of the individual components and the signature of the individual comnponents are still valid.
    Does the pdf specification support this feature?
    With kind regards,
    Ernst Jan

    What you want is called a PDF Package (or Portable Collection in the PDFRef) and is new in PDF 1.7. You can try it out with Acrobat 8.
    Leonard

  • Acrobat 9 hangs with multiple documents open

    HP pro 6200 4 G RAM, Win7Pro, Acrobat 9(fully updated), single computer affected, multiple users, documents are from C drive, network, and USB
    I've run a repair install, removed the popups/lines and other markup notifications, held shift down when starting to not load add-ins, logged in as another user, updated video card drivers, sprinkled fairy dust, changed desktop resolution(set at 800x600 per user preference), opened same documents on another computer with no problems, and yet I still cannot find out what is causing Acrobat 9 to hang after multiple pages are opened.  Sometimes it will hang completely and I have to go into task manager and kill it, other times the page has a hard time painting as I scroll.  The memory usage doesn't go over 100k in task manager.  If we  close out of the documents with task manager and open them back up it is fine for a while, then it starts back up again.  This seems like a common issue but all the common fixes I found aren't working.  I was not able to find a "preferences" folder under his user folder to delete those settings.
    Anyone have any other ideas?

    From: <[email protected]><br /><br />| I need to scan multiple documents and the "hide scanners interface" is grayed out. I<br />| recently upgraded from Acrobat 8 professional, which occassionally would allow me to<br />| scan multiple docs. Called Adobe and they suggested I upgrade to 9. Still can't scan<br />| multiple docs at a time. Need to set my scanner as not being recognized as a flatbed.<br />| HELP PLEASE!!!<br />| Apparently has something to do with the scanners interface setting.<br /><br />If you really need to scan multiple documents then what you may realy need is a scanner <br />with and Automatic Document Feeder (ADF).<br /><br />-- <br />Dave

  • Convert 1 single microsoft word document with section breaks to multiple pdf files

    I am a windows 7 users. I have a single microsoft word document which contain 1500 pages. These 1500 pages are seperated by sections breaks in the microsoft word. I am trying to convert this word document to multiple pdf files seperated by the section breaks in the Microsoft word. How can I convert the single microsoft word document with section breaks to multiple seperate pdf files?

    Acrobat (Adobe PDF Printer and PDFMaker ) doesn't recognize the Section breaks.  It never has as far as I am aware.  The easiest thing to do is to manually break up a copy of the MS Word Document into the Sections you need and then create the PDFs from those MS Word documents.

  • Split TIF document with multiple pages

    Hi,
    Iu2019m using function module 'SCMS_HTTP_GET' to retrieve TIF document from Filenet.  The TIF document returned has multiple pages.  Iu2019m able to retrieve the document with no issue.  What I need to do is split the TIF document for each page.
    Is there a way in ABAP to split the TIF on each page break?
    The reason I need to split is later in program I call FM SSFC_BASE64_ENCODE passing data to Adobe form that uses IMAGE FIELD object to display TIF.  I have no issue displaying TIF with 1 page on adobe form.  But if there are multiple pages only the first page is displayed in the Adobe PDF.  I was thinking if I could split the TIF that contains multiple page into individual TIF I would then pass in table to PDF form to display all pages of the TIF.
    Appreciate the help,
    Gary

    Hi,
    I'm also in the same situation. I am uploading the TIf file with multiple pages, but only the first page is printing. Did you get any luck in either printing all pages OR program which can spilt...
    Thanks,
    Sarma

  • Error in multiple operation with change document object for custom table

    hi all,
    I have developed a change document object for a custom table ZTEST and developed a report program for insertion, updation & deletion..everything works fine if I do only once ie. if I created only 1 entries. If I created 2 new entries , I am getting an Error "DUPREC:POS&Z3RL_TAB&Z3RL_TAB" and EXIT the transaction.
    why I am getting this error??? is it not possible to do multiple operation with the change document???
    kindly help.
    Edited by: JaiKarthik on Apr 7, 2010 6:20 AM

       LOOP AT ts_mod INTO wa_mod.
                READ TABLE <i_itab> INTO <wa_tab> INDEX wa_mod-row.
    * Select the existing entries in table Z3RL for change history
                    SELECT SINGLE * FROM z3rl
                           INTO wa_z3rl
                           WHERE vkorg   = <wa_tab>+3(4)
                           AND   zzkunnr = <wa_tab>+7(10).
    * Move the old entries
                    IF sy-subrc = 0.
                      CLEAR ls_z3rl.
                      ls_z3rl = wa_z3rl.
                    ENDIF.
    * Update the table
                 MODIFY (viewname) FROM <wa_tab>.
                   CLEAR wa_z3rl.
                    wa_z3rl-mandt      = <wa_tab>+0(3).
                    wa_z3rl-vkorg      = <wa_tab>+3(4).
                    wa_z3rl-zzkunnr    = <wa_tab>+7(10).
    * Populate change tables
                    CLEAR wa_change.
                    wa_change-teilobjid = 'Z3RL'.
                    wa_change-textart = 'TEST_2'.
                    wa_change-textspr = 'EN'.
                    wa_change-updkz = 'U'.
                    APPEND wa_change TO ts_change.
    *call the fM to log the values in CDHDR table.
                    CALL FUNCTION 'Z3RL_WRITE_DOCUMENT'
                      EXPORTING
                        objectid                 = 'Z3RL'
                        tcode                    = sy-tcode
                        utime                    = sy-uzeit
                        udate                    = sy-datum
                        username                 = sy-uname
                        planned_change_number    = ' '
                        object_change_indicator  = 'U'
                        planned_or_real_changes  = 'U'
                        no_change_pointers       = 'U'
                        upd_icdtxt_z3rl= 'U'
                        n_z3rl= wa_z3rl
                        o_z3rl        = ls_z3rl
                        upd_z3rl= 'U'
                        lv_opt                   = ' '
                      TABLES
                        icdtxt_z3rl= ts_change.
                CLEAR : wa_mod, <wa_tab>.
              ENDLOOP.
    Edited by: JaiKarthik on Apr 7, 2010 6:49 AM

  • Billing Documents with multiple mailing address

    Experts,
    What are all the standard options to generate SD billing documents with multiple mailing addresses. Billing document contents will be same but they will addressed to different mailing addresses.
    Have you come across this situation and implemented? Please let me know you expert advide.
    Thanks much,
    Nagarajan

    I assume that
    multiple mailing addresses
    are fixed.
    So, to print a hardcopies of invoice with multiple mailing addresses.
    You can have Z table in the system with all the mailing addresses, say,
    Bill-to Party
    Sr No
    Address
    100023
    01
    Chennai Address
    100023
    02
    Mumbai Address
    100023
    03
    Noida Address
    Then write a logic in your print program to call the Z Table with address while printing the output.
    You can take assistance of ABAPer in your team for this.
    Regards
    JP

  • Can we print multiple excise invoice documents with one click?

    Hello,
    SAP has provided with t-code 'J1IP' for printing excise invoice documents. But for printing multiple documents we need to click print button each time for every new document. is there any other way by which you can print bulk excise documents without clicking print button each time?
    Thanks in advance.
    Neha

    Hi Neha,
    It is possible on SAPB1.
    Try to Use the Document Printing Window on Financials or Marketing or Banking Module..
    Try this,
    ->> Financials.
    -> Choose Document Printing.
    ->> Open the Document Printing Window.
    ->> Select the Document Type - Incoming (or) Outgoing Excise Invoice.
    for example, IF you Select the Document Type - Incoming Excise Invoice.
    ->> Select the require Series.
    -> your requirement wise, put the tick mark of Open Only or &Only Documents Still to Be Printed.
    ->> put the Posting Date From Date & To Date.
    ->> Assign the No. of Copies - 1 or Your wishes.
    ->> Click the OK button, than will Open the Print Incoming Excise Invoice Window.
    ->> Choose all Incoming Excise Document (select all row).
    ->> Click the Print button.
    Regards,
    Madhan.

Maybe you are looking for

  • Error When creating a new Global Calculated Key Figure or RKF

    Hi, Coming across this problem with NW2004s BI 7 query designer. When i create a new CKF or RKF with the query designer, i get a error message. Currently the SAP GUI is on SP 8 and the problem exists after applying the collective note recently releas

  • Network Monitoring~~~Operations Manager 2012 R2

    Hi All, I am using SCOM 2012 R2 when i am trying to discovery network devices it discovered, but its showing in discovery rules but not in  network devices. Guys can you lent me how much time will it take ...

  • CONVT_CODEPAGE, CX_SY_CONVERSION_CODEPAGE

    A character set conversion is not possible. At the conversion of a text from codepage '4110' to codepage '4102': - a character was found that cannot be displayed in one of the two codepages; - or it was detected that this conversion is not supported

  • How do you switch off WiFi - is there an easy way?

    Hi I am coming from SPV MS Smartphones. My mate has got a new one with WiFi in, and it has a lovely shortcut menu to switch in ll WiFi, BT etc. How do you switch off the WiFi on the N80, I read in the manual that "WiFi is always on" surely this canno

  • DVD not loading-----CHURN, CHURN, CHURN

    I cannot load DVDs now. I'm trying to load iLife '08 and when I insert the DVD, the computer keeps 'churning' away as if it's trying to recognize it. After a minute or two, the DVD is automatically ejected. CDs load just fine. I tried inserting other