-
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 in ServingXML
-
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 in ServingXML
-
danielaparker made 3 file-release changes.
2009-11-05 02:30:01 UTC in ServingXML
-
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 in ServingXML
-
Apologies for the delay, I'll find some time this week to look at this.
-- Daniel.
2009-11-02 05:41:10 UTC in ServingXML
-
This is a feature of Oracle, Oracle internally uses upper case SQL identifiers, and converts lower case to upper case (if not quoted.) That's why ServingXML gets the column names capitalized. You should be able to double quote aliases to preserve case, e.g. use
SELECT c.customerid AS "ccustomerid"
which should allow
<sx:fieldElementMap field="ccustomerid"...
2009-11-02 05:39:22 UTC in ServingXML
-
Hello Saurabh,
Answers to these questions are now in the FAQ, accessible from the home page, http://servingxml.sourceforge.net/. See answers 4, 6 and 7 in the "ServingXML Embedding" section. Note that you'll need to download ServingXML 1.1.1b to pass a resources script as a string, wrapped in a Reader, when creating an IocContainer.
-- Daniel.
2009-11-02 05:22:23 UTC in ServingXML
-
danielaparker made 1 file-release changes.
2009-11-02 05:06:01 UTC in ServingXML
-
For record.toXmlString, you can pass context.getAppContext().getResources().getQnameContext().getPrefixMap().
In 1.1.1a, I've added a constructor for FlowImpl that takes a prefixMap instead of Environment as a first argument, so you can use that. Or alternatively (and preferred) you can use the replaceRecord method on the original flow to create a new flow with a new record (and without...
2009-09-24 01:49:00 UTC in ServingXML
-
danielaparker made 1 file-release changes.
2009-09-24 01:27:01 UTC in ServingXML