|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:grouping for multiple categories?
i have this structure of xml:
<root>
<item>
<category></category>
<title></title>
<url></url>
<description></description>
</item>
<item>
<category></category>
<title></title>
<url></url>
<description></description>
</item></root> Is it possible to group items according to several categories? For example, an item may be under the category "today's news" but also "relevant technology": <item>
<category>today's news</category>
<category>relevant technology</category>
<title></title>
<url></url>
<description></description>
</item>given i have a key <xsl:key name="items-by-category" match="item" use="category" />, would this create 2 key value pairs for one item? I tried putting more than one category for each item but in the output, the whole category disappeared!! any help would be greatly appreciated james _________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








