Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="ascii"/>
<xsl:param name="test"/>
<xsl:param name="doc"/>
<xsl:template match="/">
<xsl:value-of select="$test"/>
<xsl:text>&#x000A;</xsl:text>
<xsl:value-of select="$doc/element[@id=$test]"/>
<xsl:text>&#x000A;</xsl:text>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="ascii"/>
<xsl:param name="test"/>
<xsl:param name="doc"/>
<xsl:template match="/">
<xsl:value-of select="$test"/>
<xsl:text>&#x000A;</xsl:text>
<xsl:variable name="aaa">test</xsl:variable>
<xsl:value-of select="$doc/element[@id=$aaa]"/>
<xsl:text>&#x000A;</xsl:text>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<stats>
<Utilisateurs type="NeverConnected" date="11/09/2007 10:43:17">
<line num="1">
<user_id>5e10f344-1470-4978-b440-7b8fe678cae1</user_id>
<number>000575</number>
<gender>M.</gender>
<name>Bidon</name>
<first_name>Gerard</first_name>
<budget_code>64900</budget_code>
<budget_label>D.R./PAU</budget_label>
<date_creation>16/04/2007 10:09:34</date_creation>
</line>
</Utilisateurs>
</stats>

View File

@@ -0,0 +1,150 @@
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="urn:my-scripts"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" >
<xsl:template match="/">
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<xsl:apply-templates/>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="s21">
<Font ss:Bold="1"/>
<Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
</Style>
<Style ss:ID="s22">
<Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/>
<Font ss:Bold="1"/>
<Interior ss:Color="#99CCFF" ss:Pattern="Solid"/>
</Style>
</Styles>
</Workbook>
</xsl:template>
<xsl:template match="/*/*">
<Worksheet>
<xsl:attribute name="ss:Name">
<xsl:value-of select="local-name(/*/*)"/>
</xsl:attribute>
<Table x:FullColumns="1" x:FullRows="1">
<Row>
<xsl:for-each select="*[position() = 1]/*">
<Cell ss:StyleID="s22"><Data ss:Type="String">
<xsl:value-of select="local-name()"/>
</Data></Cell>
</xsl:for-each>
</Row>
<xsl:apply-templates/>
</Table>
</Worksheet>
</xsl:template>
<xsl:template match="/*/*/*">
<Row>
<xsl:apply-templates/>
</Row>
</xsl:template>
<xsl:template match="/*/*/*/*">
<Cell><Data ss:Type="String">
<xsl:value-of select="."/>
</Data></Cell>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<foo>
<bar id="id1"/>
<bar id="id2"/>
</foo>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:param name="doc" select="document('')"/>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$doc or
count($doc)>0"><xsl:text>Document found</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>Document not
found</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<recall>
<book>
<title>.Net for monkeys</title>
<isbn>123465789</isbn>
</book>
<book>
<title>.Net for goldfish</title>
<isbn>987654321</isbn>
</book>
</recall>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ExtObject="urn:e">
<xsl:template match="/">
<xsl:value-of select="ExtObject:GetPageDimensions()"/>
<xsl:for-each select="recall/book">
<xsl:value-of select="title"/> must be returned now!
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,7 @@
<doc>
<bibref>XML</bibref>
<bibref>XSLT </bibref>
<bibref>XPATH</bibref>
<bibref>XSD</bibref>
</doc>

View File

@@ -0,0 +1,15 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
>
<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:template match="doc/bibref" >
<xsl:variable name="name" select="."/>
<xsl:value-of select="$name"/>
<xsl:for-each select="document('91834a.xml')">
<xsl:apply-templates select="key('bib', 'XML')"/>
</xsl:for-each>
</xsl:template>
<xsl:key name="bib" match="entry" use="@name"/>
</xsl:stylesheet>

View File

@@ -0,0 +1,14 @@
<doc>
<entry name="XML">
Extensible Markup language
<details> Great stuffs </details>
</entry>
<entry name="XSLT">
eXtensible Stylesheet and Transformation language
<details> Great stuffs </details>
</entry>
<entry name="XPATH">
X Path Language
<details> Great stuffs </details>
</entry>
</doc>

View File

@@ -0,0 +1,32 @@
2008-06-03 Atsushi Enomoto <atsushi@ximian.com>
* 316238-1.xsl, 316238-2.xsl : new test files.
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* 391424.xml, 391424.xsl : new test files.
2007-09-21 Atsushi Enomoto <atsushi@ximian.com>
* 325482.xml, 325482.xsl : new test files.
2007-08-21 Atsushi Enomoto <atsushi@ximian.com>
* 82394.xml, 82493.xsl : new test files.
2006-04-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* current-in-select.xml current-in-select.xsl current-in-select.ref :
new files for XslTransformTests.CurrentInSelect().
2006-04-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* stripspace.xml, stripspace.xsl : added strip-space testcases.
2005-11-17 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* 91834.xml, 91834a.xml, 91834.xsl : I ended up to add new files here.
2003-04-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* added this file along with this new directory.

View File

