Subject: Re: [xsl]Problem with Position()? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 13 Oct 2007 15:37:29 -0400 |
there is a new problem. I have a "id()" function embedded in my document that goes along in my document which is now not displaying no matter if I used Saxon 8 or XSLT proc. With 8, it tells me this error: Description: An attribute node (class) cannot be created after the children of the containing element. What I am supposed to have is some kind of display of who recorded the item.
XSLT:
<xsl:template match="collection"> <div><p/> <span class="character"> <xsl:apply-templates select="id(@recorder)"/> </span> </div> </xsl:template>
<xsl:template match="book">
<div> <xsl:apply-templates select="./@author"/>, <i><xsl:apply-templates select="./@title"/></i>. (<xsl:apply-templates select="./@topic"/>)
-- Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and 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 Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl]Problem with Position()?, Alice Ju-Hsuan Wei | Thread | Re: [xsl]Problem with Position()?, Alice Ju-Hsuan Wei |
Re: [xsl]Problem with Position()?, Alice Ju-Hsuan Wei | Date | Re: [xsl]Problem with Position()?, Alice Ju-Hsuan Wei |
Month |