Salve, devo estrarre i metadati dello standard dublincore memorizzati all'interno di un file xml esattamette così:
<?xml version="1.0" encoding="UTF-8"?>
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" dc:dummy="FIXME:keepNamespace" dcterms:dummy="FIXME:keepNamespace" lenya:dummy="FIXME:keepNamespace" xhtml:dummy="FIXME:keepNamespace">
<lenya:meta>
<dc:title>dctitle</dc:title>
<dc:creator>XXX</dc:creator>
<dc:subject>XXX</dc:subject>
<dc:description>Abstract that can be used on an overview page</dc:description>
<dcublisher>XXX</dc
ublisher>
<dc:contributor/>
<dc:date>Thu Jul 12 15:30:35 CEST 2007</dc:date>
<dc:type/>
<dc:format/>
<dc:identifier/>
<dc:source/>
<dc:language>en</dc:language>
<dc:relation/>
<dc:coverage/>
<dc:rights>dcrights</dc:rights>
<dcterms:issued>2007-07-12 15:30:58</dcterms:issued>
<dcterms:modified>2007-07-20 23:48:38</dcterms:modified>
</lenya:meta>
<xhtml:head>
<xhtml:title>Default Publication</xhtml:title>
</xhtml:head>
<xhtml:body>
<xhtml:h1>Default Publication</xhtml:h1>
<xhtml>Welcome to the default Lenya publication!</xhtml
>
<xhtml>The purpose of this publication is</xhtml
>
<xhtml:ul>
<xhtml:li>to show beginners the basic functionality of the Lenya CMS,</xhtml:li>
<xhtml:li>to provide an "out of the box" publication that can be easily adapted and used, and</xhtml:li>
<xhtml:li>to provide a basis for reference implementations of new concepts and best practices.</xhtml:li>
</xhtml:ul>
<xhtml>
You won't find any fancy and confusing bells and whistles here, but the
publication contains everything you need to get started.
</xhtml>
</xhtml:body>
</xhtml:html>
sapete se esiste qualche libreria java che lo faccia o sapete consigliarmi altre alternative (parsing/ecc)?
grazie anticipatamente.

ublisher>XXX</dc
Rispondi quotando
