Discuss the powerful Explorer Templates used in the CAT programs
- Posts: 177
- Joined: Thu Aug 20, 2015 4:23 am
- Location: California, USA
It is easy to display numbers as Roman Numerals. Just use the xsl:number element with format="I". The screenshot below uses the code
Code: Select all
<xsl:value-of select="releaseyear"/> ( <xsl:number format="I" value="releaseyear"/> )
to show the release year in both decimal and Roman Numeral formats.
- Posts: 11
- Joined: Sun Aug 23, 2015 9:03 am
Thanks Dave. With my rudimentry SQL skills I now have this in Catraxx. Goodness knows why, I seldon ask the shopkeeper for a case of XXIV cans of the cold stuff!
- Posts: 19
- Joined: Sun Aug 23, 2015 4:15 pm
- Location: Netherlands
Thanks for the tip Dave!
I added this in BookCAT (template BookBrowse) since you'll find Roman numerals for the publication year now and then in old books.