This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
generalizing an XSL solution
- To: <xsl-list at mulberrytech dot com>
- Subject: generalizing an XSL solution
- From: "Judi Thomson" <thomson at cs dot ualberta dot ca>
- Date: Tue, 15 Feb 2000 13:10:13 -0700
- Reply-To: xsl-list at mulberrytech dot com
I know that my question is likely answered in the archives..
but the server won't give me the archives right now. So I
apologize in advance to those who may have already answered
my question.
I want to create an XSL sheet that selects specific
information from an HTML table and writes it to an XML file.
For example I might have an HTML document with 4 tables on
it, and I want the information from rows 3,4, and 5 of
table 2. (assume that the HTML is well formed)
I can figure out how to do this for specific instances
(using siblings/children and XPath). What I want to do is
create a sheet that has the parameters (3,4,5 and 2 in this
example) specified separately (ideally at the top of the
file where its easy to modify them) so that my solution can
be applied to other documents with a minimum of fuss by
people who know little about XSL.
I don't care how the parameters are specified (numerically,
using XPath expressions, or some other simpler way).
Does anyone see an elegant solution to this?
Thanks!
Judi Thomson
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list