Re: [xsl] Outputting A tag information

Subject: Re: [xsl] Outputting A tag information
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 27 Feb 2004 09:59:35 GMT
your template matching a is never applied as the a element (not a "tag")
is inside the p element, but you never apply templates to the content of
p, you want to add <xsl:apply-templates mode="proc-txt"/> to your template that matches
p.

You never want to start a match pattern with // (It doesn't do anything
useful)
so that should be match="p" not match="//p", also don't use
disable-output-escaping unless there is reallyno other way (You don't
need it here at all, especially as you seem to be using it to write teh
query part of a URL using &, it would be illformed XML or HTMl to have
that & unescaped.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread