[Home] [By Thread] [By Date] [Recent Entries]
At 05:29 AM 3/22/01, Brent wrote:
So my understanding is this: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is one approach: works fine. (Except the word 'criteria' is a plural! Sorry --- it's the English teacher in me.) Note: With your's, after you piece together the match & the for-each, you Exactly. Actually, I tried to do this selection in two parts, like yours, ie; It's that illegal ".[entrydata[@columnnumber='1']='Autobiography']". The abbreviated step "." may not be used with a predicate. (A step may contain a predicate, but it may not have a predicate.) But select="./entrydata[@columnnumber='1']/text()='Autobiography'" would work fine. More succinctly, select="entrydata[@columnnumber='1']='Autobiography'" would work too. (The leading ./ says "start at the context node", which is redundant. The trailing "/text()" is redundant in this case, because the value of the entrydata node is the concatenation of the values of its text node descendants -- and here, it has only one.) Well done, Brent. James, I hope all is clear. Cheers, Wendell ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



