XSL attribute question

*<xsl:attribute name="xdofo:rowspancell-repeat-nextpage" xdofo:ctx="block">true</xsl:attribute>*
Hello, can you provide me some example on how to use this code? i tried putting this code in a field in a table however it doesn't do any changes in my report, the header still don't repeat.
i'm aware of the word functionality to repeat a header, but due to the structure of my table, that method will changes the output of my report. the reason is i have a looping condition in that header, so if i tried to repeat it, the looping also repeats.
to summarize my table outline:
<HEADER1>---repeating already
<HEADER2 with looping condition>---> the one that i want to repeat
both headers belongs to a one table
i tried separating the header 2 to another table but it destroys my report output
thanks in advance! :)

Hi
You may get help if you post your question on its forum.
XML DB
-Priyanka

Similar Messages

  • xsl:attribute name="xdofo:rowspancell-repeat-nextpage" xdofo:ctx="block" t

    <xsl:attribute name="xdofo:rowspancell-repeat-nextpage" xdofo:ctx="block">true</xsl:attribute>
    Hello, can you provide me some example on how to use this code? i tried putting this code in a field in a table however it doesn't do any changes in my report, the header still don't repeat.
    i'm aware of the word functionality to repeat a header, but due to the structure of my table, that method will changes the output of my report. the reason is i have a looping condition in that header, so if i tried to repeat it, the looping also repeats.
    to summarize my table outline:
    <HEADER1>---repeating already
    <HEADER2 with looping condition>---> the one that i want to repeat
    both headers belongs to a one table
    i tried separating the header 2 to another table but it ruins my report output
    any methods on how this can be done?
    thanks in advance! :)

    Hi All
    Thanks For Your Efforts and replays
    could anyone pls raise SR for it ?Because I do not have Privilege to do so

  • Bug w/ xsl:attribute-set in java xdk

    Hi - I found what seems to be a bug in the 9.0.0.2.0.0A xdk beta for java. In xsl, if you have an empty xsl:attribute-set (one that uses other attribute sets but does not define any of it's own), the XSL Processor gives an internal error. Adding an attribute to the set fixes the problem.
    Example:
    <xsl:attribute-set name="foo" use-attribute-sets="set1 set2"/>
    Gives:
    (Error) An internal error condition occurred. at oracle/xml/parser/v2/XSLProcessor.reportException (XSLProcessor.java:694) at oracle/xml/parser/v2/XSLProcessor.newXSLStylesheet (XSLProcessor.java:500) at oracle/xml/parser/v2/XSLStylesheet.<init>
    Changing it to:
    <xsl:attribute-set name="foo" use-attribute-sets="set1 set2">
    <xsl:attribute name="bug"/>
    </xsl:attribute-set>
    Gives:
    No error
    Is this a bug or are you required to define at least one new attribute in every attribute set?
    null

    correct typos:
    I can't reproduce the error you got by defining the following stylesheet. Please let me know if anything I misunderstand.
    XSL:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:attribute-set name="set1">
    <xsl:attribute name="set1">good</xsl:attribute>
    </xsl:attribute-set>
    <xsl:attribute-set name="set2">
    <xsl:attribute name="set2"/>
    </xsl:attribute-set>
    <xsl:attribute-set name="foo" use-attribute-sets="set1 set2">
    </xsl:attribute-set>
    <xsl:template match="/">
    <out xsl:use-attribute-sets="foo">this is a try</out>
    </xsl:template>
    </xsl:stylesheet>
    RESULT:
    <?xml version = '1.0'?>
    <out set1="good" set2="">this is a try</out>
    null

  • Xalan: extension element, evaluating xsl:attribute in an extension

    Hi,
    Can I evaluate in an extension method of an extension class an <xsl:attribute ... ?
    for example in:
         <test:layout figure="rectangle" >
              <xsl:attribute name="color"><xsl:value-of select="$var1" /></xsl:attribute>
         </test:layout>
    having Test as the extension class, and "layout" the corresponding method, I need to evaluate attribute "color", I have test it and when Test.layout is called it does'nt has color attribute, is there any way to evaluate the <xsl:attribute ... expression to access the value of color ?
    thanks for any help.

    Hi, I found the answer, and here it is for any body with same dude:
    String attrExpr = ((ElemExtensionCall)elem).getAttribute ( "color", context.getContextNode(), context.getTransformer() );
    org.apache.xpath.XPathContext xctxt = context.getTransformer().getXPathContext();
    XPath myxpath = new XPath(attrExpr, elem, xctxt.getNamespaceContext(), XPath.SELECT);
    XObject xobj = myxpath.execute(xctxt, context.getContextNode(), elem);
    return xobj.str(); // this is the value of the attribute.
    in xslt: <test:entension1 color="@Attr" /> or any other xPath
    I found it at Redirect.java
    thanks to you all.

  • Do you support xsl:attribute-set?

    I could not get xsl:attribute-set and xsl:use-attribute-sets to work. Do you support them?
    regards
    tomas y
    null

    The following simple test works for me using the 2.0.2.9, 2.0.2.10, and 2.1.0.0 Beta versions of Oracle XSLT processor:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <test xsl:use-attribute-sets="title-style"/>
    </xsl:template>
    <xsl:attribute-set name="title-style">
    <xsl:attribute name="font-size">12pt</xsl:attribute>
    <xsl:attribute name="font-weight">bold</xsl:attribute>
    </xsl:attribute-set>
    </xsl:stylesheet>Which produces the output:
    <test font-size="12pt" font-weight="bold"/>
    as expected when applied to any XML source document.
    What particular use is not working for you?

  • Xsl attribute font-size doesnt work

    Hi,
    I wanted to set the font-size dynamically.
    I tried as below:
    <xsl:attribute xdofo:ctx="incontext" name="font-size">30pt</xsl:attribute>
    <?attribute@incontext:font-size;'30pt'?>
    nothing worked.
    But If I give the same for font-weight it works.
    Whereas If I use <fo:block font-size="30pt">TEXT</fo:block> it works as expected.
    May I know why xsl attributes doesnt work in this case?
    Thanks in Advance.

    Hi,
    If i understand, you want different font-size for different text blocks which contain more than one row?
    E.g.
    <font size="1">Some text in
    first block</font></br>
    <font size="2">Some text in
    second block</font></br>
    <font size="3">Some text in
    third block</font></br>
    Something like that?

  • Xsl:attribute error in oraxsl command line

    Hi Forum,
    I'm getting error XML-22047 when trying to use xsl:attribute.
    Here's the test XML I'm using:
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
       <level1>Test-Content</level1>
    </root>
    now, this is the stylesheet I'm using:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mdm="schema.condes.org/mds/meta" version="2.0" xml:space="preserve">
       <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
       <xsl:template match="/">
          <xsl:apply-templates/>
       </xsl:template>
       <xsl:template match="root">
          <Foo>
             <xsl:attribute name="test">testing attribute</xsl:attribute>
             <xsl:apply-templates/>
          </Foo>
       </xsl:template>
    </xsl:stylesheet>
    If I run this, it throws error XML-22047, invalid instantiation of 'attribute' in 'element' context (translated from the German error message...)
    Has anybody seen this and could advice me some help?
    Thanks, Jürgen

    Use xsl:element instead of explicit element.
    <xsl:template match="root">
    <xsl:element name="Foo">
    <xsl:attribute name="test">testing attribute</xsl:attribute>
    <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>

  • Multi value attribute question

    Hello there,
    Our application would like to have a multi value attribute in DS11.1.1.7.0 on SLES platform. But here is my question..
    1. Can i have a one single attribute with value like companyCode: ABC,XYZ,QWE,RTY
    2. OR , can i have like below..
    CompayCode: ABC
    CompanyCode: XYZ
    CompanyCode: QWE
    CompanyCode: RTY
    which is the best method for LDAP server performance?
    Thanks

    Hi,
    Multi-valued attribute is supported OOTB by LDAP and it seems simpler&better (possibility to have better indexing, more efficient to add/delete values)  to use the second option, especially if you need to search for entries based on one of the attribute value. By default, LDAP attributes are multi-valued in the LDAP schema so you can store several values for companyCode.
    Note: attribute values in an LDAP attribute are unordered, so choose the primary option if you need to maintain ordering across attribute values.
    HTH
    -Sylvain

  • Xsl:param question

    hi in my xsl
    I have something that is like
    <xsl:param name="x" select="@somevalue"/>
    that @somevalue is suppose to have a value assigned to it (so it is dynamic).......but I can't figure out how it might work
    can someone provide my some info as to how @ this works in the xsl world....
    basically I want to know how i can assign value to that @somevalue...
    jaxb...?!
    thanks

    Are you asking what the @ character means? It's a shortcut for the attribute axis, so basically "@somevalue" means "the somevalue attribute of the context node".

  • D namespace attributes questions

    Not sure these are actually Catalyst questions, but they are part of the workflow through Catalyst, so:
    1) Are the "d" namespace attributes (such as "userLabel") compiled into the SWF when compiling in Builder?
    For instance:
    <s:TextInput skinClass="components.UserTextField" text="Username" d:userLabel="UserTextField" x="43" y="82"/>
    1a) If so, how can I access them in AS3?
    1b) If not, what's the use? I know -- they carry over some useful data, but is there something we can do with them in Builder other than search and replace?
    Thanks,
    Kirk

    Hi Kirk,
    Any attribute that has a prefix (d:, th:, ai:, etc) is completely ignored by the compiler and is not accessible at runtime. They are called "private attributes".
    They are not directly useful in Builder. Feel free to strip them out.
    -Adam

  • JAD / JAR attributes questions.

    From what I can tell there are 18 attributes (16 MIDlet- and 2 MicroEdition-) that are mentioned in JSR 118. Excluding for now the Runtime-Execution-Environment.
    The JAD has five mandatory attributes (Name, Version, Vendor, Jar-URL and Jar-Size). The JAR has five (MIDlet-Name, Version and Vendor and MicroEdition-Profile and Configuration). I know that Name, Version, Vendor must always match (signed or unsigned).
    My questions are about the other optional attributes and how they should be validated and the rules around if an attribute(s) is included in the JAD does it need to be in the JAR as well and must it always be identical.
    Example1 (assuming mandatory atts are present and valid)
    Jad = MIDlet-Icon: icon.png
    JAR = MIDlet-Icon is not present
    App is signed. Should this cause an error or is it allowed? What if the app is unsigned?
    Example2:
    Jad = MIDlet-Icon: icon.png
    JAR = MIDlet-Icon: stars.png
    App is signed. I think this would result in a 905. What if unsigned?
    I've seen some docs that refer to four attributes that the JAD should ignore: MIDlet-Jar-Size, MIDlet-Jar-URL, MIDlet-Install-Notify and MIDlet-Delete-Notify. Are there others?

    Can you find the specifications for your device. Nokia, Motos, SEs all list the specs for their devices. Try visiting the web site for your device. There are also some sites that index the specs for phones

  • Custom tag attribute question

    How to assign value of expression or variable to custom tag attribute in jsp?

    I had the same problem in a design a couple of months ago and could not get around it so I switched the functionality into code and out of the tag lib.
    I take it you are trying to do something like this?
    <%
    String value="hiworld";
    %>
    <mytaglib:saysomething value="<%=value%>"/>

  • Setting attributes question

    Hi,
    I am trying to set attributes of a object in a for loop so that it sets the attribute as many time as there are elements in the for loop and then add the object to an array list and then after exiting the array list set the same attribute to some thing else and also add it to array list so now when I print it out the array list it should print like this....
    first item in array list// coming from for loop
    second item in array list // coming from for loop
    third item // that I am setting out of array list ....
    I am doing it like this
    Bank bank = null;
    ArrayList cchList = new ArrayList();
    flag = true;
    for (int i = 0; i < arrayList.size(); i++) {
              Cutomer cutomer = (Cutomer) arrayList.get(i);
              bank = new Bank();
         falg = false;
    bank.setComments(cutomer.getDecs());
    cchList.add(bank);
    if(flag)
              bank = new Bank();
         bank.setComments(cutomer.getTxtDecs());
         cchList.add(bank);
    My problem is it is printing it twice .....
    can someone tell me what I am doing wrong here

    If I understand your problem right, you're not grouping your if-statement.
    if(flag)
    bank = new Bank();
    bank.setComments(cutomer.getTxtDecs());
    cchList.add(bank);should be
    if(flag)
        bank = new Bank();
        bank.setComments(cutomer.getTxtDecs());
        cchList.add(bank);
    }

  • Transient VO Attributes Question?

    Can anyone please explain to me why there appears to be two, and not one, VORowImpl instances for one detailVO record?  Please let me explain.
    I have two EO's with one AO between them.  Two VO's and a VL between them.  An AM containing the two VO's with the detail VO via the VL(on num1) from the master the the detail.  The detail VO contains a transient attribute.
    Here are the tables.
    create table jl_oaf_test1(num1 number, text1 varchar2(30));
    create table jl_oaf_test2(num1 number, num2 number, text1 varchar2(30));
    I have a simple test page containing an advanced table with an inner advanced table in the outer's detail.  I also have another advanced table bound to the same detail VO instance found in the AM.  The controller code below will produce a page that displays the same database record with two different transient attribute values.  While the non transient text1 attribute is the same in both records displayed in the page.  So I am confused.  It appears like there could be multiple VORowImpl instances for the same database record based upon how the transient attribute appears but the single update to the non transient attribute makes it appear like there is only one as I would expect.  Can someone please explain what I am missing about transient VO attributes?
    The developer's guide mentions a view object row cache.  Could that be what I am missing here?
      "6. The SuppliersVORowImpl get<AttributeName> method in turn calls the corresponding SupplierEOImpl get<AttributeName> method to retrieve the value. For the "calculated" OnHoldDisplay attribute, the view object row retrieves the value from its own cache."
    Controller code.
    package oracle.apps.xxmap.JlOafTest.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest1VOImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest1VORowImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest2VOImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTest2VORowImpl;
    import oracle.apps.xxmap.JlOafTest.server.JlOafTestAMImpl;
    import oracle.jbo.Row;
    import oracle.jbo.RowIterator;
    public class JlOafTestCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        JlOafTestAMImpl am = (JlOafTestAMImpl)pageContext.getApplicationModule(webBean);
        JlOafTest1VOImpl vo1 = am.getJlOafTest1VO1();
        vo1.executeQuery();
        JlOafTest1VORowImpl row = (JlOafTest1VORowImpl)vo1.first();
        if (row != null) {
            row.setSelectFlag("Y");
            vo1.setCurrentRow(row);
      public void processFormData(oracle.apps.fnd.framework.webui.OAPageContext p1, oracle.apps.fnd.framework.webui.beans.OAWebBean p2) {
        super.processFormData(p1, p2);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        System.out.println("PFR 1");
        String event = pageContext.getParameter("event");
        if (pageContext.getParameter("Apply") != null) {
            System.out.println("Apply");
            JlOafTestAMImpl am = (JlOafTestAMImpl)pageContext.getApplicationModule(webBean);
            JlOafTest1VOImpl vo1 = am.getJlOafTest1VO1();
            JlOafTest1VORowImpl row1 = (JlOafTest1VORowImpl)vo1.first();
            row1.setTransTest("test master transient update in PFR");
            System.out.println("row1.getNum1 is " + row1.getNum1());
            System.out.println("PFR 2");
            if (row1 != null) {
                System.out.println("PFR 3");
                RowIterator iterator2 = row1.getJlOafTest2VO();
                JlOafTest2VORowImpl row2;
                if ((row2 = (JlOafTest2VORowImpl)iterator2.first()) != null) {
                    System.out.println("PFR 4");
                    System.out.println("found row2 from iterator, num1,num2 = " + row2.getNum1() + "," + row2.getNum2());
                    row2.setTransTest("test detail transient update in PFR");
                    row2.setText1("test123456");
            JlOafTest2VOImpl vo2 = am.getJlOafTest2VO1();
            Row row = vo2.first();
            row.setAttribute("TransTest","test123");
            System.out.println("set row with num1,num2 = " + row.getAttribute("Num1") + "," + row.getAttribute("Num2"));
            System.out.println("VORow instance id " + row.)
            am.getTransaction().commit();
        else if ("Select".equals(event)) {
            System.out.println("PFR Select event");
            JlOafTestAMImpl am = (JlOafTestAMImpl)pageContext.getApplicationModule(webBean);
            JlOafTest1VOImpl vo1 = am.getJlOafTest1VO1();
            Row row = vo1.getFirstFilteredRow("SelectFlag", "Y");
            vo1.setCurrentRow(row);
    Thank you

    By adding the TransTest transient attribute to the underlying EO object and using this new EO attribute in the VO the update via the master VO's detail accessor now results in the page rendering the new value for each display of the detail VO record.
    I would still like to know why the VO transient attribute behaves the way I describe above.

  • OSB 11G xsl/xquery question in Proxy

    OSB 11G
    In Proxy, I have to invoke a business service which has 3 operations
    I need to use response of first 2 operations,as request to third operation along with some input xml to OSB Proxy.
    customer, group, severity are hard coded.(which will be input to OSB)
    How do I add/insert response from op1 after <string>customer</string> ??
    and response from op2 after <string>group</string> . ??
    <InvokecreateRequest_InputVariable>
    <part name="parameters" >
    <createRequest>
    <sid>1959439747</sid> // is resp from operation1, which is request to operations3
    <creatorHandle/>
    *<attrVals>* // this is array of string
    <string>customer</string>
    <string>cnt:08DF89FC07516A41B228587DBE75B6A7</string> //resp from op1, that has to be request to op3
    <string>group</string>
    <string>B79AAF63D870F845980A</string> //input to OSB
    <string>severity</string>
    <string>2</string> //input to OSB
    *</attrVals>*
    <propertyValues>
    <string/>
    </propertyValues>
    <template/>
    <attributes>
    <string>persistent_id</string>
    </attributes>
    </createRequest>
    </part>
    </InvokecreateRequest_InputVariable>
    Also, should I use assign or insert in Proxy ??

    Not sure exactly what you need, but here is a basic layout of what you need to do.
    Make a service callout to the first operation and save the response in a variable, for ex $resOne
    Then make a service callout to the second operation ans save the response in a variable for ex $resTwo.
    Now use a replace or assign action to create the request for the third operation:
    If you are using a Route action on Route node to call the third operation, you should use a replace action and replace the contents of $body with the XML content as needed. If you are going to use another service callout, then you should use an assign to create a request variable.
    In either case, this is what your XQuery should look like:
    <InvokecreateRequest_InputVariable>
    <part name="parameters" >
    <createRequest>
    <sid>{$resOne/ns:ElementName/ns:SID/text()}</sid>     // Here you will populate value from $resOne using a correct XPath
    <creatorHandle/>
    <attrVals>
    <string>customer</string>
    <string>cnt:08DF89FC07516A41B228587DBE75B6A7</string>
    {$resOne}    // here you are inserting the complete response from Operation one
    <string>group</string>
    {{$resTwo}    // here you are inserting the complete response from Operation Two, You can choose to populate these values separately inside variables like for SID above.
    <string>B79AAF63D870F845980A</string>
    <string>severity</string>
    <string>2</string> //input to OSB
    </attrVals>
    <propertyValues>
    <string/>
    </propertyValues>
    <template/>
    <attributes>
    <string>persistent_id</string>
    </attributes>
    </createRequest>
    </part>
    </InvokecreateRequest_InputVariable>

Maybe you are looking for

  • How do I create a form that enables the user to save the form filled in?

    When I create the form, save it and open it later, I get the message that the form can only be saved empty - without whatever the user filled into the text fields. Why is this and how can I enable the form to be saved including the content of the fie

  • Certain MP3s won't work on my iPod

    I have a few mp3s that won't play on my iPod. They are DRM-free and play perfectly fine in iTunes. However, when I try to play it on my iPod, the first 30 seconds will play fine and then it'll stop and go all the way back to the beginning. If I go to

  • Sun App Server 8 as a Windows Service

    Is it possible to install Sun App Server 8 as a Windows Service so I could run it under Windows 2003 Server? If yes, how -- I could not find any information on it. Sincerely, Sergei Batiuk.

  • HT2474 I am not able to see my dock on the MacBook v 10.6.8

    i am not able to see my dock and also getting error 13014 for itunes?.

  • Zweites Schnittfenster in Elements 10?

    Hallo Adobe-Forum, kann mir jemand flüstern, ob ich in Premiere Elements 10 ein zweites Fenster aufmachen kann für die zweite Timeline zu beobachten während dem Schnitt? Ich arbeite via MacPro und könnte z.B. einen weiteren Monitor anschließen, wenn