XSLT / Instance question

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

XSLT / Instance question

Martin Mohnhaupt
Hello All !

As we know, it is possible to access instances passed to a page from XSLT using the doc('input:instance')/.... syntax.
What is the (conceptual) reason not to be able to access input data (e.g generated by an xpl) with doc('input:data') ?

Kind regards,

Martin
--
Martin Mohnhaupt
Nice Data Systems
Rue de Lyon 42 - CH 1203 GENEVE
Tél: +41 (0) 22 344 11 39
Mob: +41 (0) 78 636 00 75
Email: [hidden email]
Web: http://www.nicedata.com
Skype: martin.mohnhaupt
Action Carbone: http://www.actioncarbone.org


--
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: XSLT / Instance question

Ryan Puddephatt
Martin,
    The reason is because using / will access the root of the data output :-)
 
Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


From: Martin Mohnhaupt [mailto:[hidden email]]
Sent: 18 January 2007 13:16
To: OPS Users
Subject: [ops-users] XSLT / Instance question

Hello All !

As we know, it is possible to access instances passed to a page from XSLT using the doc('input:instance')/.... syntax.
What is the (conceptual) reason not to be able to access input data (e.g generated by an xpl) with doc('input:data') ?

Kind regards,

Martin
--
Martin Mohnhaupt
Nice Data Systems
Rue de Lyon 42 - CH 1203 GENEVE
Tél: +41 (0) 22 344 11 39
Mob: +41 (0) 78 636 00 75
Email: [hidden email]
Web: http://www.nicedata.com
Skype: martin.mohnhaupt
Action Carbone: http://www.actioncarbone.org


--
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: XSLT / Instance question

Erik Bruchez
Administrator
In reply to this post by Martin Mohnhaupt
Martin,

> As we know, it is possible to access instances passed to a page from
> XSLT using the doc('input:instance')/.... syntax.
> What is the (conceptual) reason not to be able to access input data (e.g
> generated by an xpl) with doc('input:data') ?

It's not really a conceptual reason: it's more that the code do do this
hasn't been done yet.

This requires connecting a "data" input on the oxf:xforms-to-xhtml
processor in the epilogue. But that "data" must contain the output of
the page model, which is not yet available in the epilogue. So more
changes must be done before this is possible.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
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: XSLT / Instance question

Martin Mohnhaupt
Thanks for this answer, Erik !

Martin

Erik Bruchez wrote:
Martin,

As we know, it is possible to access instances passed to a page from XSLT using the doc('input:instance')/.... syntax.
What is the (conceptual) reason not to be able to access input data (e.g generated by an xpl) with doc('input:data') ?

It's not really a conceptual reason: it's more that the code do do this hasn't been done yet.

This requires connecting a "data" input on the oxf:xforms-to-xhtml processor in the epilogue. But that "data" must contain the output of the page model, which is not yet available in the epilogue. So more changes must be done before this is possible.

-Erik


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

-- 
Martin Mohnhaupt
Nice Data Systems
Rue de Lyon 42 - CH 1203 GENEVE
Tél: +41 (0) 22 344 11 39
Mob: +41 (0) 78 636 00 75
Email: [hidden email]
Web: http://www.nicedata.com
Skype: martin.mohnhaupt
Action Carbone: http://www.actioncarbone.org


--
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