|
Spring Framework example source code file (sunnyDay.xsl)
The Spring Framework sunnyDay.xsl source code<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:param name="sex">Female <xsl:template match="*"> <xsl:element name="hero"> <xsl:attribute name="name"> <xsl:value-of select="@name"/> </xsl:attribute> <xsl:attribute name="age"> <xsl:value-of select="@age"/> </xsl:attribute> <xsl:attribute name="catchphrase"> <xsl:value-of select="@catchphrase"/> </xsl:attribute> <xsl:attribute name="sex"> <xsl:value-of select="$sex"/> </xsl:attribute> </xsl:element> </xsl:template> </xsl:stylesheet> Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework sunnyDay.xsl source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.