Grouping within a group in XSLT 1.0

Hi,
I have the below XML, from which I need to generate multiple groups within groups.
My sample XML:
<XmlContent>
<SalesInvoices2>
<NewDataSet>
<Table>
  <F1>ID</F1>
  <F2>NumberOfEntries</F2>
  <F3>JournalID</F3>
  <F4>Description</F4>
  <F5>TransactionID</F5>
  <F6>SourceID</F6>
  <F7>RecordID</F7>
  <F8>AccountID</F8>
  <F9>CreditAmount</F9>
  </Table>
<Table>
  <F1>1</F1>
  <F2>4</F2>
  <F3>10</F3>
  <F4>53-IX-90 Volkwagen Golf 1</F4>
  <F5>1</F5>
  <F6>4</F6>
  <F7>1</F7>
  <F8>100</F8>
  <F9>1000.28</F9>
  </Table>
<Table>
  <F1>1</F1>
  <F2>4</F2>
  <F3>10</F3>
  <F4>53-IX-90 Volkwagen Golf 1</F4>
  <F5>1</F5>
  <F6>4</F6>
  <F7>2</F7>
  <F8>101</F8>
  <F9>1089.87</F9>
  </Table>
<Table>
  <F1>1</F1>
  <F2>4</F2>
  <F3>10</F3>
  <F4>53-IX-90 Volkwagen Golf 1</F4>
  <F5>1</F5>
  <F6>4</F6>
  <F7>3</F7>
  <F8>102</F8>
  <F9>1090.87</F9>
  </Table>
<Table>
  <F1>1</F1>
  <F2>4</F2>
  <F3>10</F3>
  <F4>53-IX-90 Volkwagen Golf 1</F4>
  <F5>2</F5>
  <F6>6</F6>
  <F7>4</F7>
  <F8>103</F8>
  <F9>1091.87</F9>
  </Table>
<Table>
  <F1>1</F1>
  <F2>4</F2>
  <F3>10</F3>
  <F4>53-IX-90 Volkwagen Golf 1</F4>
  <F5>2</F5>
  <F6>6</F6>
  <F7>5</F7>
  <F8>104</F8>
  <F9>1092.87</F9>
  </Table>
<Table>
  <F1>3</F1>
  <F2>4</F2>
  <F3>12</F3>
  <F4>53-IX-90 Volkwagen Golf 5</F4>
  <F5>3</F5>
  <F6>5</F6>
  <F7>6</F7>
  <F8>105</F8>
  <F9>1093.87</F9>
  </Table>
<Table>
  <F1>3</F1>
  <F2>4</F2>
  <F3>12</F3>
  <F4>53-IX-90 Volkwagen Golf 5</F4>
  <F5>3</F5>
  <F6>5</F6>
  <F7>7</F7>
  <F8>106</F8>
  <F9>1094.87</F9>
  </Table>
<Table>
  <F1>3</F1>
  <F2>4</F2>
  <F3>12</F3>
  <F4>53-IX-90 Volkwagen Golf 5</F4>
  <F5>3</F5>
  <F6>5</F6>
  <F7>8</F7>
  <F8>107</F8>
  <F9>1095.87</F9>
  </Table>
<Table>
  <F1>3</F1>
  <F2>4</F2>
  <F3>12</F3>
  <F4>53-IX-90 Volkwagen Golf 5</F4>
  <F5>3</F5>
  <F6>5</F6>
  <F7>9</F7>
  <F8>108</F8>
  <F9>1096.87</F9>
  </Table>
<Table>
  <F1>3</F1>
  <F2>4</F2>
  <F3>12</F3>
  <F4>53-IX-90 Volkwagen Golf 5</F4>
  <F5>4</F5>
  <F6>7</F6>
  <F7>10</F7>
  <F8>109</F8>
  <F9>1097.87</F9>
  </Table>
<Table>
  <F1>3</F1>
  <F2>4</F2>
  <F3>12</F3>
  <F4>53-IX-90 Volkwagen Golf 5</F4>
  <F5>4</F5>
  <F6>7</F6>
  <F7>11</F7>
  <F8>110</F8>
  <F9>1098.87</F9>
  </Table>
</NewDataSet>
  </SalesInvoices2>
  </XmlContent>
