Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.emf.cdo.releng/xsl/bom2bookmarks.xsl')
-rw-r--r--releng/org.eclipse.emf.cdo.releng/xsl/bom2bookmarks.xsl22
1 files changed, 22 insertions, 0 deletions
diff --git a/releng/org.eclipse.emf.cdo.releng/xsl/bom2bookmarks.xsl b/releng/org.eclipse.emf.cdo.releng/xsl/bom2bookmarks.xsl
new file mode 100644
index 0000000000..eff2705097
--- /dev/null
+++ b/releng/org.eclipse.emf.cdo.releng/xsl/bom2bookmarks.xsl
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0" exclude-result-prefixes="md">
+ <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="//md:resolution"/>
+ </xsl:template>
+
+ <xsl:template match="md:resolution">
+ <site>
+ <xsl:attribute name="url">
+ <xsl:value-of select="@repository"/>
+ </xsl:attribute>
+ <xsl:attribute name="selected">true</xsl:attribute>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@repository"/>
+ </xsl:attribute>
+ </site>
+ </xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file

Back to the top