| Subject: [xsl] Select the nearest of two preceding siblings From: "ccbranham" <ccbranham@xxxxxxxxxxx> Date: Thu, 19 Jul 2007 17:07:26 -0700 | 
Case 1: With a h3 .. <p style="h1">Heading 1</p> <p style="h2">Heading 2</p> <p style="h3">Heading 3</p> <p style="h4">Heading 4</p> <p style="Standard">...</p> <p style="Standard">...</p> ..
Case 2: No h3 and h2 has the text "Odd" .. <p style="h1">Heading 1</p> <p style="h2">Odd</p> <p style="h4">Heading 4</p> <p style="Standard">...</p> <p style="Standard">...</p> ..
..
  <myelem myfiratt="Heading 4" mysecatt="Heading 1" mythiatt="Heading
3">
     <p style="Standard">...</p>
     <p style="Standard">...</p>
     ...
  </myelem>
....
  <myelem myfiratt="Heading 4" mysecatt="Heading 1" mythiatt="Oddball">
     <p style="Standard">...</p>
     <p style="Standard">...</p>
     ...
  </myelem>
..| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Re: XSLT 2.0: Schema-awar, Michael Kay | Thread | RE: [xsl] Select the nearest of two, Michael Kay | 
| Re: [xsl] [xslt 2.0] Local function, Dimitre Novatchev | Date | RE: [xsl] [xslt 2.0] Local function, Justin Johansson | 
| Month |