Tag: xslt
Posts of Tag: xslt
  1. XSLT Explained

    XSLT Explained 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
  2. How can I prevent these redundant namespaces from an XSLT stylesheet?

    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
  3. Java, XSLT: How to handle the dynamic namespaces generated by Axis in XSLT

    I have an application that calls a web service (axis based) to get a response in the following format: <?xml version="1.0"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">...Learn More
  4. Exclude items who has a later date than the date of today

    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
  5. java xslt tutorial

    Can any one suggest good XSLT with java tutorials? ...Learn More
  6. How to apply an alphanumeric sort in XSLT

    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. &lt;colo...Learn More
  7. convert an xs:float value to a hex-string representation of its binary value

    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
  8. Does Python 2.5 include a package to natively transform an XML document?

    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
  9. Optional parameters when calling an XSL template

    Is there way to call an XSL template with optional parameters? For example: &lt;xsl:call-template name="test"&gt; &lt;xsl:with-param name="foo" select="'fooValue'" /&gt; &lt;xsl:with-par...Learn More
  10. Viewing source in XML to XHTML transformation through XSL

    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
  11. java append to file

    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
  12. SVG to black-and-white

    I would like to be able to convert SVG documents to black and white. My try is the following Makefile script using 'sed' : %.bw.svg: %.svg sed '/stroke:none/!s/stroke:[^;\"]*/stroke:black/g' $&lt; &...Learn More