RE: Getting metadata values from an HTML file
Hi, > Hello, I'm new in this forum.I'm developping an application > that takes > metadata information from the <head> section on http pages, > buti'm getting > crazy. I would like to take just the "DC.Title" and "Book1" > values, and > also > "DC.Creator" and "Stefan Multz" values, in the following example: > > <head> > <meta name="DC.Title" content="SELFHTML/Book1"> > <meta name="DC.Creator" content="Stefan Multz"> > </head> That should be basic XSLT and XPath--just use substring-after(..., '/') to get the "Book1" bit. Could you show us the stylesheet you have so far? Cheers, Jarno - Dulce Liquido: Lamb's Creed 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