I'm trying to use the XSLTProcessor class in php to generate xhtml from a .dita file based on the DITA Open Toolkit's xslt files.
The XSLTProcessor is working with simple xml and xslt files (e.g. with the samples on wikipedia), but it fails with the Open Toolkit's xsls.
The intresting part is that everything works well, if I use xsltpr...
I am using MSXML 6.0 to perform a transform of my own XML into another XML format. I am not sure if I maybe just don't understand exactly how MSXML works, but I believe I have noticed some strange behaviour with it....
I am adding in the namespaces to my XML doc using the setProperty method e.g.
XmlDocument.setProperty('SelectionNamesp...
I'm using the row edit template below. The problem I have is that the current value is not selected when the row edit XSL template is used. The value defaults to the first item in the list. What is the best way to get the current value to be the selected item in the template below? I thought having DataValueField="{@type}" and DataTe...
I have a xml file which I want to transform in a jsf code page. To do that I've created a xsl file.
xml:
<?xml version='1.0' encoding='ISO-8859-1'?>
<questionario xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='Schema2.xsd'>
<componente nome='input'>
<id>input1</id>
</...
I'm debugging a transform with Visual Studio. The application that uses the transform normally also passes in some parameters:
XslTransform xslTransform = new XslTransform();
xslTransform.Load(myXslt);
XsltArgumentList transformArgumentList = new XsltArgumentList();
transformArgumentList.AddParam(paramName1, String.Empty, paramValue1); ...
After some quick Googling, I found that there are some XML libraries available for v8/Node.js: http://github.com/ry/node/wiki/modules#parsers-xml
However, after drilling down into these modules, it seems that they only provide support for parsing XML documents, and manipulating them with DOM. I'm wondering if anyone is aware of an XSLT ...
Dear fellow go enthusiasts,
I would need xslt support in a go program.
As far as I know there will be no xslt library in the the near future
and currently there is no binding to a xslt library in go.
What is the FASTEST library on linux or cross platform to do
1) xslt 1.0 transformation
2) xslt 2.0 transformation
...
This is a very irritating bug/behaviour in Visual Studio. I am hoping that someone can tell me how to fix it or what we are doing wrong.
The scenario is that we have a program that runs some XSLT over some XML (see code below). There is nothing particularly strange about the code as far as I can tell. This code is run on a new Thread...
Hi,
In my XSLT file. I use the document() function
<xsl:variable name="Publicity" select="document('./publicity.xml')" />
and that works but if I try to link a PHP script that generate the XML dynamically,
<xsl:variable name="Publicity" select="document('./publicity.php')" />
I get a
Warning: XSLTProcessor::transformToXml() [xsl...
Hey, I got a static page which uses an XSLT stylesheet and pulls in the overall menu from a separate menu.xml.
Usually, the menu wont change, neither will the stylesheet. However, at some point they may, because the content is modified.
In any case, the auxiliary styling files are not reloaded when you reload the main page.
Essentially...
Hi,
I've created a XML data document and an XSLT stylesheet, and I want to output an HTML document based on the two. My stylesheet has the tag, and my XML document has the processor instuction (along with various "xsl:value-of" references). My question is, what are the actual "mechanics" of getting the XSLT processor (which, I understa...
I'm using Visual Studio to debug a transform. If I am viewing the transform and select XML > Start XSLT Debugging, VS automatically opens the output file and as I step through the transform I can observe the output being written.
In my case however, because the transform is performed by an application that first sets some parameters, I...
Hello,
I work on an xslt stylesheet, and I should receive as parameter two additional XML. I get an error when I use the node-set() method (from namespace ms, microsoft). The contents of the XML is correct. The parameters are send with classic ASP.
Here's the header and the call in xslt:
<?xml version="1.0" encoding="utf-8"?>
<xsl:styl...
Hi All
I'm trying to combine the official jQuery accordion plugin with another JQ plugin called 'GallerificPlus' (Gallerific & Lightbox in 1).
Unfortunately it doesn't work for me. The GallerificPlus is the one that doesn't work, the accordion works fine. Firebug reports no errors, so this could be anything. It's really frustrating.
...
My requirement is to update an XML file (some elements identified via a parameter, with new attribute values again identified via a paramenter).
I am using XSLT to do the same via C# code.
My code is as below:
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load(f_Xslt);
XmlReader xr = XmlReader.Create("SourceXML.xml")...
Im new to the XSLT world, I am basically trying to run the JSON convertion from HERE
However if I use this method:
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new StreamSource("src\\json\\xml-to-json.xsl"));
transformer.transform(new StreamSource("src...
Hi,
I have the following XSL which defines a namespace for my Java Class. In a nutshell I'm trying to point to a different resource bundle depending upon a value in my XML file (I know Resource Bundles are really for internationalization but why re-create the wheel?):
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/...
I get some data from a WebService, which looks like this
Building
Address
-> Office
Name
CreationDate
-> Worker
Name
HiringDate
Before doing further processing and transforms on this message, I need to sort the sub-nodes ("Office" and "Worker") so that all Offices are s...
Recently I ran some tests on xslt transformations with Saxon. My main focus was file encoding and character sets. But I was interested also in impact of different Saxon versions and Java VM x86 vs. x64. The insights are not spectacular still I'd like to share them and ask for comments.
On xml file encoding:
In general, you have to disti...