xsl-list
[Top] [All Lists]

Re: [xsl] XSL 2.0 and .NET and VB

2007-07-02 08:09:50
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

M. David Peterson wrote:
1. Doesn't IE strips whitespace-only text nodes anymore?

I use, by force of habit, xsl:text for all significant white space in my
transformation files, so I never run into this problem.

I mean whitespaces in the input document. Due to wrong IE behaviour it
is not possible to reliably process document with mixed content when
invoking XSLT via <?xml-stylesheet...?>.

E.g.

<para>My name is <firstname>Jirka</firstname>
<surname>Kosek</surname></para>

Whitespace only text node between nodes for firstname and surname
elements will be automatically discarded by IE which leads to wrong
output where names will be merged like "My names is JirkaKosek".

Which totals to,

+3 Jirka
+1 M:D

Hmmm... DAMN!

No worries, I'm usually not very competitive. If it makes your happy,
you can assign my points to you ;-D

Jirka

- --
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka(_at_)kosek(_dot_)cz      http://xmlguru.cz
- ------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
- ------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
- ------------------------------------------------------------------
Be in, register for XML Prague 2007 today! http://www.xmlprague.cz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiRVNzwmSw7n0dR4RAqySAJ9G2T1r3e9o1vC5PzgdeFJc/ZHIHwCfc5FR
AhjSlp2nwgXaSu+hoIrGeRg=
=kRNJ
-----END PGP SIGNATURE-----

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>