This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how can I get the subelement
> It just strange
what's strange? You get the output that I'd expect.
You get the same result from your stylesheet as you'd get from a
stylesheet that had no templates at all, ie the result of the default
templates which just give you the character data from the input.
You wrote
<xsl:template match="//author/*" >
It is always redundent to start a match with //.
so that is equivalent to
<xsl:template match="author/*" >
which is the template that matches any child element of an author
element. But your author elements don't have element children
just text. So your styleheet effectively has no templates.
I don't know what you are trying to achieve, so not sure what
you do want instead of this.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list