<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
          xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="xml" indent="yes" encoding="UTF-8" />
<xsl:template match="persone">
<result>
<xsl:for-each select="persona">
<xsl:if test="(string(homepage))">
<xsl:copy>
<xsl:copy-of select="nome"/>
<xsl:copy-of select="cognome"/>
<xsl:copy-of select="homepage"/>
</xsl:copy>
</xsl:if>
</xsl:for-each>
</result>
</xsl:template>
</xsl:stylesheet>

