xslt Questions

8

Solved

I was looking into xslt and started testing with the examples on w3schools. However, when I save the xml and xsl in files and try opening them locally, chrome won't perform the xsl transform. It j...
Noshow asked 30/9, 2010 at 8:17

3

Solved

I have no idea why my code isn't cooperating, with me and my xml. I'm sorry for giving pics, but when i'm giving code, site is displaying end result, not the code it self, and I have no idea how to...
Nolie asked 2/1, 2021 at 18:12

9

Solved

When I use the XML serializer to serialize a DateTime, it is written in the following format: <Date>2007-11-14T12:01:00</Date> When passing this through an XSLT stylesheet to output ...
Hogle asked 1/2, 2009 at 14:28

4

Solved

How can I set an a href that is both a link to and has the text for a link through an XSLT transformation? Here's what I have so far, which gives me the error "xsl:value-of cannot be a child of the...
Baronet asked 1/4, 2010 at 19:19

3

I am trying to install node_xslt module in node 0.12 but it is failing. I have python version 2.7 and node-gyp version 2.0.2. Here is the error stack- > [email protected] preinstall /hom...
Conjugated asked 24/8, 2015 at 4:27

1

I tryied to run an xml/xsl in chrome (it works on firefox) but I have this error : Unsafe attempt to load URL file:///C:/Users/..../thing.xsl from frame with URL file:///C:/Users/..../thing.xml. '...
Mcshane asked 11/5, 2017 at 14:29

6

I am trying to edit a current XSLT. The functionality I want is when the value of "//code_no" ends with 01 I want to edit the current city location. Currently this functionality does not exist. I h...
Kossuth asked 7/8, 2012 at 15:2

4

Solved

I have this simple code: <xsl:for-each select="GroupsServed"> <xsl:value-of select="."/>,<br/> </xsl:for-each></font> I'm trying to add a comma for each item added...
Muslin asked 15/11, 2009 at 21:5

8

I realise that I will probably regret asking about this for the rest of my life, but... Is there some way of applying XSLT to an XML file without the XML file having an explicit reference to the XS...
Batchelor asked 15/2, 2012 at 16:33

3

Solved

Pretty simple question, how can I transform a number (1, 2, 3, etc) into a print friendly ordinal number (1st, 2nd, 3rd, etc) using xslt? Currently the following works for 1-20 but we may be seein...
Pasho asked 29/7, 2009 at 19:42

22

Solved

I have a string that represents a non indented XML that I would like to pretty-print. For example: <root><node/></root> should become: <root> <node/> </root&gt...
Wizened asked 17/12, 2008 at 23:1

7

Solved

I don't know if it's possible, but I'm wondering how to do it... Let's say we have the following XSL: <xsl:template name="foo"> Bla bla bla </xsl:template> ... <xsl:template name=...
Hillier asked 5/8, 2009 at 14:41

2

Solved

I'm trying to extract the headline from the below XML from the Met Office web service using XSLT, however my XSLT select returns blank. SOURCE: <RegionalFcst xmlns="www.metoffice.gov.uk/xml/me...
Legault asked 13/1, 2016 at 4:36

4

Solved

I am trying to center a table in a block element in a xsl-fo namespace. Here is what I am trying: <fo:block margin-right="auto" margin-left="auto" background-color="#eaeaea"> <fo:tabl...
Tantalate asked 28/8, 2013 at 11:59

6

Solved

how to split a node value in XSLT 1.0? <mark>1,2</mark> i need to perform some operations in the for loop with each value of the output of split. <xsl:for-each select=""> <...
Seale asked 15/9, 2011 at 1:55

0

Summary of problem: I cannot get the table of contents generator to work in pdfkit for Python. What I have tried: Passing argument toc. My current code: toc = {'xsl-style-sheet': 'toc.xsl'} pdfkit...
Ruwenzori asked 28/9, 2021 at 18:3

2

Solved

<events> <main> <action>modification</action> <subAction>weights</subAction> </main> </events> <SeriesSet> <Series id="Price_0"> &l...
Perilymph asked 20/2, 2013 at 16:38

3

Solved

Is it possible to embed an external PDF or TEXT document into a master PDF by using XSL-FO/XSLT? I have xslt stylesheet to produce PDF documents. But, the input XML contains inlined TEXT or Base64...
Mammoth asked 20/5, 2011 at 18:54

6

Solved

In XSLT there is the <xsl:value-of select="expression"/> to get the value of an element, but is there something to select the tag-name of the element? In a situation like this: <perso...
Unreal asked 25/2, 2009 at 9:11

13

I want to produce a newline for text output in XSLT. Any ideas?
Clarindaclarine asked 6/4, 2009 at 21:2

5

In the following XSL transformation how do I output the '<' and '>' symbol? Input XML: <TestResult bugnumber="3214" testname="display.methods::close->test_ManyInvoke" errortype="Failure"...
Demarco asked 28/5, 2010 at 0:53

3

Solved

I have project about transforming Word DOCX XML (OOXML) files to HTML format. I use XML Spy and XSLT, XPath, XML for this transformation. Imagine a single Word file that I write a program in XSLT...
Etem asked 21/3, 2017 at 13:37

2

I am currently trying to load external XML files and parsing them into HTML by using XSL stylesheet file. I'm using the plugin XData Toolkit to achieve this and it is working fine. However, that pl...
Teal asked 24/10, 2012 at 9:41

2

Solved

With the following code: private Document transformDoc(Source source) throws TransformerException, IOException { TransformerFactory factory = TransformerFactory.newInstance(); factory.setFeature...
Gelation asked 23/3, 2010 at 16:44

5

I created a simple XSLT file using Visual Studio 2010 which works just fine on my machine. However, when my colleague tried to run it on her pc with Visual Studio 2013 it informed her that the file...
Sessile asked 21/5, 2015 at 19:16

© 2022 - 2024 — McMap. All rights reserved.