[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ideas for creating quotation collection
Hello,
First, can you not clean up your XML so you don't have to worry about the case-sensitivity? How about, for example, an id for each name -- where you have code like <source idref="twain">Mark Twain</source> -- and then group by id? Yes, I would do something like this if I'd start my collection from scratch. Alas, it currently contains 900 quotes. I wouldn't want to categorize these by hand. So I've opted for the automatic categorization. Thanks, I'll have a look into that thread...With respect to how to code this, the grouping support in XSLT 2.0 is certainly useful for this sort of thing. I got some help from Jeni Tennison a few weeks back on this issue, in a thread called "regexs, grouping (?) and XSLT2?" The problem I had was more complex, but you could probably adapt it.
|
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
|