|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL problem
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








