[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] generalizing an XSL solution
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
|
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
|