Expected Output:
<!-- Journal- Repeats for each unique set of journal ID (F3) -->
 <Journal>    
      <JournalId>
        <xsl:value-of select="F3"/>
      </JournalId>
      <Description>
        <xsl:value-of select="F4"/>
      </Description>
      <!-- Transaction - Repeats for each unique set of transaction ID (F5) within Journal-->
      <Transaction>
        <TransactionId>
          <xsl:value-of select="F5"/>
        </TransactionId>
        <SourceID>
          <xsl:value-of select="F6"/>
        </SourceID>
        <!-- Line - Repeats within each Transaction for each Record ID(F7)  -->
        <Line>
          <LineNumber>
            <xsl:value-of select="F6"/>
          </LineNumber>
          <OrderDate>
            <xsl:value-of select="F7"/>
          </OrderDate>
          <ProductCode>
            <xsl:value-of select="F8"/>
          </ProductCode>
          <ProductDescription>
            <xsl:value-of select="F9"/>
          </ProductDescription>
        </Line>
      </Transaction>
 </Journal>
I had tried the below XSLT - which is not working as expected, however with slight changes to the approach, I am able to get the one outer loop , i.e., Journal would get repeated twice, but not other elements within that.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output method="xml" indent="yes"/>
  <xsl:template match="/">
    <xsl:apply-templates select="XmlContent/SalesInvoices2"/>
  </xsl:template>
  <xsl:key name="EntryId" match="Table" use="F3" />
  <xsl:template match="NewDataSet">
    <NewDataSet>
      <xsl:apply-templates select="//Table[position()>1 and generate-id(.) = generate-id(key('EntryId', F3)[1])]" />
    </NewDataSet>
  </xsl:template>
  <xsl:template name="Table" match="Table">
    <NumberOfEntries>
        <xsl:value-of select="F2"/>
      </NumberOfEntries>
    <!-- Repeats - Journal -->
    <Journal>
      <JournalId>
        <xsl:value-of select="F3"/>
      </JournalId>
      <Description>
        <xsl:value-of select="F4"/>
      </Description>
      <!-- Repeats - Transaction -->
      <xsl:for-each select="key('EntryId', concat(F3,'|',F5[1]))">
        <Transaction>
          <TransactionId>
            <xsl:value-of select="F5"/>
          </TransactionId>
          <SourceID>
            <xsl:value-of select="F6"/>
          </SourceID>
          <!-- Repeats - Line -->
          <xsl:for-each select="key('EntryId', F3)">
            <Line>
              <LineNumber>
                <xsl:value-of select="F6"/>
              </LineNumber>
              <OrderDate>
                <xsl:value-of select="F7"/>
              </OrderDate>
              <ProductCode>
                <xsl:value-of select="F8"/>
              </ProductCode>
              <ProductDescription>
                <xsl:value-of select="F9"/>
              </ProductDescription>
            </Line>
       </xsl:for-each>
        </Transaction>
        </xsl:for-each>      
    </Journal>
   </xsl:template>
</xsl:stylesheet>
In the given sample - Journal should get repeated twice and within first Journal set of elements - I should get two transaction set of elements within the first set of transaction there should be 3 Line set of elements and in the second transaction set there
should be 2 Line set of elements.
Could you please help me on the solution, how I can have multiple groups and loop though the group and create another group within already constructed groups.
Rpaul

Hi,
>>how I can have multiple groups and loop though the group and create another group within already constructed groups.
For this statement, it is not clear to know what it represts, maybe this link is helpful:
http://www.microhowto.info/howto/group_xml_elements_by_key_using_xslt1.html

