XSLT is a transformation language for XML. Its primary function is to transform XML documents into different output formats, commonly other XML, HTML or plain text.

learn more… | top users | synonyms

4
votes
1answer
56 views

XSLT 2.0: Crawl HTML and add links

Background: I have 4 GB of text data dispersed in 250,000 html files. I want to interlink the files with <a> for the reader to click on. I have a 12 MB file ...
2
votes
1answer
348 views

Conditional assignment in XSLT?

I've written some XSLT where I want to assign values to some variables. Depending on whether or not a condition is met, I want the variable to be populated with a computed value and I want it to have ...
2
votes
1answer
221 views

Cross-language Constants

Background Developing a web application that leverages multiple programming languages. The data flow resembles: Browser » PHP » PL/SQL » XML » XSLT » XHTML + JavaScript » Browser Using different ...
3
votes
2answers
164 views

Appendix answer key template

Goal: Extract all Appendix Titles If Appendix Title is Answer Key call custom solutions template If Not Answer Key call default appendix template XML: ...
2
votes
2answers
239 views

Reviewing and optimizing underperforming XSLT

At work I've recently been tasked with creating an XSLT to transform some XML as it is being genereated on a scanner. The point being to disgard some pages, that we are not interrested in for further ...
2
votes
1answer
104 views

How can I optimize my XSL file?

I am trying to learn to format XSL more efficiently. I can tell by the definition of duplicate variables and nearly identical templates that I did not create this efficiently at all. How could I ...
1
vote
2answers
118 views

Using Choose and Apply Templates with Mode, vs Complexless Template Matches

So I have a little XML (Sub)language, it has 3 elements of interest: para, point, and code ...
3
votes
1answer
594 views

Please review my XML Schema for an XML representation of CSV

Please review my XML Schema for an XML representation of CSV. This is intended to be part of a generalised solution to the problem of converting any (with some minor restrictions) CSV content into ...
2
votes
2answers
731 views

Making a flat file

Source XML (since I haven't bothered with a schema): ...
5
votes
1answer
655 views

Using XSLT to turn content of WYSIWYG stored in XML into HTML

The CMS I use uses the Xalan XSLT processor which is a XSLT version 1.0 processor. Editors who use WYSIWYG fields within the CMS can save content that will look like either: ...