Parsing of XPDL

View: New views
2 Messages — Rating Filter:   Alert me  

Parsing of XPDL

by sav :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello
     I am using the JawE API to prase a XPDL file.
1) I Use the org.enhydra.shark.xpdl.XMLInterfaceForJDK13.parseDocument() method to get a Package.
2) Teh package seems to be having methods to get a List of Activities, Transitions
3) However I am not able to figure out how to get access to some of the elements of the XPDL  such as
     a) The <NodeGraphicsInfos> element for a <Activity>
       b) The <Expression> Element for a  <Condition> for a Transition

Am I missing something here

Any help is greatly appreciated

thanks
- Ani

Re: Parsing of XPDL

by Sasa Bojanic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

JaWE's XPDL model does not cover XPDL2.0.

It covers all XPDL1.0 model except the thing you've mentioned - the
Expression element of <Condition> for a Transition, and having Package
element you can easily browse to any sub-element.

Regards,
Sasa.

sav wrote:

> Hello
>      I am using the JawE API to prase a XPDL file.
> 1) I Use the org.enhydra.shark.xpdl.XMLInterfaceForJDK13.parseDocument()
> method to get a Package.
> 2) Teh package seems to be having methods to get a List of Activities,
> Transitions
> 3) However I am not able to figure out how to get access to some of the
> elements of the XPDL  such as
>      a) The <NodeGraphicsInfos> element for a <Activity>
>        b) The <Expression> Element for a  <Condition> for a Transition
>
> Am I missing something here
>
> Any help is greatly appreciated
>
> thanks
> - Ani
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the jawe@... mailing list.
> To unsubscribe: mailto:jawe-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  



--
You receive this message as a subscriber of the jawe@... mailing list.
To unsubscribe: mailto:jawe-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws