Xsl:sort attribute value templates for select and order

I've tried the xdk_java_9_0_1_0_0.tar.gz update today and for that the reported bugs are still there : one urgent (quite a stopper for us) is this one
<xsl:template match="/resultlist">
<xsl:variable name="sortorder">descending</xsl:variable>
<xsl:variable name="sortfield">name</xsl:variable>
<xsl:for-each select="result">
<xsl:sort select="./{$sortfield}" order="{$sortorder}"/>
<xsl:value-of select="./index"/>,<xsl:value-of select="./name"/>
</xsl:for-each>
</xsl:template>
still it does not replace {$sortfield} and {$sortorder}.

This is known bug 1798018 in the Oracle XSLT processor.
The only workaround I can think of is to use <xsl:choose> to optionally use different <xsl:for-each> blocks, one with order="ascending" and one with order="descending" as literal values.

Similar Messages

  • Template for picturesize and order

    Hi there,
    several times a week I have to paste microscopy fotos into a powerpointpresentation and have to resize them, that they have all the same size and then print that sheet out.
    I would love to have a template for maybe 8/12/16 pictures, so that I just can drag and drop them onto that sheet, and it would be resized automatically to that size I wanted to. Like little boxes, all the same size and all in file.
    The pictutes do need all a little textbox under the pictures and one single headline.
    Im totally new to Illustrator and don't know how to create such boxes. Is it possible to do so?
    best wishes

    to expand on what Wade said,
    The OP did not mention what version of illustrator he/she has. Previous to CS4 the contact sheet option is in photoshop. CS4 and above it is in Bridge.and will generate a pdf file. The resulting pdf file is editable in Illustrator.

  • Xsl:sort order attribute value template

    I am trying the use the following in XDB 10.1.0.2
    <xsl:sort order="{$myOrder} ...
    It appears that the order attribute does not allow an attribute value template.
    Any suggestions would be appreciated.
    Anthony

    This is known bug 1798018 in the Oracle XSLT processor.
    The only workaround I can think of is to use <xsl:choose> to optionally use different <xsl:for-each> blocks, one with order="ascending" and one with order="descending" as literal values.

  • Creating some sort of text template for multiple pictures

    Hello, I'm new to the forums and new to photoshop elements. Let me lay out the situation so you have a better idea of what I'm trying to do and why. I work at a real estate office and we are going to hang a tv on the wall and display a slideshow of our homes for sale and ontop of the pictures I am going to add text to each photo with information about the home. I want to be able to add text in the same proportions in the same spot on each photograph. Is there some automatic way of doing this? I will have to hand type different info on each photo. The pictures come from different cameras (each agent takes their own photos) with different resolutions and doing it one by one (ive done just a few out of over a hundred so far) I'm finding out that one size text works on one but when I try to use the same size font on the next photo it's either too big or too small, I guess this is because of the different resolutions of each camera. I know I may have rambled a bit here but if anyone can point me in the right direction I'd be thankful.
    If I need to clear up anything I've said let me know.
    Thanks

    I believe you responded to the wrong posting. Mine is titled "Transferring from MyPictures "
    Date: Thu, 17 Sep 2009 14:12:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: Creating some sort of text template for multiple pictures
    The font size is correlated with the resolution.
    Have you investigated use of Powerpoint to construct a continuous-loop presentation?
    "Self-running presentations are a great way to communicate information without having to have someone available to run a slide show. For example, you might want to set up a presentation to run unattended in a booth or kiosk at a trade show or convention. You can make most controls unavailable so that users can't make changes to the presentation. A self-running presentation restarts when it's finished and also when it's been idle on a manually advanced slide for longer than five minutes.
    When designing a self-running presentation, you'll want to keep the setting in mind — for example, whether the booth or kiosk will be in an unmonitored public place or whether supervision will be available. The answer will help you determine what elements you add to your presentation, how much control you give users, and what steps you need to take to prevent misuse.
    To set up a self-running show: open the presentation, click Set Up Show on the Slide Show menu, and then click Browsed at a kiosk (full screen). When you click this option, Loop continuously until "Esc" is automatically selected."
    >

  • How to create a Templates for Categories and Products In BCC

    Hi All,
    Could you please tell me How to create a Templates for Categories and Products In BCC and how Can I get those Templates details(Categories and Products)in jsp
    If possible can any one send the document or where we find in atg docs
    Regards,

    At product/category/sku level there is a property called template.
    Find the property in ACC/BCC and provide all the values including the URL property.
    In you jsp, you can use this property from product/sku like the way you retrieve any other property from sku/product.
    <dsp:valueof param="product.template.URL" />
    Using that property with <dsp:include> includes that page.
    Peace
    Shaik

  • CRS-5008: Invalid attribute value: ce0 for the network interface

    Hi all,
    we try to install grid infrastructure 11GR2 (11.2.0.1) into Solaris Zone with shared network interface.
    We also modified scirpt racgvip, so it will be able to login (via ssh with key authorization) to the global zone and add or remove interface on zone. Script itself works fine.
    But it seems that orarootagent some how checks the interface, and returned error.
    In the log of the orarootagent I can see error:
    2010-10-01 21:38:49.573: [ AGFW][9] CHECK initiated by timer for: ora.net1.network sapdr2db2 1
    2010-10-01 21:38:50.473: [ora.net1.network][17] [check] NetworkAgent::checkLink returned false
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] NetInterface::sGetIpAddress {
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] netInterfaceName empty.
    2010-10-01 21:38:50.474: [ora.net1.network][17] [check] NetInterface::sGetIpAddress }
    2010-10-01 21:38:50.474: [ AGFW][17] check for resource: ora.net1.network sapdr2db2 1 completed with status: OFFLINE
    2010-10-01 21:38:50.476: [ AGFW][17] Executing command: check for resource: ora.net1.network sapdr2db2 1
    2010-10-01 21:38:50.477: [ora.net1.network][17] [check] NetworkAgent::init enter {
    2010-10-01 21:38:50.478: [ora.net1.network][17] [check] Checking if ce0 Interface is fine
    2010-10-01 21:38:50.479: [ora.net1.network][17] [check] NetInterface::scheckNetInterface returned 0
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] CRS-5008: Invalid attribute value: ce0 for the network interface
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetworkAgent::init exit }
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetInterface::scheckNetInterface returned 0
    2010-10-01 21:38:50.480: [ora.net1.network][17] [check] NetworkAgent::checkInterface returned false
    Does anybody know how the orarootagent checks for the network resource?
    It seems that there are some procedures (NetworkAgent::checkLink, NetInterface::sGetIpAddress) inside it. But the problem is that this file is binary.
    Or may be there are some ways to track how orarootagent checks?

    >
    2010-10-18 18:11:07.589: [ora.net1.network][9] {0:2:8} [check] Checking if ce0 Interface is fine
    2010-10-18 18:11:07.589: [ora.net1.network][9] {0:2:8} [check] NetInterface::scheckNetInterface returned 0
    2010-10-18 18:11:07.590: [   AGENT][9] {0:2:8} UserErrorException: Locale is
    2010-10-18 18:11:07.591: [ora.net1.network][9] {0:2:8} [check] CRS-5008: Invalid attribute value: ce0 for the network interface
    >
    Is there anything I can do with it? Will appreciate any help!Is ce0 a valid interface on the machine? (has the global zone done "ifconfig ce0 plumb"?)
    Is the zone correctly configured (check output of the export sub-command of zonecfg)?
    --Sowmini                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • C# compiling error: 'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?)

    Hello experts,
    I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
            string tempFileName = fileName;
            int count = 1;
            while (allFiles.Contains(tempFileName ))
                tempFileName = String.Format("{0} ({1})", fileName, count++); 
            output = Path.Combine(folderPath, tempFileName );
            string fullPath=output + ".xml";
    However, it gives the following compilation errors
    for the Select and Contain methods respectively.:
    'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
    (are you missing a using directive or an assembly reference?)
    'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
    found (are you missing a using directive or an assembly reference?)
    I googled on these errors, and people suggested to add using System.Linq;
    I did, but the errors persist. 
    Any help and information is greatly appreciated.
    P. S. Here are the using clauses I have:
    using System;
    using System.Data;
    using System.Windows.Forms;
    using System.IO;
    using System.Collections.Generic;
    using System.Text;
    using System.Linq;

    Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look 
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.IO;
    namespace consAppFileManipulation
    class Program
    static void Main(string[] args)
    string fullPath = @"c:\temp\trace.log";
    string folderPath = @"c:\temp\";
    string fileName = "trace.log";
    string output = "";
    string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
    string extension = Path.GetExtension(fullPath);
    string path = Path.GetDirectoryName(fullPath);
    string newFullPath = fullPath;
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
    string tempFileName = fileName;
    int count = 1;
    //THIS IS AN INFINITE LOOP
    while (allFiles.Contains(fileNameOnly))
    tempFileName = String.Format("{0} ({1})", fileName, count++);
    //THIS CODE IS NEVER REACHED
    output = Path.Combine(folderPath, tempFileName);
    fullPath = output + ".xml";
    //string fullPath = output + ".xml";
    UML, then code

  • ConfigureCombined invoice for Delivery and Order related billing items

    Dear Guru's,
    Please tell us what settings one have to do in copy controls (like for TAS "OR to F2" & TAN "LF to F2") as to Combined invoice for Delivery and Order related billing items.
    Regards,
    Sai

    Hi Sai,
    for TAS "OR to F2"
    T-code-VTFA
    Target Billing Type --"F2"        and Source Document as "OR"
    At header level you can select .
    Copying requirements "001" Header/order related
    Tick mark copy item number
    At item Level you give
    Copy requirements "028" Order related 3rd party item
    Data VBRK/VBRP= 000
    Billing quantity="A"
    Pos/Neg quantity="+"
    Price type="G"
    and Save
    2)TAN "LF to F2
    Go to Tcode-VTFL
    Target Billing type "F2"   and source document as "LF"
    In header details you give
    Copy requirements "001" Header-order related
    detr export dta="B"
    Allocatio number="B"
    Reference number="A"
    Tick mark copy item number
    In item details you give
    Copy requirements"004" delivery related item
    Data VBRK/VBRP="003" Single invoive"
    Billing qantity="D"
    Pos/neg quant="+"
    Price type=G"
    Price source"E"
    Regards
    Seegal

  • Smartforms SAP-delivered form template for SD Sales Order Confirmation

    All,
    I am trying to find the SAP-delivered form template for SD Sales Order Confirmation. I looked in OSS Note 430621 and I can not see it there.
    This is the sales order likeness of what LB_BIL_INVOICE is for invoice.
    Thanks in advance, Saint Paul Pete

    Hi Balaji,
    This is your old friend damo(annamali university)!. Saw your question!. I will send you the answer.
    [email protected]
    Regards,
    Damo

  • "No parameters defined for plant and order type "

    Hello Experts,
    While doing Process order confermation geting error as "No parameters defined for plant and order type "
    Pls guide me to resolve this issue...
    Regards
    Bhupen

    Hi,
    This error is due to the confirmation parameters not maintained with respect to the plant and order type you used in the process order.
    Go to OPK4 transaction or in the path-Production Planning for Process Industries-Process Order-Operations-Confirmation-Define Confirmation Parameters.
    Maintain with respect to plant and oreder type and again try to do teh confirmation.
    Hope it helps
    Thanks
    Girish

  • Completion Confirmation Parametrs for Plant and Order Type

    hi Gurs,
    Pls let me know how to define Completion and Parameters for Plant and Order Type.
    Pls let me know the IMG path also.
    Points will be rewarded......
    Ranjit Kumar

    hello SAP Gurus....
    Pls let me know how to define Completion and Parameters for Plant and Order Type.
    Pls let me know the IMG path also.
    Points will be Assigned......
    Ranjit Kumar

  • How to write HTML code in Web Template for selection screen

    Hello All,
    Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
    I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
    if so, how.
    My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen.  I was thinking of putting this text using HTML code in the selection screen.
    Regards,
    Nagendra.

    Hi Erick,
    No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
    Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
    Regards,
    Nagendra.

  • Value help for select options  (pass the selected values to the select opt)

    Hi everyone,
    I created a custom value help for my select options.
    It works fine, when the user clicks on the value help, my own view is displayed, and the user can select the required values:
    lt_range_table =
      wd_this->m_handler->create_range_table(
      i_typename = 'ORGEH' ).
    * add a new field to the selection
      wd_this->m_handler->add_selection_field(
      i_id = 'ORGEH'
      i_value_help_id = 'MYSO'
      i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_APPLDEV
      it_result = lt_range_table
      i_read_only = read_only ).
    The problem is, how can I pass the values to the select option? When the user selects the values in my view, I have them in an internal table. But how can i pass these values to the select option?  I suppose there is declared method for this... but which one?
    Thanks
    N.

    Sorry for the stupid question, but it seems I can't acces my attribute:
    I create it in the component controller
    NODE: 'APP_DATA'
    Attribute: M_HANDLER TYPE IF_WD_SELECT_OPTIONS
    Cardinality 1..1
    Selection 1..1
    Singleton = 'X'
    I pass the values int he EDOINIT method of MAIN view:
    * Get compnent controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    * Get the controler context node
      CALL METHOD LO_CONTROLLER->GET_CONTEXT
        RECEIVING
          CONTEXT = lo_context.
    *Get the root node
      lo_node = lo_context->root_node.
    *Get the child node
      lo_child = lo_node->get_child_node( 'APP_DATA' ).
    ls_app_data-m_handler = wd_this->m_handler.
    lo_child->bind_structure( ls_app_data  ).
    After this code I test it if the binding is correct:
    DATA: ls_test TYPE wd_comp_controller->element_app_data.
    CALL METHOD LO_CHILD->GET_STATIC_ATTRIBUTES
      IMPORTING
        STATIC_ATTRIBUTES = ls_test.
    The lstest is correct_. It has the reference for the SelectOption
    Now, in the SEL_TREE View:
    * Get compnent controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    * Get the controler context node
      CALL METHOD LO_CONTROLLER->GET_CONTEXT
        RECEIVING
          CONTEXT = lo_context.
    *Get the root node
      lo_node = lo_context->root_node.
    *Get the child node
      lo_child = lo_node->get_child_node( 'APP_DATA' ).
    *Get the data from the node
      CALL METHOD LO_CHILD->GET_STATIC_ATTRIBUTES
        IMPORTING
          STATIC_ATTRIBUTES = ls_app_data.
      wd_this->m_handler = ls_app_data-m_handler.
    The ls_app_data-m_handler is INITIAL. There is no value in it.
    What did I do wrongly? 
    Please help
    Thanks
    N.

  • Master control attribute value discrepency between Master and child org.

    Hi Guru,
    We are facing a strange issue in Track install Base Attribute values. There are some 60K item having discrepency in the value of the this attribute between master and child.
    We are wondering how it happens as this attribute is master controlled one and we never changed this attribute control and kept as Master controlled. The master value is true
    If you guys experience this issue, please let us know the solution that you had applied to fix this issue.
    regards
    venkat

    Try executing the vo1 query before setting the bind variable for vo2, then execute the vo2 query (if that's what you want to do).

Maybe you are looking for

  • ABAP QUERY(sq02)

    Hi friends,      I am using PNP LDB in SQ02 .      i am selecting AT SELECTION-SCREEN in "CODE tab" but it's not selected      How to use "F4 help function module" in ABAP Query(SQ02). Thanks & Regards, Vallamuthu.M

  • Microsoft access 2007 barcode active x control

    Recently we purchase MS office  2010  professional which is downgraded to 2007 . we are using the microsoft access for our application . we need to get the report in barcode ( code 39 ) . so we tried to activate the activex control option and active

  • FI Drill down reports

    I am practicing SAP FICO configuration.... Can anyone give me an example of FI drill down reporting like financial statemnet comparision and also for profit center reporting ....jus some simple example to get the idea of drill down reports.

  • VAT calculations in numbers

    i have summed a column and have a total whcih includes vat which is 20%. lets say the total with vat is in h64 what is the formula to make h65 just h64 minus 20% i know this must be obvoius but i've been looking on line in help and cant see the answe

  • Check Printing without creating Vendor

    Hi, We print check by creating vendor (which is a standard practice). Could you pl sugest me the wayout where I can directly Debit Expenses account and issue check in the name of Vendor. eg. I want to make a payment for Advertisement without creating