» Home » XSLT » Page 1
Java, XSLT: How to handle the dynamic namespaces generated by Axis in XSLT
by Dandor in Programming Languages

I have an application that calls a web service (axis based) to get a response in the following format:

<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<axis2ns394:ServiceLevelDetailsResponse xmlns:axis2ns394="urn:myco:com:mapping:service:3.0">
<ns1:errorFlag xmlns:ns1="urn

Refactor XSLT Java Extension Class Package without Affecting XSLT
by Gold in Java

I have a number of XSLT templates that use static Java classes as XSLT Extensions to provide additional functionality. I need to refactor some of these extension classes which requires a change to the package name. Is it possible to do this somehow without changing the extension definition in the XSLT document itself? Other applications are still using these templates so they cannot be changed.

How to trigger XML (XSLT) transformation by using C# code ? How to pass parameters (“param”s) to XSLT?
by maniacalpha1-1 in C & C++ & C#

This is the question I posted :

Hi, I have an XSLT code which needs to take parameters (say one or two) from C# code .. (If you want to know, why I need to do this, then let me explain, I have to parse an input XML from certain external application, however I need to edit data of some tags taking the values of some other application which could be defined in complex C# code, I don't

Calling xslt templates on elements generated inside the xslt
by Greenman in Programming Languages

So I'm using the identity design pattern for XSLT:

<xsl:template match="@*|node()">
<xsl:apply-templates select="@*|node()[not(@visible='false')]"/>

And I do have many templates matching different nodes. Now what I want to do is generate some code inside one xsl:t

Question on XPATH for an XSLT File And XSLT If Statement
by Paul in Programming Languages

I have the following xml file

<Drive driveVolume="/u" Group="sa" Owner="sa" totalSpace="4" />
<Drive driveVolume="/u" Group="sa" Owner="sa" totalSpace="16" />
<Drive driveVolume="/u" Group="sa" Owner="sa" totalSpace="510" />
<Drive driveVolume="/u" Group="sa" Owner="sa" />
<Drive driveVolume="/u" Group="sa" O

Load xslt file from jar loads jar itself instead xslt
by zac in Web Design

I have a xslt file on classpath inside jar file. I have tried to load xslt file using InputStream. Some how after debug, InputStream contains jar file instead xslt file.

String xslPath = "/com/japi/application/templates/foo.xslt";
InputStream is = getClass().getResourceAsStream(xslPath);
Source xslt = new StreamSource(is);
trans = factory.newTransformer(xs

How to insert text with XSLT v1.0 instead of using an XSLT v2.0 regex?
by liganic in Programming Languages

I have an xml file which describes (among other things) elements with attribute values that describe fully qualified java class names. I am trying to write an XSLT transformation to modify the class names described in this file, such that (for example) ocurrances of com.example.MyClass will become com.example.MockMyClass.

Here's that example again in the co

group width on xslt elements (xslt 1.0)
by Minh Nguyen in Programming Languages


<?xml version="1.0" encoding="utf-8" ?>
<Styles Name="default">
<Style Url="/css.css" Browser="default" Version="default"/>
<element type="Digillect.WB.Web.Elements.Site.SiteStructureElement">
I18n for XSLT (or what is the gettext() and xgettext of C++ for XSLT)?
by Tmf in C & C++ & C#

Complete C++ i18n gettext() “hello world” example shows a standard way to handle messages in a C++ program using gettext(). The message catalogs are stored in Portable Object files based upon a Portable Object Template file created directly from the C++ source code using xgettext, msginit and msgfmt. What is the corresponding method for handling messages by XSLT?

Specifically, t

crome fail use import xslt from another xslt
by pulkizine in Development Tools & Services

I am trying to import xslt from another xslt using import as bellow
.This is working fine in firefox and IE but not working in crome.

Any one have solution for this ?

Thanks in advance.

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .