XSL - Adam Heunis tech talk
in

dotnet.org.za

South African .NET Developer Portal

Adam Heunis tech talk

Software mostly, but other techie stuff as well. I primarily use Notepad, Visual Studio, the Command Prompt, XmlSpy, SQL Server, MySQL and Photoshop. I speak
C# (incl. OO), XML, XSL, ASP.NET, VB.NET, VB6, SQL, UML and XForms.

Browse by Tags

All Tags » XSL (RSS)
  • Improve XSLT transform performance with XPathDocument

    Provided you know XSL, there is hardly an easier way to transfrom xml to more xml, text or html than using XSLT. If you're doing this in .NET there are some things that you should keep in mind: Don't use XmlDocument as the source of an XSLT transformation; rather use XPathDocument . Basically you can't do much with XPathDocument other than calling its CreateNavigator (implements IXPathNavigable.CreateNavigator ) method. This method will return a read-only cursor model based on the XPath data model...
    Posted Apr 25 2005, 03:03 PM by attie with | with 4 comment(s)
    Filed under: , ,
  • Numerical iteration in XSL

    Have you ever wondered how to iterate a set number of times in XSL? While it is easy to "walk" a nodelist using xsl:for-each or xsl:template, it is a bit more tricky to iterate a set number of times (the "for" statement in C#). Here is what you do: <?xml version ="1.0"?> <xsl:stylesheet version ="1.0" xmlns:xsl ="..."> <xsl:template match ="/"> <xsl:call-template name ="iterator"> <xsl:with-param name ="LastNo"> 10 < / xsl:with-param> < / xsl:call-template>...
    Posted Apr 03 2005, 06:06 AM by attie with | with 3 comment(s)
    Filed under:
Powered by Community Server (Commercial Edition), by Telligent Systems