[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transform some attributes into HTML span elements
Thanks for the quick response! > <xsl:template match="InspectionReportInput" name="customer"> > <span id="{name(@firstName)}">{@firstName}</span> <span id="{name(@lastName)}">{@lastName}</span>, <span id="{name(@city)}">{@city}</span> > </xsl:template> I call it like this. <xsl:call-template name="customer"/> and its output is: <span xmlns="" id="">{@firstName}</span> <span xmlns="" id="">{@lastName}</span>, <span xmlns="" id="">{@city}</span> Any ideas? Thanks, Phil
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|