centralised alphabetical order for distributed content
Hello, I have 30 xml files with the same structure:
<root> <link> <category></category> </title></title> <url></url> </link>
<link> <category></category> </title></title> <url></url> </link> </root>
Each file may have anything from 1 link to 40. I am trying to create an alphabetical listing of all links on one web page using the 30 different xml files. I understand that it would be very easy to do it in one xml file but for some reason the end user wants to distribute ownership across 30 people!!
At the moment i am using a key to group each link into groups according to the first letter of the title, this would give an alphabetic order if u sorted the groups of keys according to their value.
However, i can only create a key for one file. Is it possible to create one key for all 30 files? Or would it be easier to somehow gather all info from 30 files and then create a key from that?
my current key statement looks like this:
<xsl:key name="cat-by-firstocc" match="link" use="substring(title,1,1)" />
Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband
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