Similar Messages

  • Creating Serial Numbers within Repeating Groups

    I am trying to have Serial Numbers within Repeating Groups. The situation is that there are no Serial number field within that table (in the DB) to handle such a request. Can someone guide me as I am a newbie to BI Publisher.
    The Link to the image is [http://s833.beta.photobucket.com/user/fareed_xtreme/media/Capture-3.png.html]

    where are many commands from xslt
    http://bipconsulting.blogspot.ru/2009/03/xslt-for-bi-publisher.html
    https://blogs.oracle.com/ocsbip/entry/xslxsltxpathxslfo_part_1
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/extend_func.htm#CIHECHJG
    and so on ....

  • Page break within a group(s)

    I have a report that uses a group that contains three parts, a details part, a blank lines part, and a totals part.
    What I am attempting to achieve, is to produce the report so that there are page breaks within this group. The page breaks should happen after each part.
    I have been able to achieve the desired look by adding a group for each part, with an additional 'blank' group to provide a page break between the Details Part and the remaining 2 parts. 
    This, however has left me with 3 issues;
    Throughout the report, there will be pages with only the heading and no details.
    There are pages that show 2 headings (one for the ending detail group and the other is for successive detail group)
    How to remove the headings for the blank lines part and totals part (which is now on their own separate pages) 
    The major pain point for me is issue #3. Anyone able to offer suggestions with the amount of information provided?

    Hello,
    Based on your description, you have three part in one group. You have add page break between each part. You have mentioned that the heading will repeat in each page. You have set the tablix repeat headers on each page, right?
    Since you have blank line part in the group, when we add page break between each part, we will get a blank line page. When we have set the heading will repeat in each page, we would also have repeat page header in blank page.
    Now, what your requirement is not get the repeat header in the blank page and total page, right? Please refer to the following steps below:
    Cancel the headers repeat in each page configuration.
    Add a total row before of the detail group. Change these text box values with headers values.
    Please refer to the screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • How can I add multiple addresses to a group within address book?

    I realize you can add in addresses by going to 'Message' then 'add Sender to Address Book,' but what I'm interested in doing is within Apple Mail, adding multiple addresses into a specific group within address book. I've tried to do this using mail scripts but keep getting an error.
    Is it possible to do this?
    Thanks.
    David

    So far, FWIW all I've got is individual AddToAddressBook, then in AB itself, drag and drop one by one from the main list into the desired group.

  • How to delete a path item from within a group item?

    I am generating and downloading QR codes in vector format (.eps).  I use VB scripting to place each QR code into an Illustrator document for later laser etching as a batch.  Each QR code is comprised of a bunch of small, individual filled squares all enclosed in a single large transparent square.  Here's a sample of one of the QR codes: http://laserfolly.com/2753.eps  When etching, the laser control software interprets the outside bounding square in such a way that it confuses its "inside out" algorithm used to determine whether a given path item should be etched, i.e., is it "filled".  This causes the some of the individual squares to be interpreted as not filled... even though they are.  If I delete the outer bounding square path item then all is well.  But there are hundreds of these codes in every batch... so it is time prohibitive to delete those outer squares by hand.  Here's my ask: does anyone know how to use Illustrator scripting (I'm using VB) to identify that outer square and delete it at the time that it's placed in the batch document?
    Thanks in advance for any help you can give.
    Bob

    Thanks, Mark.  That makes sense.  However, when I search all the paths in the document there are none that have a true clipping property.  My suspicion is that the bounding square is just that, a square drawn by the qr code api as a frame around the code.  You got me thinking though.  I figured out that I can identify the relevant path simply by it's dimensions and then delete it.  So here's the new sticking point: I don't think the Illustrator object model allows for interrogating path items within a group, i.e., you have to iterate through all the pathitems in the document.  Ideailly, I'd like to be able to look at only the paths within the QR code, which I add to the document as a placed item... which Illustrator treats as a group.  This document has tens of thousands of paths and so looping through all of the them to find the 50 QR codes would be super inefficient.  What do you think?  Is there a way to iterate through just the paths in a placeditem/group?
    RE VB vs. JS, I can write in both but there are a lot of reasons I'm using VB on this project.  The main reasons are that the customer is using Excel for data internally and Excel VBA is a really strong VBA object model.  I've also written more than 500,000 lines of the stuff in my career so I'm pretty comfortable solving complex problems with it.  Also, the IDE and the run-time debugging engine is oh so great for rooting out the nasties.  :-)

  • Map security roles to group within LDAP using external 3rd Party LDAP

    I'm haveing a problem mapping my logical role defined in my web.xml to a role within Active Directory. I'm currently authenticating using Active Directory succsfully, however after the user is authenticated I get a message from the OC4J container that my role can not be found. Can you map a logical role to group within Active Directory? Below are details about my configuration.
    Any help would be greatly appreciated.
    Log.xml log entry that confirms webtA is communicating successfully with AD.
    SG_TEXT>JAAS-LDAPLoginModule: authenticating user wmgraham</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JAAS-LDAPLoginModule: DN for user wmgraham is cn=wmgraham,ou=endusers,ou=itod,ou=endusers,ou=div20,ou=hq,dc=fbinet,dc=fbi</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    Error reported in the log
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-08-27T11:38:05.991-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>F2287032-W</HOST_ID>
    <HOST_NWADDR>30.30.16.14</HOST_NWADDR>
    <MODULE_ID>security</MODULE_ID>
    <THREAD_ID>14</THREAD_ID>
    <USER_ID>wmgraham</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>30.30.16.14:59560:1219851485804:6</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>for group=[JAZNGroupAdaptor: webta] there's no matching role found.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    Web.xml Logical Role definition
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>allpages</web-resource-name>
    <url-pattern>/servlet/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>WEBTA_J2EE_USER</role-name>
    </auth-constraint>
    </security-constraint>
    <security-role>
    <role-name>WEBTA_J2EE_USER</role-name>
    </security-role>
    Orion-web.xml This file maps the logical role defined in webxml to a group within Active Directory.
    <security-role-mapping name="WEBTA_J2EE_USER">
    <group name="webta"/> <-- Group defined in AD -->
    </security-role-mapping>

    What is the name of the group in AD (provide the DN) that you want to map the j2ee logical role WEBTA_J2EE_USER? What are the group search base and group mapping attribute?
    When wmgraham logs into the app, the 3rd party ldap login module will attempt to query for the groups wmgraham is a member of - this is done using the group search base configuration for the provider.
    In this example, the DN is "cn=wmgraham,ou=endusers,ou=itod,ou=endusers,ou=div20,ou=hq,dc=fbinet,dc=fbi" and likely user search base is set to "ou=endusers,ou=itod,ou=endusers,ou=div20,ou=hq,dc=fbinet,dc=fbi".
    Assuming group search base is (say) "ou=groups,ou=itod,ou=endusers,ou=div20,ou=hq,dc=fbinet,dc=fbi" and and group mapping attr is "cn", then the role mapping you mention should work for group DN "cn=webta,ou=groups,ou=itod,ou=endusers,ou=div20,ou=hq,dc=fbinet,dc=fbi"

  • Not able to use @section and Sort within a group in RTF Template

    When i try to use sort with for-each-group@section in my template, the Output Post processor is throwing the following exception
    Caused by: oracle.xdo.parser.v2.XSLException: <Line 31, Column 84>: XML-22047: (Error) Invalid instantiation of 'xsl:sort' in 'fo:flow' context.
    My tags in the RTF template are as below:
    <?for-each-group@section:G_PERSON_ID;./DEPT?><?sort:DEPT;'ascending';data-type='text'?>
    -- there are 2 more groups within this.
    <?end for-each-group?>
    I don't get the error if i remove @section from the above tag in my RTF template.
    OR
    IF i remove the sort tag and keep the @section , it still works.
    I need the "sort" so that i can sort the output by department number and I need the "section" so that i can acheieve context based header title for the page using the tag given below in the header area of the word RTF doc. The DEPT number should change as per the data shown in the report.
    DEPT <?DEPT?> CLASSIFICATION SENIORITY LISTING BY CLASS CODE & DATE
    I am stuck with either being able to use the Sort or the Header feature but not both.
    I guess that section is needed for the context based header title to work, because all the data shown in the current page should correspond to only one single DEPT value (to make the Header title consistent with the data). But i dont get why i am not able to sort. The exception from OPP simply beats me. Please help!!
    I am using the XML Pub Desktop 5.6.2 to develop my templates.
    Is there any way to acheive this? Can someone throw some light on this.
    Thanks in advance.

    Help About says I'm on 20.0.1
    Up until last week, I was able to use the tab key when typing emails and other multi-line text boxes.
    Suddenly the behavior of the tab key changed. This isn't the first time. It's been quite a while ago that the function of the tab key changed from indenting to moving around the page, then after some time it changed back to indenting.
    Can we get this fixed and leave it alone, please?
    I may give one of those add-ins a try, but my problem with add-ins is that they break when FF is patched or upgraded, then I'm left with out the solution they provide.
    Can we just fix Firefox, please?
    Thanks,
    Frank
    P.S. Another potential fix I came across suggested starting FF in safe mode to see if the problem goes away. It does not. It seems to be a change to FF that appeared after an update last week. On or just befor 24 Apr.

  • How to run the Invoices in different groups within the batch in AP

    Need to know that how to run the Invoices in different groups within the batch. This will be of very helpful when we deal with lot of lines under one batch. (e.g) like somewhere we issued a Corporate Card to all the employees Via Bank Of America. Every Month they will send the complete details of all the employees who ever swiped the corporate provided BOA. Accordding to Natco all those lines should be loaded as One Invoice so that a Single Payment can be provided to BOA and it will also makes their life easier. This standard program sometimes it works normal sometimes it will run like a TORTOISE. So thats why in the manual they suggested to use GROUP ID to split the Invoice Load.
    So plz tell me how we can run it
    plz give me the solution
    thanks

    can you give me some material or document on that so that i can read actuaaly i need to make doc on it..

  • Cost distribution within the group companies

    Hi Experts ,
    Need your thoughts on what would be the best approach for the scenario explained below :
    We have a parent company and three other companies within the group. In total 4 company codes. There are some expenses which are booked under parent company and should be later (at month end ) to be distributed at fixed % to the other 3 companies within the group as during the time of entry it is not feasible to separate the transaction at co code level or is time consuming activity. In what way we can distribute such cost and ensure it reflects in FI reporting  also so that P&L shows correct distributed values. Also there are some assets which are commonly shared by all the assets so the depreciation also needs to be shared with the companies in the group. ECC 6.0 being implemented . I tried using distribution but is not giving desired result.
    Thanks
    Sunil

    Hi Sunil Mane,
    What cost objects distribution between different company codes?
    T-CODE:OKKP  Have you selected cross-company-code cost accounting? I think this is a preconditon of cost distribution  between different company codes.
    BR

  • HT1349 I just purchased an Iphone and love it except I'm surprised and annoyed that there is no way to create a group within contacts.  I coach a youth basketball team and routinely want to fire off a mass email or text to the same group. Am I missing som

    I just purchased an Iphone and love it except I'm surprised and annoyed that there is no way to create a group within contacts.  I coach a youth basketball team and routinely want to fire off a mass email or text to the same group. Am I missing something?

    When I click on my contacts icon on my phone there is a Groups choice in the upper left hand corner. Make sure you are in All Contacts and not a specific person.

  • How do you create new groups within Contacts on the iPad?

    Can you create new groups within Contacts directly from the iPad, iPhone,or do you have to do it on the computer first?

    The easiest way is to get the app called group e mail.  There are a couple of others as well.  There is a way to do it on your computer, and sync it, but I find that personally frustrating.  :).  Save yourself the aggrevation, and get the app, that works pretty well.

  • How can I add a group within Contacts

    How can I add a group within my Contacts list?

    This has been a highly requested iOS feature for years. Nothing like that is available yet without third party apps.

  • How do you select individual items from within a group?

    Hi, All.
    New poster. Forgive me if I miss any forum etiquette.
    Currently using Indesing CS6 on Mac Osx 10.7.4
    I'm a relatively recent convert to Indesign from Quark, and one thing I seem to have continual problems with is selecting individual items from within a group.
    For example I will have a grouped item, such as price marker that is comprised of several individual items, some text boxes, some rectangles.
    I find there is no way to select a rectangle that is currently placed behind a transparent text box without ungrouping the entire item - which isn't really an option.
    The select options (slect next item below etc. just don't work)
    For any Quark users out there, the equivalent command I'm looking for is the cmd+opt+shift click through, which just worked absolutely perfectly.
    I have scoured the internet and forums looking for an answer for this, as I assumed it must be my own lack of knowledge, but I can't find an answer.
    Any help much appreciated.
    Thanks

    Hi, winterm.
    Thanks for the super quick repsonse. Unfortunately that hasn't seemed to have helped me.
    That works fine as long as the grouped items are overlapping or apart, but not when items are entirely behind another item (ie, no part protruding from the group)
    The problem is that if I double click to try and get through a text box to an item that is entirely behind it, then it just switches into text edit mode for the top text box.
    If it helps, could you imagine a transparent text box that is 20x20 with red rectangle centred beneath it that is 10x10. If the 2 items are grouped I cant find any way to select through to the red rectangle without first ungrouping the two.
    Am I going mad?

  • Assigning sequential numbers for every lines within a group of records

    The scenario is:
    This set of records with group number, lets say 100(group number) contains 7 lines/records. How to assign line numbers (sequential) for each line within these groups on the fly during the mapping process before inserting these set of rows in the target. I know it is easy to achieve in a procedure, but not sure how to do this in the mapping.
    please advice.
    Thanks,
    Prabha

    Use Rank function
    SQL> select empno,ename,deptno,(rank() over (partition by deptno order by empno)) seqno from emp;
    EMPNO ENAME DEPTNO SEQNO
    7782 CLARK 10 1
    7839 KING 10 2
    7934 MILLER 10 3
    7369 SMITH1 20 1
    7566 JONES 20 2
    7788 SCOTT 20 3
    7876 ADAMS 20 4
    7902 FORD 20 5
    7499 ALLEN 30 1
    7521 WARD 30 2
    7654 MARTIN 30 3
    7698 BLAKE 30 4
    7844 TURNER 30 5
    7900 JAMES 30 6
    1111 Test 40 1
    1222 test 1
    1333 2
    17 rows selected

  • xsd:all within xsd:group

    I'd like to have <xsd:all> within <xsd:group>.
    I.e. I want to achieve the following xml structures:
    <top><A1/></top>  or <top><A2/></top>  or  <top><A1/><A2/></top>
    or
    <top><B1/></top>  or <top><B2/></top>  or  <top><B1/><B2/></top>
    or
    <top/>
    but not
    <top><A1/><B2/></top>
    and not
    <top><A2/><B1/></top>i.e. either elements of one group or the other, but no mixing of elements of the two groups.
    Below is an extract of the schema that I am trying to apply.
    I get the following error when validating:
    "An 'all' model group must appear in a particle with {min occurs} = {max occurs} = 1, and that particle must be part of a pair which constitutes the {content type} of a complex type definition."
        <xsd:element name="top">
            <xsd:complexType>
               <xsd:choice>
                    <xsd:group ref="groupA" minOccurs="0" maxOccurs="1"/>
                    <xsd:group ref="groupB" minOccurs="0" maxOccurs="1"/>
               </xsd:choice>
            </xsd:complexType>
         </xsd:>
             <xsd:group name="groupA">
                  <xsd:all>
                         <xsd: ref="A1" minOccurs="0" maxOccurs="1"/>
                      <xsd: ref="A2" minOccurs="0" maxOccurs="1"/>
                 </xsd:all>
             </xsd:group>
             <xsd:group name="groupB">
                  <xsd:all>
                         <xsd: ref="B1" minOccurs="0" maxOccurs="1"/>
                      <xsd: ref="B2" minOccurs="0" maxOccurs="1"/>
                  </xsd:all>
             </xsd:group>...
    Unfortunately, due to existing data structures, I cannot replace the "group" by "element".
    Thanks for any suggestions!

    In your query order the results exactly how you want them
    grouped
    <cfquery ...>
    SELECT .... FROM ....
    ORDER BY make, model, derivative
    </cfquery>
    Then structure your cfoutput "groups" in the same order

Maybe you are looking for

  • Previous Time Capsule Limits

    I have the previous version of the Time Capsule (1TB) and I have it connected to 3 apple TVs and 4 Airport Express for coverage extension.  Because we have a large family, there are 6-7 personal devices (iPad, iPod, etc.) connected. One of the aTVs c

  • New error signing a signature box

    I am running Reader 9.2 and I am receving a new error message stating the following: "The document could not be signed. There was an error when attempting to commit this signature.  The document was not saved. The file may be read-only, or another us

  • Swing problems in windows

    I've been programming in linux and when I try to run some of my code on windows I see a fair amount of graphical clitches that I don't see in linux. For starters I have a button in a JPanel that when clicked out creates a pop-up. I run my pop-up wind

  • Direct JDBC or Application Module

    Hi, I want to call a PLSQL procedure to retrieve data from DB. Should I do it through direct JDBC or through Application module? Which way is preferred? Thanks.

  • Error in exporting from oracle8i (8.1.6)

    hi, i tried to make export in oracle8i (8.1.6) using the utility exp but it gives me this error after exporting only tables of the user: EXP-00008:ORACLE ERROR 6553 ENCOUNTERED ORA-06553:PLS-561:CHARACTER SET MISMATCH ON VALUE FOR PARAMETER 'SHORTNAM