[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: chords and lyrics notations via XSL
I found an easier inline solution, check the source out at http://www.paultyng.com/dev/test.htm Just change chords to div's with a class, doesn't work with some browsers though. -----Original Message----- From: Mark Hayes [mailto:mark@xxxxxxxxxxx] Sent: Sunday, November 07, 1999 4:45 PM To: 'xsl-list@xxxxxxxxxxxxxxxx' Subject: RE: chords and lyrics notations via XSL >I don't wanna <chord value="Gb"/>talk about things we've ><chord value="Db/F"/>gone trough, though it's hurting ><chord value="Dbm/Eb"/>me, now it's >histo<chord value="Db"/>ry. > >it should be rendered as: > > Gb Db/F >I don't wanna talk about things we've gone trough, > Abm/Eb Db >though it's hurting me, now it's history. Although the spacing isn't quite right here is an HTML table that roughly works. Generating it from XSL is another issue, since the total number of columns would need to be calculated in advance. Doing it with <PRE> and character positions is (I think) roughly the same problem. <table> <tr> <td> <tt> </tt> </td> <td colspan='2'> <tt> Gb </tt> </td> <td> <tt> Db/F </tt> </td> </tr> <tr> <td> <tt> I don't wanna </tt> </td> <td colspan='2'> <tt> talk about things we've </tt> </td> <td> <tt> gone through, </tt> </td> </tr> <tr> <td colspan='2'> <tt> </tt> </td> <td> <tt> Abm/Eb </tt> </td> <td> <tt> Db </tt> </td> </tr> <tr> <td colspan='2'> <tt> though it's hurting </tt> </td> <td colspan='2'> <tt> me, now it's history. </tt> </td> </tr> </table> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|