Re: Firefox XSLT position()

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>

David wrote:

> I don't understand the position() in Firefox.
> Here my XML sample.
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> <?xml-stylesheet type="text/xsl" href="aaa.xsl"?>
> <AAA>
>   <BBB>a</BBB>
>   <BBB>b</BBB>
>   <BBB>c</BBB>
> </AAA>

There are white space text nodes between the <BBB> elements which 
MSXML/IE ignores thus with Mozilla if you use
   <xsl:apply-templates />
the current nodeset contains both element nodes as well as text nodes 
while MSXML/IE has only elements in the nodeset.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.