How can I stop the unmatched elements from appearing ?
either by not selecting them in the first place by having a more
specific select=.... in your apply-templates,
or by throwing away everything that doesn't have a more specific
template with a template like
<xsl:template match="*"/>
In your second case, using a namespacem you still have
<xsl:template match="address">
which should of course be w:address
David
________________________________________________________________________
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