RE: [xsl] Getting metadata values from an HTML file

Subject: RE: [xsl] Getting metadata values from an HTML file
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 27 May 2003 16:28:59 +0300
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


Current Thread