Subject: Re: [xsl] Ideas for creating quotation collection From: Steffen Glückselig <glueckselig@xxxxxxxxx> Date: Wed, 22 Sep 2004 11:03:44 +0200 |
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.
regards Steffen
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Ideas for creating quotat, Bruce D'Arcus | Thread | [xsl] Help comparing an attribute t, Charlie Consumer |
RE: [xsl] Newlines in XPath, Andrew Welch | Date | [xsl] Change heading when value cha, Avula, Srini |
Month |