use of delegation processor

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

use of delegation processor

Alex Sharaz

Hi,

 

I’m using the delegation processor to get hold of the ooutput of a java bean I write a while ago.

 

The bean generates the following text string:-

 

<buildings><location>24Hour Cluster</location><location>AS office</location><location>Administration Building</location><location>Applied Science 2</location><location>Backbone</location><location>CC Floor</location><location>CC Wireless</location><location>CC technical</location><location>CC test</location><location>CRoom</location><location>Castle Hill</location><location>Chemistry Building</location><location>Cohen Building</location><location>Computer Centre</location><location>Computer Science</location><location>Cottingham Road</location><location>Dearne Building</location><location>Dennison Centre</location><location>Derwent Building</location> <location>Downs Hall</location><location>Education Centre</location><location>Esk Building</location><location>Fenner Building</location><location>Ferens Building</location><location>Ferens Hall</location><location>Fortinet</location><location>Foss Building</location><location>GRI Centre</location><location>Grant Hall</location><location>Gulbenkian Centre</location><location>Halls Wardens</location><location>Hardy Building</location><location>Hertford Building</location><location>Hubs Link1</location><location>JRS vlan</location><location>Lambert Hall</location><location>Larkin Building</location><location>Lawns Centre</location><location>Leven Building</location> <location>Library Building</location><location>Loten Building</location><location>MRI Centre</location><location>Middleton Hall</location><location>Milner Hall</location><location>Morgan Hall</location><location>Murdoch Hall West Campus</location><location>Needler Hall</location><location>Network equipment</location><location>Network kit</location><location>Newlands Science Park</location><location>Nicholson Hall</location><location>Nidd Building</location><location>Old Backbone</location><location>Reckitt Hall</location><location>Ryton Building</location><location>Salmon Grove</location><location>Scarborough</location><location>Skell Building</location><location>Skidby House</location> <location>Sports Centre</location><location>Staff House</location><location>Student Union</location><location>Surface Engineering</location><location>Taylor Court Dot1x</location><location>Taylor Court Halls</location><location>Taylor Court2</location><location>Thwaite Hall</location><location>Washburn Building</location><location>Wharfe Building</location><location>Wilberforce Building</location><location>Wireless Guest</location><location>Wolfson Building</location><location>temporary</location></buildings>

 

When using the instance manager (wonderful tool, just what I needed) the above is represented as the (text) contents of node

 

<result xmlns:delegation="http://orbeon.org/oxf/xml/delegation" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:p="http://www.orbeon.com/oxf/pipeline">

 

, which is not what I want. What else do I have to do to ensure that the above gets parsed to become part of the instance?

 

Alex

 


*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: use of delegation processor

Alessandro Vernet
Administrator
Alex,

I think you want to look at the saxon:parse() function, which you can
use from your XSLT stylesheets or from XPath expressions in XForms.

http://www.saxonica.com/documentation/extensions/functions/parse.html

Since you are calling the Delegation processor from a pipeline, I
imagine you can insert a call to the XSLT processor that parses that
content using saxon:parse().

Alex

On 3/7/07, Alex Sharaz <[hidden email]> wrote:

>
>
>
>
> Hi,
>
>
>
> I'm using the delegation processor to get hold of the ooutput of a java bean
> I write a while ago.
>
>
>
> The bean generates the following text string:-
>
>
>
> <buildings><location>24Hour Cluster</location><location>AS
> office</location><location>Administration
> Building</location><location>Applied Science
> 2</location><location>Backbone</location><location>CC
> Floor</location><location>CC Wireless</location><location>CC
> technical</location><location>CC
> test</location><location>CRoom</location><location>Castle
> Hill</location><location>Chemistry
> Building</location><location>Cohen
> Building</location><location>Computer
> Centre</location><location>Computer
> Science</location><location>Cottingham
> Road</location><location>Dearne
> Building</location><location>Dennison
> Centre</location><location>Derwent Building</location>
> <location>Downs Hall</location><location>Education
> Centre</location><location>Esk
> Building</location><location>Fenner
> Building</location><location>Ferens
> Building</location><location>Ferens
> Hall</location><location>Fortinet</location><location>Foss
> Building</location><location>GRI
> Centre</location><location>Grant
> Hall</location><location>Gulbenkian
> Centre</location><location>Halls
> Wardens</location><location>Hardy
> Building</location><location>Hertford
> Building</location><location>Hubs
> Link1</location><location>JRS
> vlan</location><location>Lambert
> Hall</location><location>Larkin
> Building</location><location>Lawns
> Centre</location><location>Leven Building</location>
> <location>Library Building</location><location>Loten
> Building</location><location>MRI
> Centre</location><location>Middleton
> Hall</location><location>Milner Hall</location><location>Morgan
> Hall</location><location>Murdoch Hall West
> Campus</location><location>Needler
> Hall</location><location>Network
> equipment</location><location>Network
> kit</location><location>Newlands Science
> Park</location><location>Nicholson
> Hall</location><location>Nidd
> Building</location><location>Old
> Backbone</location><location>Reckitt
> Hall</location><location>Ryton
> Building</location><location>Salmon
> Grove</location><location>Scarborough</location><location>Skell
> Building</location><location>Skidby House</location>
> <location>Sports Centre</location><location>Staff
> House</location><location>Student
> Union</location><location>Surface
> Engineering</location><location>Taylor Court
> Dot1x</location><location>Taylor Court
> Halls</location><location>Taylor
> Court2</location><location>Thwaite
> Hall</location><location>Washburn
> Building</location><location>Wharfe
> Building</location><location>Wilberforce
> Building</location><location>Wireless
> Guest</location><location>Wolfson
> Building</location><location>temporary</location></buildings>
>
>
>
> When using the instance manager (wonderful tool, just what I needed) the
> above is represented as the (text) contents of node
>
>
>
> <result
> xmlns:delegation="http://orbeon.org/oxf/xml/delegation"
> xmlns:oxf="http://www.orbeon.com/oxf/processors"
> xmlns:p="http://www.orbeon.com/oxf/pipeline">
>
>
>
> , which is not what I want. What else do I have to do to ensure that the
> above gets parsed to become part of the instance?
>
>
>
> Alex
>
>
> *****************************************************************************************
> To view the terms under which this email is distributed, please go to
> http://www.hull.ac.uk/legal/email_disclaimer.html
> *****************************************************************************************
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: use of delegation processor

