Subject: RE: RE: [xsl] Finding and processing index terms From: cknell@xxxxxxxxxx Date: Wed, 15 Feb 2006 10:46:47 -0500 |
-----Original Message----- From: Dan Vint <dvint@xxxxxxxxx>
I'm replying to this just in case someone else reads it and stops their help. My template looks for indexterms, div* and table tags, these all appear in the sample stream. The stream and various XPaths were tested in Stylus studio, the only thing that is missing is the DTD to provide the defaults to the attributes.
#1
//indexterm[ancestor::*[(starts-with(local-name(),'div') or local-name()='table') and @publicOnly!='Yes'][1]]
#2
//indexterm[ancestor::*[(starts-with(local-name(),'div') or local-name()='table')][ @publicOnly!='Yes']]
#3
//indexterm[ancestor::*[(starts-with(local-name(),'div') or local-name()='table')][1][ @publicOnly!='Yes']]
#4
//indexterm[ancestor::*[(starts-with(local-name(),'div') or local-name()='table') and @publicOnly='No']]
//indexterm[ancestor::*[(starts-with(local-name(),'div') or local-name()='table') and not(@publicOnly)]]
-- Charles Knell cknell@xxxxxxxxxx - email
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Finding and processing in, Dan Vint | Thread | RE: RE: [xsl] Finding and processin, Dan Vint |
RE: [xsl] Finding and processing in, Dan Vint | Date | [xsl] How to use & in CDATA field, viniciuscamara |
Month |