Question Locked

Does anyone have any XSLT knowledge?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone have any XSLT knowledge?

Need help with an XSLT style sheet. Below is a copy of the style sheet and the XML document respectively. The first sections of the style sheet works fine but the section that has the ?? element is not working at all. This section is suppose to loop and select all the child elements for each ?operation? element, but instead that entire section is being ignored and no transformation is happening.

I am using an XML software I downloaded from the internet call the Exchanger to aid me in the transformation. It is not giving me any errors so I am not sure what I am doing wrong.

XSLT Style Sheet:

The following error has occurred on Process ID

BP Event Details

==============================================================================

EVENT type:

WF_ID:

WF status:

WorkFlow:

WF State:

WF State String:

==============================================================================

Workflow Details

==============================================================================

End Time:

Process ID:

BP Name :

Start Time:

State:

Status:

==============================================================================

Operations Details

==============================================================================

WFC ID:

Service Name:

Service Parm Version:

Sub Process:

Basic Status:

Advance Status:

Start Time:

End Time:

Status Report

Document:

XML File:
150787321com.woodstock.workflow.WorkFlow@80d8121COMPLETEprod:7a84e4:11df2b24bdb:-7d34FileSystemAdapter0NoneSuccess2008-12-01 08:18:31.0672008-12-01 08:18:31.067prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7b7cTimestamp Utility Service0NoneSuccess2008-12-01 08:18:31.162008-12-01 08:18:31.177Action: format

The format string is yyyyMMddHHmm.
The input time stamp in milliseconds is 1228137511161.
The input time stamp after formatted is 200812010818.prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7b69Assign Service0NoneSuccess2008-12-01 08:18:31.1772008-12-01 08:18:31.177prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7b3bAssign Service0NoneSuccess2008-12-01 08:18:31.1932008-12-01 08:18:31.193prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7b12Assign Service0NoneSuccess2008-12-01 08:18:31.1932008-12-01 08:18:31.207prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7adbAssign Service0NoneSuccess2008-12-01 08:18:31.2232008-12-01 08:18:31.223prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7a1bPROD_FSA3NoneErrorjava.io.IOException: Cannot create directory C:\PROD\ARCHIVE\OUT\8562008-12-01 08:18:31.242008-12-01 08:18:31.317prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7a0aDecision Engine Service0NoneSuccess92008-12-01 08:18:31.3172008-12-01 08:18:31.317prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-79f6Assign Service0NoneSuccess2008-12-01 08:18:31.3332008-12-01 08:18:31.333prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-79dbSystem Invoke Business Process Service0NoneSuccessInline Begin PROD_Email_Error2008-12-01 08:18:31.352008-12-01 08:18:31.507prod:7a84e4:11df2b24bdb:-79e1This Service0NoneSuccess2008-12-01 08:18:31.5372008-12-01 08:18:31.537prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-794aAssign Service0NoneSuccess2008-12-01 08:18:31.5672008-12-01 08:18:31.567prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-7925Assign Service0NoneSuccess2008-12-01 08:18:31.5832008-12-01 08:18:31.583prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-790dAssign Service0NoneSuccess2008-12-01 08:18:31.5832008-12-01 08:18:31.583prod:7a84e4:11df2b24bdb:-7d36prod:7a84e4:11df2b24bdb:-78f4XML Encoder Service0NoneSuccess2008-12-01 08:18:31.62008-12-01 08:18:31.6prod:7a84e4:11df2b24bdb:-78f0prod:7a84e4:11df2b24bdb:-78d1XSLT Service0NoneSuccess2008-12-01 08:18:31.632008-12-01 08:18:31.63prod:7a84e4:11df2b24bdb:-78cdprod:7a84e4:11df2b24bdb:-78baSMTP Send Adapter0NoneSuccess2008-12-01 08:18:31.6472008-12-01 08:18:32.113prod:7a84e4:11df2b24bdb:-7856prod:7a84e4:11df2b24bdb:-7815System Invoke Business Process Service0NoneSuccessInline End2008-12-01 08:18:31.6472008-12-01 08:18:32.113

4 replies

by tony hopkinson

/Operations/Operation
is looking from document root. So it's working there just aren't any.

I suspect if you just drop the initial / it will work, can't say exactly because your xml fragment doesn't appear to be properly formed. opening workflow tag looks missing.

by jutpro

Thank you very much, Tony. I appreciate your help.

This discussion is closed to new replies.