[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Newbie Needs Help

Subject: Re: Newbie Needs Help
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Thu, 17 Dec 1998 18:37:55 -0500 (EST)
maden help
<xsl:apply-templates/> is not implemented correctly in MSIE 5b2.  It
only applies templates to *element* children of the current node; it
does not apply the default template to *character* children.  As a
result, mixed content can not be processed.

In the original questioner's case, he should use <xsl:value-of
select="."/>, which will return the character data of the current
element.

Note that by this method you can get *either* the text *or* the
element children, not both, making it impossible to do real documents
with the current implementation.  I sincerely hope that MS will fix
this severe bug in the next beta.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.