Subject: Re: Followup question: was Re: [xsl] XSLT to populate a SAML AttributeStatement from an XML From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 16 Feb 2023 23:21:29 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Followup question: was Re: [xsl, Chris Papademetrious | Thread | Re: Followup question: was Re: [xsl, ohaya ohaya@xxxxxxxx |
Re: Followup question: was Re: [xsl, Chris Papademetrious | Date | [xsl] learned a lesson about XPath , Chris Papademetrious |
Month |