xslt (556)


Is it “bad practice” to be sensitive to linebreaks in XML documents?

Is it “bad practice” to be sensitive to linebreaks in XML documents?

I'm generating some XML documents and when it comes to the address part I have fragments that look like this:<Address>15 Sample St Example Bay Some Country</Address> The XSLT that I have for convert…


Using an HTML entity in XSLT(e.g. &nbsp;)

What is the best way to include an html entity in XSLT?<xsl:template match="/a/node"><xsl:value-of select="."/><xsl:text>&nbsp;</xsl:text></xsl:template> this one returns a XsltParseError…


How to apply an XSLT Stylesheet in C#

I want to apply an XSLT Stylesheet to an XML Document using C# and write the output to a File.…


How do I convert a.docx to html using asp.net?

Word 2007 saves its documents in.docx format which is really a zip file with a bunch of stuff in it including an xml file with the document. I want to be able to take a.docx file and drop it into a…


xml - Cannot get xslt to output an(&) even after escaping the character

I am trying to create a query string of variable assignments separated by the & symbol(ex: "var1=x&var2=y&..."). I plan to pass this string into an embedded flash file. I am having trouble getting a…


Merge multiple xslt stylesheets

I have a xslt stylesheet with multiple xsl:imports and I want to merge them all into the one xslt file. It is a limitation of the system we are using where it passes around the xsl stylesheet as a st…


xml - Why has XSLT never seen the popularity of many other languages that came out during the internet boom?

The use of XSLT(XML Stylesheet Language Transform) has never seen the same popularity of many of the other languages that came out during the internet boom. While it is in use, and in some cases by…



xml - Is XSLT worth it?

A while ago, I started on a project where I designed a html-esque XML schema so that authors could write their content(educational course material) in a simplified format which would then be transfor…


xslt - Performance: call-template vs apply-template

in XSLT processing, is there a performance difference between apply-template and call-template? In my stylesheets there are many instances where I can use either, which is the best choice?…


xml - How to use node-set function in a platform-independent way?

I'm writing some xlst file which I want to use under linux and Windows. In this file I use node-set function which declared in different namespaces for MSXML and xsltproc("urn:schemas-microsoft-com…




xsl xml example using value html transformation element xpath how