[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Getting metadata values from an HTML file

Subject: RE: Getting metadata values from an HTML file
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Tue, 27 May 2003 09:36:02 -0400
metadata values
[ Sergio Lorenzo]
> 
>  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>
> 

If you want to use xslt, you will have to turn the html into well-formed
xml first.  You can do this with tidy, or Nekko (now part of
Apache-xml), Tag Soup, or similar tools.  After that, you can use
standards xslt methods.

If you do not know how to get an attribute value or element content, get
some reference material or read one of the tutorial sites.  After that,
you may still have some specific questions to ask.  Please try to be
clear and specific when you ask, because otherwise no one will know how
to answer.  It would be like asking "can anyone help to understand
math?".

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.