Alex Sharaz
o.k. that's good I'll have a play today
alex

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Alessandro Vernet
Sent: 07 March 2007 23:49
To: [hidden email]
Subject: Re: [ops-users] use of delegation processor

Alex,

I think you want to look at the saxon:parse() function, which you can
use from your XSLT stylesheets or from XPath expressions in XForms.

http://www.saxonica.com/documentation/extensions/functions/parse.html

Since you are calling the Delegation processor from a pipeline, I
imagine you can insert a call to the XSLT processor that parses that
content using saxon:parse().

Alex

On 3/7/07, Alex Sharaz <[hidden email]> wrote:

>
>
>
>
> Hi,
>
>
>
> I'm using the delegation processor to get hold of the ooutput of a
> java bean I write a while ago.
>
>
>
> The bean generates the following text string:-
>
>
>
> <buildings><location>24Hour Cluster</location><location>AS
> office</location><location>Administration
> Building</location><location>Applied Science
> 2</location><location>Backbone</location><location>CC
> Floor</location><location>CC Wireless</location><location>CC
> technical</location><location>CC
> test</location><location>CRoom</location><location>Castle
> Hill</location><location>Chemistry
> Building</location><location>Cohen
> Building</location><location>Computer
> Centre</location><location>Computer
> Science</location><location>Cottingham
> Road</location><location>Dearne
> Building</location><location>Dennison
> Centre</location><location>Derwent Building</location> <location>Downs

> Hall</location><location>Education
> Centre</location><location>Esk
> Building</location><location>Fenner
> Building</location><location>Ferens
> Building</location><location>Ferens
> Hall</location><location>Fortinet</location><location>Foss
> Building</location><location>GRI
> Centre</location><location>Grant
> Hall</location><location>Gulbenkian
> Centre</location><location>Halls
> Wardens</location><location>Hardy
> Building</location><location>Hertford
> Building</location><location>Hubs
> Link1</location><location>JRS
> vlan</location><location>Lambert
> Hall</location><location>Larkin
> Building</location><location>Lawns
> Centre</location><location>Leven Building</location> <location>Library

> Building</location><location>Loten
> Building</location><location>MRI
> Centre</location><location>Middleton
> Hall</location><location>Milner Hall</location><location>Morgan
> Hall</location><location>Murdoch Hall West
> Campus</location><location>Needler
> Hall</location><location>Network
> equipment</location><location>Network
> kit</location><location>Newlands Science
> Park</location><location>Nicholson
> Hall</location><location>Nidd
> Building</location><location>Old
> Backbone</location><location>Reckitt
> Hall</location><location>Ryton
> Building</location><location>Salmon
> Grove</location><location>Scarborough</location><location>Skell
> Building</location><location>Skidby House</location> <location>Sports
> Centre</location><location>Staff House</location><location>Student
> Union</location><location>Surface
> Engineering</location><location>Taylor Court
> Dot1x</location><location>Taylor Court
> Halls</location><location>Taylor Court2</location><location>Thwaite
> Hall</location><location>Washburn
> Building</location><location>Wharfe
> Building</location><location>Wilberforce
> Building</location><location>Wireless
> Guest</location><location>Wolfson
> Building</location><location>temporary</location></buildings>
>
>
>
> When using the instance manager (wonderful tool, just what I needed)
> the above is represented as the (text) contents of node
>
>
>
> <result
> xmlns:delegation="http://orbeon.org/oxf/xml/delegation"
> xmlns:oxf="http://www.orbeon.com/oxf/processors"
> xmlns:p="http://www.orbeon.com/oxf/pipeline">
>
>
>
> , which is not what I want. What else do I have to do to ensure that
> the above gets parsed to become part of the instance?
>
>
>
> Alex
>
>
> **********************************************************************
> ******************* To view the terms under which this email is
> distributed, please go to
> http://www.hull.ac.uk/legal/email_disclaimer.html
> **********************************************************************
> *******************
>
> --
> You receive this message as a subscriber of the
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise http://www.orbeon.com/

*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************

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