-
You can't read fields right to left, but you can read the entire line as a single field, and use the XSLT fn:ends-with function to test the end of the line. So, add the prefix declaration
xmlns:fn="http://www.w3.org/2005/xpath-functions"
in the sx:resources element, and use something like
2009-11-10 06:07:50 UTC by danielaparker
-
You don't need validators for that. You can do that inside an sx:choose, e.g.
You can use sx:choose wherever an sx:recordFilter is allowed.
-- Daniel.
2009-11-10 05:26:58 UTC by danielaparker
-
I'm playing with validators.
I need to have a different behaviour on some fields. Not throw an exception (discarding the record), but simply change to null the value of the field when input value doesn't match the pattern. How can I do this?
Thanks
Alberto.
2009-11-09 15:34:56 UTC by abrosich
-
First of all let me say that servingxml is a great great tool!
I have a csv file with multiple types of records and the field that
discriminate the type of record is the last one(!).
Is there a simple way to obtain it without rearrange the input file?
Sorry if it is a silly question; I read the documentation but I didn't
find an answer.
thanks in advance
Alberto.
2009-11-09 15:28:24 UTC by abrosich
-
Hi Daniel,
I tried to use version 1.1.1b and it works. Thks again. :)
2009-11-05 07:19:06 UTC by chongthausyn
-
danielaparker made 3 file-release changes.
2009-11-05 02:30:01 UTC by danielaparker
-
Hi Daniel,
Thks for ur reply. I will try it tomorrow when I get to office. I'm currently using version 1.1.1. At first I thought this is the latest version. Haha. The download page is a bit misleading. I guess I can use the latest version, 1.1.1b as well right? Anyway, thank you very much. :)
2009-11-04 15:27:10 UTC by chongthausyn
-
Which version of ServingXML are you using? (run servingxml -verision)
1.1.1 had an issue, which was fixed in 1.1.1a
-- Daniel.
2009-11-04 13:05:31 UTC by danielaparker
-
Hi all,
The full error msg is 'com.servingxml.util.system.DefaultLogger error SEVERE: Error in element sx:sqlConnectionPool. Creation of JDBC Connection Pool failed. No suitable driver found for jdbc:oracle:thin:@kl-lx-oracle4:1521:kl41'.
The resource script is shown below:
<?xml version="1.0"?>
<sx:resources xmlns:sx="http://www.servingxml.com/core">.
2009-11-04 10:36:49 UTC by chongthausyn
-
Hi all,
I cannot run the sql to xml format. It gives error msg 'com.servingxml.util.system.DefaultLogger error SEVERE: Error in element sx:sqlConnectionPool. Creation of JDBC Connection Pool failed. No suitable driver found for jdbc.......
I already copy in the classes12.jar file and rebuild. Thks in advance. :)
2009-11-04 07:04:15 UTC by chongthausyn