|
|
| "be consistent" | |
| PerlMonks |
[OT] Re: Converting very nested XHTML to XMLby idsfa (Vicar) |
| on Jul 07, 2006 at 21:37 UTC ( #559869=note: print w/ replies, xml ) | Need Help?? |
|
Not knowing what your original XHTML looks like, I can only provide a general XSLT. In the following, I assume each row in a table either contains a table or a td which is the name (your tags may vary). This allows xsl:apply-templates to recursively call the table template.
Here's a more complete example. The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||