[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
paul tyng
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.