Subject: RE: [xsl] Finding and processing index terms From: Dan Vint <dvint@xxxxxxxxx> Date: Wed, 15 Feb 2006 07:36:18 -0800 |
Your data xml snippet contains no elements that match any of your various XPath expressions. What did you hope to see as a result?
--
Charles Knell
cknell@xxxxxxxxxx - email
<doc> <div1><head>Chapter 1</head> <div2 membersOnly="Yes" statusCR="Yes">
<indexterm
primaryDesc="Yes"><primary>AboveGroundIndicator type</primary><secondary>definition MEMBERS INDEX</secondary> </indexterm> <indexterm><primary>base
types</primary><secondary>AboveGroundIndicator type MEMBERS INDEX</secondary> </indexterm> <head id="bAboveGroundIndicator"> <baseclass>AboveGroundIndicator</baseclass> </head>
<table border="1" id="oTable" membersOnly="Yes" statusCR="Yes"
<xsl:template name="processIndexTerms"> <saxon:group
select="//indexterm[ancestor::*[(starts-with(local-name(),'div') or local-name()='table')
and @publicOnly!='Yes']]"
group-by="normalize-space(primary)">
.. other stuff here ... </saxon:group> </xsl:template>
Any ideas?
.dan --------------------------------------------------------------------------- Danny Vint
Specializing in Panoramic Images of California and the West http://www.dvint.com
voice: 510-522-4703
When H.H. Bennett was asked why he preferred to be out shooting landscapes rather than spending time in his portrait studio:
"It is easier to pose nature and less trouble to please."
http://www.portalwisconsin.org/bennett_feature.cfm
--------------------------------------------------------------------------- Danny Vint
Specializing in Panoramic Images of California and the West http://www.dvint.com
When H.H. Bennett was asked why he preferred to be out shooting landscapes rather than spending time in his portrait studio:
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Finding and processing in, cknell | Thread | RE: RE: [xsl] Finding and processin, cknell |
RE: [xsl] Finding and processing in, cknell | Date | RE: RE: [xsl] Finding and processin, cknell |
Month |