xslt Questions
2
Solved
This problem is occurring intermittently, that is I have performed many xslt transformation without this problem, then it suddenly appeared during my latest xslt transformation.
I have a large num...
Dorman asked 27/3, 2016 at 12:9
2
Solved
I have a problem.
I have an XML file that contains information about 100 courses.
I have an XSL file that nicely displays the list of 100 courses.
But what if I want to only display 1 course. C...
Affright asked 14/7, 2010 at 22:48
4
Solved
I want to use XPath to get a list of the names of all the elements that appear in an XML file. However, I don't want any names repeated, so an element with the same name as a preceding element shou...
3
Solved
I have an XML file that already contains a reference to an XSLT file.
I'm looking at converting this XML file, according to the referenced transformation rules, so that I can then create a nice PD...
Reddick asked 1/12, 2011 at 18:54
9
Solved
I have a Java servlet which generates XML, translates it with an XSLT stylesheet, and then displays the resulting HTML. This is the first time I've worked with XSLT. What's a good way to debug XSLT...
3
I would like to pass a parameter containing XML content when processing XSLT.
Here is my code:
import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.transform.Tr...
5
Solved
I have an XSLT for viewing XML files in the browser. The XSLT is naively written and currently takes a long time to execute (several minutes).
My XML file is of modest size (~1 MiB), and other XSL...
Exemplification asked 12/1, 2009 at 9:59
3
Solved
Why is using XML data to style HTML tags illegal? For example:
<li style="width:<xsl:value-of select="width"/>px">
Why can't I do this? Are there any alternative methods out there?
...
6
Solved
say, if there is a file that's call data.xml, and a file that is format.xsl (or is it format.xml ?), which is to transform the XML data and format it as well using CSS, then which browser can displ...
2
I'm having trouble with an XSL translation in Chrome. I was wondering if there any tools that would allow me to step through the style sheet to see where the problem is.
Schlessel asked 19/4, 2011 at 15:31
2
Solved
I have a scenario in which we need to increment 1 day in existing date. Like In <subscriptionDate>2015-05-06</subscriptionDate> I want to increase 1 day and map its value to <termina...
13
Solved
How can I insert
&nbsp;
Into an XSLT stylesheet, I keep getting this error:
XML Parsing Error: undefined entity
Essentially I want a non breaking space character in the XSLT Template....
Doelling asked 22/9, 2009 at 18:5
5
Solved
I'm reasonably new to xlst and am confused as to whether there is any way to store a value and change it later, for example incrementing a variable in a loop.
I'm a bit baffled by not being able ...
1
Solved
I keep getting this error. I'm doing a loop and calling my xslt.transform() method (see listing) about 3 times in a row. It bombs about 50% of the time trying to make it to the end of the loop.
My ...
9
Solved
I have a String and I need to convert the first letter of each word to upper case and rest to lower case using xsl, For example,
Input String= dInEsh sAchdeV kApil Muk
Desired Output String= Dine...
Cosmic asked 29/10, 2012 at 13:26
3
Solved
I am trying to do a page in different languages with xml/xsl. I want to have only one xml and one xsl. On my page Url I have a parameter pLanguage that I think I can use to look if I have selected ...
Endostosis asked 23/8, 2012 at 6:51
4
Solved
This works:
<xsl:when test="(price &gt;= 10)">
But this doesn't (the code inside the test doesn't execute and the following column is not rendered - for any row):
<xsl:when test="(...
6
Solved
So currently I'm doing some XML-> XSLT-> (HTML5/CSS3) work. Right now I have a menu.xml file, and I'd like to include it in either the XSL file or the XML page. I've done lots of searching, but I'm...
3
Solved
I have an XSLT file for styles in XML. The XSLT is accessible via a URL (http://someurl/somefile.xsl) without problems.
When I insert the same URL into an xml-stylesheet processing instruction, it...
6
Solved
I want to create this:
<a href="domain.com?=USERNAME">Login</a>
where USERNAME = in XML so the HTML output is specific to the user currently logged in. Can anyone advise?
I know I c...
Nitz asked 21/9, 2009 at 12:46
0
I have a code which I'm doing XslCompiledTransform as below:
var xslTransform = new XslCompiledTransform();
xslTransform.Load("File.xslt");
Throws Error (When Windows Server Upgraded to ...
4
I need to do an XSL transformation using Apache FOP and I had code like this:
//Setup FOP
Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, out);
//Setup Transformer
Source xsltSrc = new StreamS...
Caprifig asked 13/9, 2010 at 11:12
1
Solved
I have a dataframe like this:
col1
col2
col3
col4
col5
col6
col7
col8
col9
col10
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
and i want to create a...
5
Solved
I want to apply an XSLT Stylesheet to an XML Document using C# and write the output to a File.
3
Solved
I'm looking to get a custom attribute for anchor tag from xsl.
Is it possible to get the name of the attribute dynamically from xml?
Here is what I tried :
<xsl:attribute name="<xsl:value...
Fard asked 20/2, 2015 at 14:37
© 2022 - 2024 — McMap. All rights reserved.