tagged [xslt]
C# XSLT transform adding 
 and 
 to the output
C# XSLT transform adding 
 and 
 to the output I have an XSLT transform issue: And the value of Data/PercentSpaceUsed is integer 3. And it outputs: instead of what I expected: Here's the code ...
- Modified
- 30 Nov at 08:37
Error: The processing instruction target matching "[xX][mM][lL]" is not allowed
Error: The processing instruction target matching "[xX][mM][lL]" is not allowed This error, > The processing instruction target matching "[xX][mM][lL]" is not allowed occurs whenever I run an XSLT pag...
XSLT - How to select XML Attribute by Attribute?
XSLT - How to select XML Attribute by Attribute? this is the structure of my source xml: from which I like to create some variables e.g. from
- Modified
- 1 Feb at 14:10
Is there an XSLT name-of element?
Is there an XSLT name-of element? In XSLT there is the to get the value of an element, but is there something to select the tag-name of the element? In a situation like this: ``` Robert progra
Sum diff problem/bug in XSLT 1.0
Sum diff problem/bug in XSLT 1.0 I have this XML data and try and make a sum of it using the XSLT snippet below. ```
- Modified
- 10 Nov at 01:40
How to fix error: The markup in the document following the root element must be well-formed
How to fix error: The markup in the document following the root element must be well-formed I put my code in the XML validation website and it gives me this error: > Line 8: 4 The markup in the docum...
- Modified
- 22 Sep at 01:43
<xsl:variable> Print out value of XSL variable using <xsl:value-of>
Print out value of XSL variable using I'm trying to output a variable's literal string value, after it is being set depending on whether a node exists or not. I think the condition check logic is corr...
- Modified
- 13 Apr at 00:8
How to change an endpoint address with XML Transformation in web.config?
How to change an endpoint address with XML Transformation in web.config? I need change the address of this configuration in a web.config: to this: ```
How to flatten this XML with XSLT
How to flatten this XML with XSLT INPUT ``` nshmyrev 2008-09-21T19:43:10.819236Z /trunk/po/ru.pi 2008-09-21 Nickolay V. Shmyrev nshmyrev@yandex.ru * ru.po: Updated Russian translation. ckirbach 2008-0...
Can an XSLT insert the current date?
Can an XSLT insert the current date? A program we use in my office exports reports by translating a XML file it exports with an XSLT file into XHTML. I'm rewriting the XSLT to change the formatting an...
Pass parameter to XSLT stylesheet
Pass parameter to XSLT stylesheet I'm trying to pass a couple of parameters to an XSLT style sheet. I have followed the example: [Passing parameters to XSLT Stylesheet via .NET](https://stackoverflow....
- Modified
- 6 Jun at 09:32
XMLReader from a string content
XMLReader from a string content I'm trying to generate XML from another XML using a XslTransform. I get both files (source XML and XSL transformation file) as string content, so I'm trying to pass the...
Microsoft.Reporting.* vs XML/XSLT
Microsoft.Reporting.* vs XML/XSLT I would like to add reporting capabilities to a .NET application. My data source is just the data model of the application, i.e. a bunch of objects that may have been...
- Modified
- 2 Feb at 12:32
XSLT: use parameters in xls:sort attributes (dynamic sorting)
XSLT: use parameters in xls:sort attributes (dynamic sorting) How do I apply a parameter to a `select` and `order` attribute in a `xsl:sort` element? I'ld like to do this dynamic with PHP with somethi...
- Modified
- 27 Mar at 14:27
Using xslt, transform one xml document based upon the contents of a second xml document
Using xslt, transform one xml document based upon the contents of a second xml document I have one set of documents that implicitly define the allowed fields for a second set of objects that have to b...
Traversing an arbitrary C# object graph using XPath/applying XSL transforms
Traversing an arbitrary C# object graph using XPath/applying XSL transforms I've been looking for a component that would allow me to pass an arbitrary C# object to an XSL transform. The naive way of d...
XSLT getting last element
XSLT getting last element I am trying to find the last element in my xml, which looks like: ```
Button generated for each item in an XSLT file runat server
Button generated for each item in an XSLT file runat server I am tryiing to create an "add to cart" button for each item that is displayed by an XSLT file. The button must be run at server (VB) and I ...
Is There An Open Source XSLT To Convert a WPF FlowDocument to WordML?
Is There An Open Source XSLT To Convert a WPF FlowDocument to WordML? I want to use a WPF RichTextBox which allows users to edit and format text. This formatted text will eventually work its way into ...
Counter inside xsl:for-each loop
Counter inside xsl:for-each loop How to get a counter inside xsl:for-each loop that would reflect the number of current element processed. For example my source XML is
Error using JSTL XML taglib - attribute xml does not accept any expressions
Error using JSTL XML taglib - attribute xml does not accept any expressions I'm getting the following error when I try to use the JSTL XML taglib: I'm looking into the tlds etc, but if anyone knows wh...
Pretty printing XML with javascript
Pretty printing XML with javascript I have a string that represents a non indented XML that I would like to pretty-print. For example: should become: Syntax highlighting is not a requirement. To tackl...
- Modified
- 17 Oct at 20:29
Debugging XSLT with extension objects in Visual Studio 2010
Debugging XSLT with extension objects in Visual Studio 2010 I'm currently working on a project that involves a lot of XSLT transformations and I need a debugger (I have XSLTs that are 1000+ lines long...
- Modified
- 27 Jul at 05:33
Comparing two XML files & generating a third with XMLDiff in C#
Comparing two XML files & generating a third with XMLDiff in C# I am trying to write a simple algorithm to read two XML files with the exact same nodes and structure but not necessarily the same data ...