Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XPath - How to query for
elements ?

From: Joseph Kesselman <keshlam-nospam@-------.--->
To: NULL
Date: 5/3/2006 7:30:00 PM

The simple-but-ugly way is to explicitly scan through the following 
siblings until you hit the next <dt> or run out, using a recursive named 
template.

Personally, I'd try to convince whoever was authoring the input document 
to abandon the HTML markup on input (even if that's what you generate on 
output) and use something with more structure to it, such as:

	<deflist>
	<entry><term>...</term><def>....</def><def>....</def></entry>
	</deflist>

Then it's trivial; the definitions are the <def> children of the 
<term>'s parent.

-- 
Joe Kesselman / Beware the fury of a patient man. -- John Dryden


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent