Questions tagged [xslt]

XSLT is a transformation language for XML designed to transform structured documents into other formats (such as XML, HTML, and plain text).

24 questions
6
votes
1 answer

Can you apply XSLT transforms using Sublime Text 2?

Scenario: I have a project with a number of XML files and I would like to apply a XSLT transform on these and then use that output for other purposes. There is a variety of tools to do this, but it would be nice to be be able to stay in the editor…
erikxiv
  • 1,974
  • 3
  • 16
  • 18
3
votes
1 answer

How could I embed formatted XML source in WORD documents?

I'm writing a documentation with WORD that contains XML source code (whole files) as examples. The way I'm embedding the currently XML is quite cumbersome and doesn't seem to me as really maintainable: I'm finishing the editing of the document in…
eckes
  • 538
3
votes
3 answers

How do I "run" an XSLT file?

I've received a great answer about sorting XML - I need to use XSLT. But how do I actually do that? What software is required? What command or application do I need to start to get a "converted" XML output file, given that I've got an XML file and…
2
votes
4 answers

printing the book title in the header of a pdf with fop/docbook/xslt

What is the proper string to use in my XSLT to make FOP print the title of the book in the header? I haven't been able to find this anywhere, and any help is appreciated! Edit: So,
Mica
  • 399
1
vote
0 answers

Convert DublinCore To MARC

I am trying to convert the following DublinCore XML catalogue:
Laura Steinert Ulrich…
Pouria
  • 21
1
vote
0 answers

Maintaining parallel versions of documents

I would like to maintain parallel versions of my cv (résumé). What are good ways of doing this? Either with a "master document", or merging between versions? I would prefer a WYSIWYG way of editing (Rather that XML source for example) Several…
Olav
  • 694
  • 3
  • 10
  • 31
1
vote
1 answer

Excel output XML using XSLT

I am attempting to use xml2json-xslt to convert my Excel generated XML to JSON data. It is written in XSL 1.0 so I can run it from the browser and it works just fine. However I would like to include it in my workflow from Excel so I can…
George Reith
  • 133
  • 1
  • 7
1
vote
1 answer

XML with XSL shows blank page in Chrome and Edge browsers

When I use XML with xsl stylesheet, Chrome, Edge shows blank page. When I remove the stylesheet information from the XML file, the data is shown in tree structure. What setting do I need to change in Chrome so that when I double click on XML file,…
Shahid
  • 147
1
vote
1 answer

screen scraper templates for various websites

I'm looking specifically for a convenient way to locally archive posts from this and other similar sites. I'd like to separate the question itself from the answers, or maybe crop the question and store it, keeping the page title. Obviously I don't…
intuited
  • 3,481
1
vote
1 answer

Proxy to transform an XML body of an http request?

I have a calling system that I cannot easily change. It sends an http request (actually SOAP) with two elements in the wrong order. This is easy to fix with an XSL transform. I'd like to implement a proxy web server that transforms the request via…
1
vote
1 answer

Sorting XML having xsd format using xslt

Sort XML with xsd format in ascending order Because of xsd format in XML my xslt solution was not working ,what must be used in case of xsd? Here is my XML Input: 4 1 …
Harshi
  • 11
1
vote
0 answers

Microsoft Word - Mail Merge modify a single field containing XML with XSL

I am attempting to insert a table based on XML from a datasource. I want this XML to enter as a single merge field that will be provided alongside other merge fields. I am working with the restriction that the merge document must be one row to one…
1
vote
1 answer

How can I apply xslt2.0 to any html file on ubuntu?

How can I apply xslt2.0 to any html file on ubuntu? I'm looking for something that'll make this work: wget -qO- "https://www.amazon.com/" | ????? | saxonb-xslt -o:output.xml -xsl:transform20.xsl -s:- It hast to be robust enough to work with html…
wotanii
  • 179
0
votes
0 answers

Always open local XML in compatibility mode in IE11

I have an XML-File, which references a DTD, which references an XSL. When I open it with the Internet Explorer 11, it gets displayed as a normal XML without any stylesheets would. I managed to open it in compatibility mode using the solution given…
0
votes
1 answer

Trying to view XSLT HTML page with JavaScript transformations

I have a web site that is not showing its content. This content is in XML format and with a XSLT presentation. There's some JavaScript to convert the code from the XML to HTML presentation. According to the user this was accessible a few months ago…
Andy
  • 1
1
2