» Home » xslt » Page 1
Java, XSLT: How to handle the dynamic namespaces generated by Axis in XSLT
Category : 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

View Replies

Refactor XSLT Java Extension Class Package without Affecting XSLT
Category : 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.

View Replies

How to trigger XML (XSLT) transformation by using C# code ? How to pass parameters (“param”s) to XSLT?
Category : 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

View Replies

Calling xslt templates on elements generated inside the xslt
Category : 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

View Replies

Question on XPATH for an XSLT File And XSLT If Statement
Category : 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

View Replies

How to insert text with XSLT v1.0 instead of using an XSLT v2.0 regex?
Category : 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

View Replies

crome fail use import xslt from another xslt
Category : 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.

View Replies

group width on xslt elements (xslt 1.0)
Category : 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">
View Replies

Load xslt file from jar loads jar itself instead xslt
Category : 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

View Replies

I18n for XSLT (or what is the gettext() and xgettext of C++ for XSLT)?
Category : 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

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .