August 2012
-
Regular Expressions in .NET to Surround but not Replace Text Matches
ASP.NET offers strong support for regular expressions in the System.Text.RegularExpressions Namespace. This is great since regular expressions are essential if you want to do anything beyond basic text manipulations and searches. You can read more about regular expression support in ASP.NET on the official MSDN page. The MSDN site also includes a few good getting…
-
Call a JavaScript Function in an XSL StyleSheet of an ASP.NET XML Control
Using an XSL stylesheet together with an ASP.NET XML control can be a great way to format the output of a database query. For instance a cool implementation is that you can embed an XML control within a ListView control so that you can output a tree-like structure in your ListView rather than the standard…
-
Reviewing XSLT Template Match Patterns with ASP.NET
As part of my ongoing dabbling with XML/XSLT & XPath in my VB.NET project I’ve decided to document some of the XSLT syntax I’ve found to be useful. In this particular article I will take a look at using templates to navigate the XML structure.