I have a requirement to load the metadata dynamically to the XMLInput stage and process further with some custom filters (which I can pass as a parameter to the job) to filter out XML data and also some level of dynamic transformation using XSLT.
Please help.
XMLInput stage and RCP
Moderators: chulett, rschirm, roy
hmm. Good question (RCP)....not sure if the XML Stages support it, or if it even makes sense for them to do so...their architecture is so different, as they use dynamically generated xslt under the covers. Best bet is to probably use the ability to pass your own xslt "on the fly" to the job via Job Parameter, or I think you might also be able to pass it as a column value. Been a long time since I've done any custom xslt in the Stage, but I'll look around for a Job.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
-
- Charter Member
- Posts: 299
- Joined: Wed Nov 13, 2002 5:38 pm
- Location: USA
I could not get this to work because I could not squish the xpath into the description of any column within a schema file. I believe that IF THAT could be done then you might be able to fix up some kind of RCP. Big if. I believed at the time and still believe your best bet would be some kind of custom XSLT. That seems to me to be too much work for too little reward.
I also seem to recall you'll have some problems with the XMLInput Stage not having any output columns. In short the XMLInput stage is simply not RCP capable.
I also seem to recall you'll have some problems with the XMLInput Stage not having any output columns. In short the XMLInput stage is simply not RCP capable.
I kind of fall into this camp.eostic wrote:not sure if the XML Stages support it, or if it even makes sense for them to do so...
And this one.throbinson wrote:still believe your best bet would be some kind of custom XSLT. That seems to me to be too much work for too little reward.
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers