Subject: RE: XSL problem
From: "McKisson, Shawn" <mckisss@xxxxxxxxxxxx>
Date: Mon, 2 Aug 1999 10:31:29 -0500
|
Oops I have taken too literally - I apoligize for not describing the problem
a little better.
To be more concrete, I need to parse through well formed HTML.
I have an structure that looks like the following:
<hr><p><b> Periodical Subject </b></p></hr>
<i> Peridocal Subject Desc <i>
<table>
<tr>
<th> garbage text </th>
<th> more garbage text </th>
<th> even more junk </th>
</tr>
<tr>
<td> Periodical Title </td>
<td> Periodical Author (assume to be a single element) </td>
<td> Periodical length (in pages) </td>
</tr>
<tr>
<td> Periodical Title </td>
<td> Periodical Author (assume to be a single element) </td>
<td> Periodical length (in pages) </td>
</tr>
<tr>
<td> Periodical Title </td>
<td> Periodical Author (assume to be a single element) </td>
<td> Periodical length (in pages) </td>
</tr>
<tr>
<td> Periodical Title </td>
<td> Periodical Author (assume to be a single element) </td>
<td> Periodical length (in pages) </td>
</tr>
</table>
.
.
<the entire block appears here again, with a different subject until all the
subject are exhausted>
What I need to turn this into is
<periodical-list>
<periodical>
<subject> Periodical Subject </subject>
<desc> Periodical Subject Desc </desc>
<title> Periodical Title </title>
<author> Periodical Author </author>
<length> Periodical Length </length>
</periodical>
<periodical>
AND SO ON UNTIL ALL PERIODICAL SUBJECTS AND PERIODICALS ARE EXHAUSTED
</periodical>
</periodical-list>
Any ideas?
-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Friday, July 30, 1999 5:44 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: Re: XSL problem
> <Xn>
is that _really_ what you want with dynamically generated element names.
You can have that if that's what you want, but it is immoral, you should
be asking for at least <X num="n">
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: XSL problem
- McKisson, Shawn - Mon, 2 Aug 1999 10:31:29 -0500 <=
- <Possible follow-ups>
- Kay Michael - Mon, 2 Aug 1999 17:54:17 +0100
|
|