Subject: RE: [xsl] How to filter element values... From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 10 Feb 2004 21:12:40 -0500 |
I could be reading it wrong, but I don't think that section covers the behavior that I am seeing.
I would expect this stylesheet:
<?xml version="1.0" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:template match="/"> <MISSING_MODE> <xsl:apply-templates mode="MISSING_MODE"/> </MISSING_MODE> </xsl:template> </xsl:stylesheet>
to output:
<MISSING_MODE> </MISSING_MODE>
Both Xalan and Saxon behave as though there is a built-in text and attribute template that is equivalent to:
<xsl:template match="text()|@*" mode="m"> <xsl:value-of select="."/> </xsl:template>
-- Public courses: upcoming world tour of hands-on XSL training events Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong: 2004-05-17 Germany: 2004-05-24 England: 2004-06-07 World-wide on-site corporate, government & user group XML training!
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to filter element val, Michael Kay | Thread | RE: [xsl] How to filter element val, Josh Canfield |
Re: [xsl] xml to xml transformation, Zhimao Guo | Date | [xsl] Combining cross-references wi, Paul DuBois |
Month |