[vox-tech] XSLT questions

karthikeyan vox-tech@lists.lugod.org
Thu, 18 Dec 2003 04:25:44 +0530


Hi,

> Nice, and exactly what I was looking for.  Thanks. Man, someone needs to
> write a better XSLT tutorial.  "XSLT for programmers."  Yeah, that
> sounds good. (-:

Dave pawson's website has extensive list of FAQ which almost solves
90% of my problems.

http://www.dpawson.co.uk/xsl/sect2/sect21.html

> alt attribute for those images?  (Of course, XHTML won't let me not have
> an alt attribute...)
And why not?  my xhtml pages also does have alt tag and it gets validated
fine.  I use transitional and not strict dtd.

Have a great day.

Karthikeyan B


----- Original Message ----- 
From: "Jonathan McPherson" <jamcp@ucdavis.edu>
To: "LUGOD Technical List" <vox-tech@lists.lugod.org>
Sent: Thursday, December 18, 2003 1:32 AM
Subject: Re: [vox-tech] XSLT questions


> Micah,
> 
> > The XSLT equivalent of called subroutines is named templates. You can
> > do something like (untested):
> 
> Nice, and exactly what I was looking for.  Thanks. Man, someone needs to
> write a better XSLT tutorial.  "XSLT for programmers."  Yeah, that
> sounds good. (-:
> 
> > Hope that's what you were looking for. BTW, if you can avoid empty alt
> > attributes, you should probably parameterize that, too, if your source
> > XML format supports something that can be used for it. In my custom
> > DocBook stylesheets, I generate most <img/> elements from docbook
> > <graphic/> elements; and I use the xreflabel attribute's contents when
> > available; otherwise the contents of the <title/> sub-element to
> > <graphic/>.
> 
> Here's a question for you, somewhat unrelated: what do you think the alt
> attribute should contain for images that have no real semantic meaning?
> Let's say, for example, that I have four "rounded corner" images so that
> I can make rounded corners in my site's design.  What should I put in the
> alt attribute for those images?  (Of course, XHTML won't let me not have
> an alt attribute...)
> 
> Jonathan.
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>