XML Input Stage and XSL

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Salegueule
Participant
Posts: 35
Joined: Fri May 21, 2004 4:22 pm

XML Input Stage and XSL

Post by Salegueule »

Does anybody has any success in using a stylesheet with the XML Input Stage?

I am trying to get the stage to use a simple stylesheet but get full of warnings such as:

XSLT Processor: Unknown element on the output. Element Name = "CustomerName"


When I am removing the stylesheet reference my job is working fine. I am declaring my stylesheet code straight within the text box in the Advanced tab. I have not try the URL/File path option.

Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I've done it - but you can't just supply your own XSLT. You need to read the XML PACK Designer Guide pdf, specifically the sections on this subject in the Advanced Transformations chapter.

Basically, you need to access the one the stage generates and then modify that. Or is that what you are doing?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply