The combination of XML and XSLT is growing in popularity with webmasters
of medium-sized and large Web sites. Prior to XSLT, changing the presentation
of a Web site was a major undertaking: one had to revisit and to change
every page on the site. XSLT automates the process, leading to significant
time...
Thursday, April 25, 2013
XSL - Global Variable Change
Global Variable in XSL
http://stackoverflow.com/questions/9608432/incrementing-and-checking-the-counter-variable-in-xslt
Cannot increment a variable in XSLT because all XSLT variables are
constant. There are, however, several methods available for
accomplishing this task:
1. Use a recursive <xsl:call-template>...
Tuesday, April 23, 2013
XSL - xsl:call-template or xsl:function
XSL version 1.0
There is no xsl:function in XSL version 1.0
<xsl:template name="helloWorld">
<xsl:text>Hello World!</xsl:text>
</xsl:template>
(...)
<xsl:template match="something">
<xsl:call-template name="helloWorld"/>
</xsl:template>
XSL...
Friday, April 19, 2013
SVG - Draw Arrow
SVG
Sample 1
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-50 -100 200 200">
<defs>
<marker id='mid' orient="auto"
markerWidth='2' markerHeight='4'
refX='0.1' refY='1'>
...
XSL - Loop/Recursive
Lopp/Recursive Template
<xsl:template name="recursive"> <xsl:param name="num" /> <xsl:if test="not($num = 500)">
do something ... <xsl:call-template name="recursive"> <xsl:with-param name="num" select="$num + 50" /> ...
SVG - Gradient in XSL with FOP

graidient.svg
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <defs> <linearGradient id="linearGradient" x1="0%" y1="0%" x2="100%" y2="0%"> ...
Thursday, April 18, 2013
Java Script - Wirable Libraries
http://dev.lshift.net/james/wireit/wireit/
Wire It 0.5.0 Presentation from neyric
Jsplumb
http://jsplumbtoolkit.com/jquery/demo.html
Ajax Mashup Development Platform
http://www.afr...
Eclipse - Convert java project to web project
Right Click Java Project, in Project Facets section: select Dynamic Web Modules & Jav...