On Thu, 2023-02-16 at 23:10 +0000, ohaya ohaya@xxxxxxxxx wrote:
> B Hi,
>
> <xsl:template match="*[not(*)] and name(..)='adrRecord'">
You're missing a ]
<xsl:template match="*[not(*)] and (name(..) eq 'adrRecord')]">
is probably what i'd write.
or,
<xsl:template match="adrRecord/*[not(*)]"> ....
liam
--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
|