> I came across an article by Ovidiu Predescu 
> (http://www.webweavertech.com/ovidiu/weblog/index.html)  discussing a
> topic originated by Eric van der Vlist
> (http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html) which
> appears to address this design approach.  Are you familiar with this
> pattern?  What are your thoughts?

Very interesting reading. And, this approach can be extended, to ease the lives of 
Dreamweaver-bound designers.

Why use your own XML markup to add your XSLT elements? Why not use a 
combination of HTML and CSS? For example:

<div class="repeat-books">
   <tr>
     <td>
        <span id="book-title">Book Title</span>
     </td>
     <td>
        <span id="book-author">Book Author</span>
     </td>
     <td>
        <span id="book-price">Book Price</span>
     </td>
  </tr>
</div>

Then, your [EMAIL PROTECTED]'repeat-books'] node gets replaced with an xsl:for-each, 
and 
your [EMAIL PROTECTED]'book-title'] with an xsl:value-of, etc. The text within the 
spans will be 
discarded, and is provided simply for the designer's convenience.

Then, you use an HTML generator followed by an XSLT transform to make your 
XSLT stylesheet ready for use.

Now that strikes me as clever, and really useful.

What do the rest of you think?

Regards, Upayavira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to