Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Microsoft Visual Studio 10.0/Xml/1033/Snippets/xslt/html/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <Header> <Title> <!-- _locID_text="title" _locComment="" -->Table Template </Title> <Author>Microsoft Corporation</Author> <Shortcut>htmltable</Shortcut> <Description> <!-- _locID_text="description" _locComment="" -->XML snippet creating an HTML table in XSLT</Description> <SnippetTypes> <SnippetType>Expansion</SnippetType> </SnippetTypes> </Header> <Snippet> <Declarations> <Literal> <ID>xpath</ID> <ToolTip> <!-- _locID_text="tooltip1" _locComment="" -->XPath expression</ToolTip> <Default>XPath</Default> </Literal> <Literal> <ID>title</ID> <ToolTip> <!-- _locID_text="tooltip2" _locComment="" -->Title</ToolTip> <Default>title</Default> </Literal> <Literal> <ID>header1</ID> <ToolTip> <!-- _locID_text="tooltip3" _locComment="" -->First Header</ToolTip> <Default>Header1</Default> </Literal> <Literal> <ID>header2</ID> <ToolTip> <!-- _locID_text="tooltip4" _locComment="" -->Second Header</ToolTip> <Default>Header2</Default> </Literal> </Declarations> <Code Language="XML" Kind="http://www.w3.org/1999/XSL/Transform"><![CDATA[<xsl:template match="/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <html><head><title>$title$</title></head> <body><h4>$title$</h4> <table border="1"> <tbody ><tr><th>$header1$</th><th>$header2$</th></tr> <xsl:apply-templates select="$xpath$"/></tbody> </table></body></html></xsl:template>$end$]]></Code> </Snippet> </CodeSnippet>