Posts of Tag: xslt
What is XSLT?
XSLT is, in my opinion, similar to the likes of the Mako and Chameleon templating engines. XSLT is mainly used to transform some type of structured markup language (like XML) to ano...Learn More
When using an XSLT stylesheet to transform an XML file which contains embedded XHTML (using namespaces) into pure XHTML, I'm left with redundant namespace definitions on the elements which were originally XHTML...Learn More
I have an application that calls a web service (axis based) to get a response in the following format:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">...Learn More
I have a question about XSLT.
On a website i have a simple calendar, showing events who are going on in the future.
But when an event is done, it should be removed from my list. By done i mean, that the date of...Learn More
Based on the following XML, what is the best way to achieve an alphanumeric sort in XSL?
Edit: to clarify, the XML below is just a simple sample the real XML would contain much more variant values.
Using xsl 2.0, how would you convert an xs:float value to a hex-string representation of its binary value? i have no problem doing this for an integer (divide by 16 recursively and concatenate chars 0-9A-F), b...Learn More
In my Python app, I have an XML document that I'd like to transform using my XSL file. I'm currently using xml.etree to generate the XML document, but I haven't found anything within Python 2.5 that will allow...Learn More
Is there way to call an XSL template with optional parameters?
<xsl:with-param name="foo" select="'fooValue'" />
I'm trying to use an XSL file to transform an XML file into an XHTML file. How can I view the XHTML source that is output after the transformation. I'm currently viewing the results through Firefox, but all I s...Learn More
I googled for this for a while but can't seem to find it and it should be easy. I want to append a CR to then end of an XML file that I am creating with a Transformer. Is there a way to do this>
I tried the fol...Learn More
I would like to be able to convert SVG documents to black and white. My try is the following Makefile script using 'sed' :
sed '/stroke:none/!s/stroke:[^;\"]*/stroke:black/g' $< &...Learn More