[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Grouping repeating elements within repeating eleme

Subject: RE: Grouping repeating elements within repeating elements
From: Cynthia Arangua <carangua@xxxxxxxxxxx>
Date: Mon, 26 Nov 2007 17:38:00 -0700
RE:  Grouping repeating elements within repeating eleme
All-forget about it, I am going to need to post this through another email!!!
It keeps stripping all the formatting, thank you hotmail.

> From: carangua@xxxxxxxxxxx
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Mon, 26 Nov 2007 17:36:30 -0700
> Subject: RE:  Grouping repeating elements within repeating elements
>
>
>
> All-
>
> I am really sorry about the XML. Evidently hotmail is stripping out all the
formatting when I go from Rich text to plain text so I am going to try to
input it manually here.
>
>
>
> Benefits
> Health
> Medical Coverage
>
> Medical Coverage-PPO
>
>
> Medical Coverage-HMO
>
>
>
> Benefits
> Health
>
> Dental
>
>
>
> Benefits
> Financial
>
> Flexible Spending
>
>
>
> Life Events
>
> Getting Married
>
>
> Adoption
>
>
>
>
> The resulting output is:
> Benefits
> Health
> Medical Coverage
> Medical Coverage-PPO
> Medical Coverage-HMO
> Dental
> Financial
> Flexible Spending
> Life Events
> Getting Married
> Adoption
>
> Thanks!
> CA
>
>> From: carangua@xxxxxxxxxxx
>> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>> Date: Mon, 26 Nov 2007 14:28:45 -0700
>> Subject: RE:  Grouping repeating elements within repeating elements
>>
>>
>> I am attaching a new XML since the last email looks to have truncated some
of it.
>>
>>
-----------------------------------------------------------------------------
------------------
>>
>> < content>
>> < type content_type =" Listing "/>
>> < faq_listing>
>> < heading> Benefits
>> < heading> Health
>> < heading> Medical Coverage
>> < category>
>> < content_category_faq> Medical Coverage - PPO
>>
>> < category>
>> < content_category_faq> Medical Coverage - HMO
>>
>>
>> < faq_listing>
>> < heading> Benefits
>> < heading> Health
>> < category>
>> < content_category_faq> Dental
>>
>>
>> < faq_listing>
>> < heading> Benefits
>> < heading> Financial
>> < category>
>> < content_category_faq> Flexible Spending
>>
>>
>> < faq_listing>
>> < heading> Life Events
>> < category>
>> < content_category_faq> Getting Married
>>
>> < category>
>> < content_category_faq> Adoption
>>
>>
>>
>>
-----------------------------------------------------------------------------
------------------
>>
>> ----------------------------------------
>>> From: carangua@xxxxxxxxxxx
>>> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>>> Date: Mon, 26 Nov 2007 13:08:37 -0700
>>> Subject:  Grouping repeating elements within repeating elements
>>>
>>>
>>> Hi-
>>>
>>> I have been doing XSLT for about four years now and this input XML has me
a little stumped as to how to implement. I believe I am using Xalan 2.6
(bundled as part of an EMC Documentum product called WebPublisher) and the
only version it supports currently is XSLT 1.0.
>>>
>>> Here is the XML input:
>>>
>>> < content>
>>> < type content_type =" Listing "/>
>>> < faq_listing>
>>> < heading> Benefits
>>> < heading> Health
>>> < heading> Medical Coverage
>>> < category>
>>> < content_category_faq> Medical Coverage - PPO
>>>
>>> < category>
>>> < content_category_faq> Medical Coverage - HMO
>>>
>>>
>>> < faq_listing>
>>> < heading> Benefits
>>> < heading> Health
>>> < category>
>>> < content_category_faq> Dental
>>>
>>>
>>> < faq_listing>
>>> < heading> Benefits
>>> < heading> Financial
>>> < category>
>>> < content_category_faq> Flexible Spending
>>>
>>>
>>> < faq_listing>
>>> < heading> Life Events
>>> < category>
>>> < content_category_faq> Getting Married
>>>
>>> < category>
>>> < content_category_faq> Adoption
>>>
>>>
>>>
>>>
>>> Basically, I need to group any category/content_category_faq under the
appropriate heading designation so like the following:
>>>
>>> Benefits
>>> Health
>>> Medical Coverage
>>> Medical Coverage-PPO
>>> Medical Coverage-HMO
>>> Dental
>>> Financial
>>> Flexible Spending
>>> Life Events
>>> Getting Married
>>> Adoption
>>>
>>> I am in the introductory stages on development on this so I don't have any
existing XSL to demonstrate but I am hoping to make some headway today so I
can repost but any initial help would be very cool. I am working on some
recurse logic as we speak.
>>>
>>> Thanks!
>>> Cindy A.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.