Subject: Re: [xsl] testing for attribute-only From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 29 Aug 2005 12:18:06 -0400 |
Cheers, Wendell
Is there a concise test for the context node that will distinguish between a node that has attributes at most:
<a><a/> <a docref="123456"/>
and a node that has more than attributes?
<a>some text</a> <a case="2"><elementary>my dear Watson</elementary><a/>
I have been inadvertently dropping a few dozen of the latter type in trying to clean up several thousand of the former in my input documents.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] testing for attribute-onl, Mukul Gandhi | Thread | Re: [xsl] testing for attribute-onl, David Carlisle |
Re: [xsl] Subtype/inheritance in XM, Wendell Piez | Date | RE: [xsl] import/include with xsl:v, Michael Kay |
Month |