: RE: Xalan extension functions
Kevin,
Your test case pointed me in a helpful direction. I'm still hitting a wall
trying to add a custom extension function, however the available java
functions may do it for me.
As a way of learning enough to apply java.lang.replaceAll(), I'm trying to
Original Message-
From: Kevin Cormier [mailto:[EMAIL PROTECTED]
Sent: Friday, May 11, 2007 4:10 PM
To: Wade, John F. (MSFC-NAS902099)[TBE]
Subject: RE: Xalan extension functions
Well, here's an example that I've actually tried and it works:
http://www.w3.org/1999/XSL/
@xml.apache.org
Subject: RE: Xalan extension functions
Oops, I meant to say that the namespace should be
xmlns:MT="xalan://ManipulateText", not
xmlns:MT="xalan://ManipulateText.ManipulateText"
ns
256-961-2410
-Original Message-
From: Kevin Cormier [mailto:[EMAIL PROTECTED]
Sent: Friday, May 11, 2007 3:16 PM
To: Wade, John F. (MSFC-NAS902099)[TBE]
Cc: xalan-j-users@xml.apache.org
Subject: RE: Xalan extension functions
Hi John,
Please refer to
http://xml.apache.org/xalan-j/ext
John F. Wade, PE
TBE
MSFC iPV Integration
CLV First Stage Flight Operations
256-961-2410
-Original Message-
From: Kevin Cormier [mailto:[EMAIL PROTECTED]
Sent: Friday, May 11, 2007 3:16 PM
To: Wade, John F. (MSFC-NAS902099)[TBE]
Cc: xalan-j-users@xml.apache.org
Subject: RE: Xalan extens
Subjec
Picking this conversation back up... I'm trying the abbreviated syntax
as several recommended. Still getting an error.
ManipulateText.java code is this-
import java.util.*;
public class ManipulateText
{
public char Unescape(char mydata)
{
return mydata;
}
}
Test stylesheet starts wi
[mailto:[EMAIL PROTECTED]
Sent: Wed 5/2/2007 1:50 PM
To: Wade, John F. (MSFC-NAS902099)[TBE]; 'Kevin Cormier'
Cc: xalan-j-users@xml.apache.org
Subject: RE: Xalan extension functions
This works . Try this it would work too in your code if everything else is
fine
http://www.w3.org/1999/XSL
, 2007 6:50 AM
To: Wade, John F. (MSFC-NAS902099)[TBE]; Kevin Cormier
Cc: xalan-j-users@xml.apache.org
Subject: RE: Xalan extension functions
It's not Monday anymore. Oh well.
Here's the test case java code. It does exactly nothing.
Import java.util.*;
public class MyTest
{
public M
xalan-j-users@xml.apache.org
Subject
.apache.org
Subject
Re: Xalan extensio
ent: Wednesday, May 02, 2007 8:50 AM
To: Wade, John F. (MSFC-NAS902099)[TBE]; Kevin Cormier
Cc: xalan-j-users@xml.apache.org
Subject: RE: Xalan extension functions
It's not Monday anymore. Oh well.
Here's the test case java
o/[EMAIL PROTECTED]
AM cc
Subject
.
But, we'll start with the stylesheet and JAVA code on Monday and go
from there.
Thanks.
JFW
From: Kevin Cormier [mailto:[EMAIL PROTECTED]
Sent: Fri 4/27/2007 3:11 PM
To: Wade, John F. (MSFC-NAS902099)[TBE]
Cc: xalan-j-users@xml.apache.org
Subject: Re: Xalan extension functions
Hi John,
last time I tried this, but one
thing at a time.
Suggestions?
*
John F. Wade, PE
MSFC EO20 - TBE
From: Wade, John F. (MSFC-NAS902099)[TBE] [mailto:[EMAIL PROTECTED]
Sent: Fri 4/27/2007 3:29 PM
To: Kevin Cormier
Cc: xala
on Monday and go
from there.
Thanks.
JFW
----
*From:* Kevin Cormier [mailto:[EMAIL PROTECTED]
*Sent:* Fri 4/27/2007 3:11 PM
*To:* Wade, John F. (MSFC-NAS902099)[TBE]
*Cc:* xalan-j-users@xml.apache.org
*Subject:* Re: Xala
ere.
Thanks.
JFW
From: Kevin Cormier [mailto:[EMAIL PROTECTED]
Sent: Fri 4/27/2007 3:11 PM
To: Wade, John F. (MSFC-NAS902099)[TBE]
Cc: xalan-j-users@xml.apache.org
Subject: Re: Xalan extension functions
Hi John,
All I can think of with the information you'
04/27/2007 02:52 Subject
PM Xala
As long as we're on the topic of XALAN extension functions, I too am looking
for some help. I've got an existing XALAN-J based system (I didn't create it)
that I'm trying to add on to. I want to create a simple extension function in
JAVA. The XALAN-J documentation says s
19 matches
Mail list logo