Re: [xsl] Removing line-feeds on a imported tree via document

Subject: Re: [xsl] Removing line-feeds on a imported tree via document
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Jan 2005 14:55:17 GMT
  so they aren't in the original tree and it seems that the
  <xsl:template match="MenuData"> doesn't match then.

  Or should they being matched?


They will match (assumning the elements do have name MenuData in
no-namespace) but like any template, the template will only be executed
if templates are applied to the matching nodes with
xsl:apply-templates. If you use xsl:copy-of (for example) then what you
get is a copy and no templates will have any effect.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread