RE: chords and lyrics notations via XSL

Subject: RE: chords and lyrics notations via XSL
From: Paul Tyng <paul.tyng@xxxxxxxxxxxxx>
Date: Sun, 7 Nov 1999 17:43:46 -0500
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> &nbsp; </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> &nbsp; </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


Current Thread