@@ -0,0 +1,45 @@
== MonoDevelop.Ide ==
ProjectTemplates,
FileTemplates,
StartupHandlers,
FileTemplateTypes,
DisplayBindings,
MainMenu,
Pads,
ToolBar,
Contexts,
FileFilter,
DefaultDirectoryNode,
ReferenceFolderNode,
SystemFileNode,
ReferenceNode,
ProjectFileNode,
ResourceFolderNode,
CombineBrowserNode,
ProjectBrowserNode,
OptionsDialog,
Commands,
== MonoDevelop.Projects.Gui ==
ConfigurationProperties,
GeneralOptions,
ConfigurationProperties,
GeneralOptions,
== MonoDevelop.Projects ==
ProjectBindings,
SerializableClasses,
BuildPipeline,
Ambiences,
ExtendedProperties,
ProjectFileFormats,
== MonoDevelop.Core.Gui ==
StockIcons,
== MonoDevelop.Core ==
ExecutionHandlers,
Applications,
Services,

View File

@@ -0,0 +1,80 @@
<Tree>
<Node name="">
<Node name="MonoDevelop">
<Node name="ProjectTemplates" idref="ProjectTemplates" title="Project templates to be shown in the New Project dialog." description="Project templates to be shown in the New Project dialog." add-in="MonoDevelop.Ide" />
<Node name="FileTemplates" idref="FileTemplates" title="File templates to be shown in the New File dialog." description="File templates to be shown in the New File dialog." add-in="MonoDevelop.Ide" />
<Node name="IDE">
<Node name="StartupHandlers" idref="StartupHandlers" title="Commands to be automatically executed when the IDE starts. Specified classes must subclass MonoDevelop.Components.Commands.CommandHandler." description="Commands to be automatically executed when the IDE starts. Specified classes must subclass MonoDevelop.Components.Commands.CommandHandler." add-in="MonoDevelop.Ide" />
</Node>
<Node name="FileTemplateTypes" idref="FileTemplateTypes" title="Template types which can be used to create file templates." description="Template types which can be used to create file templates." add-in="MonoDevelop.Ide" />
</Node>
<Node name="SharpDevelop">
<Node name="Workbench">
<Node name="ProjectOptions">
<Node name="ConfigurationProperties" idref="ConfigurationProperties" title="Dialog panels for project configuration options." description="Dialog panels for project configuration options." add-in="MonoDevelop.Projects.Gui" />
<Node name="GeneralOptions" idref="GeneralOptions" title="Dialog panels for project options." description="Dialog panels for project options." add-in="MonoDevelop.Projects.Gui" />
</Node>
<Node name="CombineOptions">
<Node name="ConfigurationProperties" idref="ConfigurationProperties" title="Dialog panels for solution configuration options." description="Dialog panels for solution configuration options." add-in="MonoDevelop.Projects.Gui" />
<Node name="GeneralOptions" idref="GeneralOptions" title="Dialog panels for solution options." description="Dialog panels for solution options." add-in="MonoDevelop.Projects.Gui" />
</Node>
<Node name="DisplayBindings" idref="DisplayBindings" title="Display bindings." description="Display bindings." add-in="MonoDevelop.Ide" />
<Node name="ProjectBindings" idref="ProjectBindings" title="Project bindings." description="Project bindings." add-in="MonoDevelop.Projects" />
<Node name="MainMenu" idref="MainMenu" title="The main menu." description="The main menu." add-in="MonoDevelop.Ide" />
<Node name="SerializableClasses" idref="SerializableClasses" title="Classes to be registered for serialization." description="Classes to be registered for serialization." add-in="MonoDevelop.Projects" />
<Node name="Pads" idref="Pads" title="Pads shown in the workbench." description="Pads shown in the workbench." add-in="MonoDevelop.Ide">
<Node name="MonoDevelop.Ide.Gui.Pads.ClassPad" idref="MonoDevelop.Ide.Gui.Pads.ClassPad" title="Registers a pad which shows information about a project in a tree view." description="Registers a pad which shows information about a project in a tree view." />
<Node name="MonoDevelop.Ide.Gui.Pads.ProjectPad" idref="MonoDevelop.Ide.Gui.Pads.ProjectPad" title="Registers a pad which shows information about a project in a tree view." description="Registers a pad which shows information about a project in a tree view." />
</Node>
<Node name="BuildPipeline" idref="BuildPipeline" title="Custom build steps. Specified classes must implement IBuildStep" description="Custom build steps. Specified classes must implement IBuildStep" add-in="MonoDevelop.Projects" />
<Node name="ToolBar" idref="ToolBar" title="The main toolbar." description="The main toolbar." add-in="MonoDevelop.Ide" />
<Node name="Contexts" idref="Contexts" title="Workbench contexts." description="Workbench contexts." add-in="MonoDevelop.Ide" />
<Node name="FileFilter" idref="FileFilter" title="File filters for the Open File dialog." description="File filters for the Open File dialog." add-in="MonoDevelop.Ide" />
<Node name="StockIcons" idref="StockIcons" title="Stock icons (available from MonoDevelop.Core.Gui.Services.Resources)." description="Stock icons (available from MonoDevelop.Core.Gui.Services.Resources)." add-in="MonoDevelop.Core.Gui" />
<Node name="Combine">
<Node name="FileFilter" />
</Node>
<Node name="Ambiences" idref="Ambiences" title="Language ambiences. Specified classes must implement IAmbience." description="Language ambiences. Specified classes must implement IAmbience." add-in="MonoDevelop.Projects" />
<Node name="Serialization">
<Node name="ExtendedProperties" idref="ExtendedProperties" title="Custom properties for projects and other types." description="Custom properties for projects and other types." add-in="MonoDevelop.Projects" />
</Node>
<Node name="ProjectFileFormats" idref="ProjectFileFormats" title="File format handlers for projects and solutions." description="File format handlers for projects and solutions." add-in="MonoDevelop.Projects" />
<Node name="ExecutionHandlers" idref="ExecutionHandlers" title="Default execution handlers." description="Default execution handlers." add-in="MonoDevelop.Core" />
</Node>
<Node name="Views">
<Node name="ProjectBrowser">
<Node name="ContextMenu">
<Node name="DefaultDirectoryNode" idref="DefaultDirectoryNode" title="Context menu for a folder in the solution pad." description="Context menu for a folder in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="ReferenceFolderNode" idref="ReferenceFolderNode" title="Context menu for the references folder in the solution pad." description="Context menu for the references folder in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="SystemFileNode" idref="SystemFileNode" title="Context menu for a file (not belonging to a project) in the solution pad." description="Context menu for a file (not belonging to a project) in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="ReferenceNode" idref="ReferenceNode" title="Context menu for a reference in the solution pad." description="Context menu for a reference in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="ProjectFileNode" idref="ProjectFileNode" title="Context menu for a project file in the solution pad." description="Context menu for a project file in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="ResourceFolderNode" idref="ResourceFolderNode" title="Context menu for the resource folder in the solution pad." description="Context menu for the resource folder in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="CombineBrowserNode" idref="CombineBrowserNode" title="Context menu for solutions in the solution pad." description="Context menu for solutions in the solution pad." add-in="MonoDevelop.Ide" />
<Node name="ProjectBrowserNode" idref="ProjectBrowserNode" title="Context menu for a project in the solution pad." description="Context menu for a project in the solution pad." add-in="MonoDevelop.Ide" />
</Node>
</Node>
</Node>
<Node name="DefaultEditor">
<Node name="SearchAndReplace">
<Node name="WildcardHelpPath" />
</Node>
</Node>
<Node name="Dialogs">
<Node name="OptionsDialog" idref="OptionsDialog" title="Dialog panels for global MonoDevelop options." description="Dialog panels for global MonoDevelop options." add-in="MonoDevelop.Ide" />
</Node>
<Node name="Commands" idref="Commands" title="User interface commands." description="User interface commands." add-in="MonoDevelop.Ide" />
</Node>
<Node name="Workspace">
<Node name="Applications" idref="Applications" title="Applications managed by the runtime. Those application can be started using mdtool. Specified classes must implement MonoDevelop.Core.AddIns.IApplication." description="Applications managed by the runtime. Those application can be started using mdtool. Specified classes must implement MonoDevelop.Core.AddIns.IApplication." add-in="MonoDevelop.Core" />
<Node name="Services" idref="Services" title="Services to be initialized by the runtime. Specified classes must implement MonoDevelop.Core.IService" description="Services to be initialized by the runtime. Specified classes must implement MonoDevelop.Core.IService" add-in="MonoDevelop.Core" />
</Node>
</Node>
<AddIns>
<AddIn name="MonoDevelop.Ide" />
<AddIn name="MonoDevelop.Projects.Gui" />
<AddIn name="MonoDevelop.Projects" />
<AddIn name="MonoDevelop.Core.Gui" />
<AddIn name="MonoDevelop.Core" />
</AddIns>
</Tree>

View File

@@ -0,0 +1,14 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="no" />
<xsl:template match="/">
<xsl:for-each select="Tree/AddIns/AddIn">
== <xsl:value-of select="@name"/> ==
<xsl:for-each select="/Tree/Node//*[@add-in=current()/@name]">
<xsl:value-of select="@name"/>,
</xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,9 @@
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<result/>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,17 @@
<Tree>
<Node name="">
<Node name="MonoDevelop">
<Node name="ProjectTemplates" />
<Node name="FileTemplates" />
<Node name="IDE">
<Node name="StartupHandlers" />
</Node>
<Node name="FileTemplateTypes" />
</Node>
<Node name="Workspace">
<Node name="Applications" />
<Node name="Services" />
</Node>
</Node>
</Tree>

View File

@@ -0,0 +1,16 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:strip-space elements="*" />
<xsl:output method="html" indent="no" />
<xsl:template match="/">
<xsl:apply-templates select="Tree/*"/>
</xsl:template>
<xsl:template match="Node">
<xsl:value-of select="@name"/><xsl:text>
</xsl:text>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>