Questions tagged [xsl-stylesheet]

for questions related to the Extensible Stylesheet Language (XSL)

In computing, the term Extensible Stylesheet Language (XSL) is used to refer to a family of languages used to transform and render XML documents.

Source:

https://en.wikipedia.org/wiki/XSL

27 questions
4
votes
4 answers

XSLT matching empty nodes

I have an XML structure like the following: Event Description etc... Event Description etc... Event…
Armstrongest
  • 15,181
  • 13
  • 67
  • 106
2
votes
2 answers

How can I pass a parameter to my xslt stylesheet with Saxon under Java?

I am using Saxon 9 HE and in NetBeans 7.0.1, I get the following error when I try to send a parameter to my stylesheet: Just to make sure, is that the good way to send a parameter so I can get it back with ? If so, how can I use…
Cybrix
  • 3,248
  • 5
  • 42
  • 61
2
votes
3 answers

How to generate simple documentation from XSD using XSLT

We have several XSD files and one of them has the root element and others are imported or included. These XSD files represents an XML service request... for documentation reason, I need to extract all the element names and attributes under the root…
xbmono
  • 2,084
  • 2
  • 30
  • 50
2
votes
1 answer

Call Template - Update existing elements

Here is my problem. I have some pre build XSLT with call template, Template code in another file I can edit content of template code , but not main XSLT. My Current Code School_College.xsl (I can not edit this)
1
vote
1 answer

how to supply stylesheet variable value from html or javascript

My issue is regarding rendering on client that uses xsl. This already works in IE but I want to make it work on firefox First, the stylesheet (variablexsl.xsl) The only thing special here is the existence of
Sekhar
  • 5,614
  • 9
  • 38
  • 44
1
vote
1 answer

XSLT for dynamic nested XML tables

I am new to xslt and facing a problem as I have generated an xml file dynamically (i.e. node names are unknown) And tried many approaches to view the content in nested tables in html file using xslt, but all my efforts are failing.
Seddiq
  • 28
  • 5
1
vote
1 answer

Using a parameter passed into xslt stylesheet

I am using Saxon to perform a transformation of an XML document in my .NET application. I am passing in a parameter to my xslt document but I have no idea how to use it in my template. Here is what I have done so far: var zipcode =…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
1
vote
0 answers

Associating XSLT with Atom feed so it renders in Chrome

I'm generating an ATOM feed with this header: I think this used to work in Chrome - visiting the URL showed…
Steve Bennett
  • 114,604
  • 39
  • 168
  • 219
0
votes
0 answers

Apache POI XSSFTable update AreaReference

Working with Apache POI to write some data from DB to Excel file template. The template contains the header and no rows. After adding all the rows properly when I try to update the table area as below AreaReference newArea = new…
java programming
  • 125
  • 2
  • 11
0
votes
2 answers

XSL 3.0 streaming an XML file cannot access nodes above the iteration

I try to split a large XML (like 10 GB) file into smaller XML files with XSL streaming. The XML looks like:
...
... ... ...
0
votes
1 answer

How to copy a particular row from xsls file and export it to new xlsx file using Apache poi?

I have a folder with 216 xsls files. My logic is to loop throw the folder and read every file, copy the first row of each file and write that row to a new .xsls file. I want to copy the first row without iterating throw the row and read every cell?…
Abdulrazzaq
  • 95
  • 1
  • 7
0
votes
1 answer

Adding colspan via XSL

I am new to xslt and facing a problem while developing an XSL file that transforms XML files into a html table. Can we control closing of somehow. For example if size-for-desktop=8 colspan is 8, close td and for next aga-block, if…
Amal
  • 3,398
  • 1
  • 12
  • 20
0
votes
1 answer

XSLT (XML to XML Transformation)

I want to transform this XML: