Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <LlistaPais>
- <xsl:copy>
- <xsl:for-each select="//country[@area>2000 and 10000>@area]">
- <xsl:copy>
- <xsl:attribute name="Nombre">
- <xsl:value-of select="@name"/>
- </xsl:attribute>
- </xsl:copy>
- </xsl:for-each>
- </xsl:copy>
- </LlistaPais>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement