l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2003 Dec 17 16:48

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] XSLT questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] XSLT questions



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
> 
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.