On Tuesday 27 August 2002 13:16, [EMAIL PROTECTED] wrote: > Used with the XML... > > <?xml version="1.0" encoding="UTF-8"?> > <parent> > <a>1</a> > <b>2</b> > <c>3</c> > <d>4</d> > <e>5</e> > </parent> > > generates... > > name is text is > name is a text is 1 > name is text is > name is b text is 2 > name is text is > name is c text is 3 > name is text is > name is d text is 4 > name is text is > name is e text is 5 > name is text is > > Each *real* node is intersperced with two *phantom* empty nodes.
I don't see any bug here: these are "\n" nodes. You can (i) get rid of new lines in your XML, (ii) use xsl:strip-space or (iii) use child::* to filter out text nodes. Hope this helps. -- Santiago Pericas-Geertsen Sun Microsystems
