Johnston wrote:
Andrew Chamberlain wrote:
Hi Luca/All,
Sorry. On further testing, we're still not getting through the full
tree fragment to Java.
I've adapted the java method to give details of what it receives:
public String addGML(org.w3c.dom.Node myNode
Hi Luca/All,
Sorry. On further testing, we're still not getting through the full
tree fragment to Java.
I've adapted the java method to give details of what it receives:
public String addGML(org.w3c.dom.Node myNode)
{
System.out.println(Class = +node.getClass().getName());
Hi All,
Simple question, I hope. How do I find out which version of XSLT I've
got? My version of Cocoon is: 2.1.10, if it's related to that.
Ultimately, I'd like to be using XSLT 2.0.
Thanks,
Andy
-
To unsubscribe,
/7/3 Andrew Chamberlain [EMAIL PROTECTED]:
Hi All,
Simple question, I hope. How do I find out which version of XSLT I've got?
Try using some XSLT 2-only features in a pipeline and see if you get a
stack trace instead? ;-)
My version of Cocoon is: 2.1.10, if it's
Hi Luca,
That was it! I changed the line which did the insert to:
xsl:variable name="result" select="myClass:addGML($gmlAdder,xalan:nodeset($gml)/gml:Polygon)"/
Many thanks for your help!
Andy
Luca Morandini wrote:
Andrew Chamberlain wrote:
Hi All,
I'm t
Hi All,
I'm trying to pass a tree fragment from XSLT to Java in the following
way, and I'm not sure if the node-set is getting through correctly. The
XML is:
gml:Polygon
...
/gml:Polygon
and the XSLT is:
xsl:stylesheet ... myClass=xalan://my.package.name.MyClass
...
On 2008/06/27 at 06:48, in message [EMAIL PROTECTED], "Betty Harvey" [EMAIL PROTECTED] wrote:
Try this for your xsl:copy:
xsl:copyxsl:apply-templates select="@* | node()" //xsl:copy
quote who="Andrew Chamberlain"
Hi All,
It's qu
Hi Andreas,
That's a good tip about passing the fragment as a Node instead of a
String. It didn't occur to me because I mistakenly thought that only
primitive-type variables could be passed from Cocoon to Java.
Thanks,
Andy
Andreas Hartmann wrote:
Andrew Chamberlain schrieb
Hi All,
It's quite possible that this is more XSLT-related than Cocoon itself,
but wasn't sure where else to post.
I'm using an XSL transformer and need to capture a tree fragment in the
value of variable ... including the tags themselves. The reason for
this is because I need to pass the
=1.1.0
...
have you remark that point ?
Sébastien.
Andrew Chamberlain a écrit :
Hi Warrell,
That's a useful tip. Looks like a good solution if we stay with 2.1.10.
I've got a couple of options now, so will take a look and make a call.
Many thanks for your help,
Andy
warrell harries wrote
Hi All,
Just wondering if anyone can help. As part of a service I'm
constructing, I need to send an XML request to an external service by
HTTP Post. For this, I'm looking at using the CInclude transformer, but
all the examples I can find seem to use a parameter to pass the data,
rather
(urlConn.getInputStream());
in.read(...);
I'll take a look at Cocoon 2.2 and Sbastien's query. Although
our project has been underway for a while, we've only been using the
XSLT and SQL transformers, so I'm hoping the differences won't be great.
Andy
Grzegorz Kossakowski wrote:
Andrew C
mechanism was possible, it would be ideal, but perhaps
it is in Cocoon 2.2...? I'll take a look.
Andy
Grzegorz Kossakowski wrote:
Andrew Chamberlain pisze:
Hi Grzegorz,
Thanks for your quick reply.
No problem.
I'm afraid I don't know the correct terminology. By &
contain the XML that you
want to send to your Service; the Transformer will send it and return
to the pipeline the response from the Service.
I hope this is what you were looking for.
On 29/08/2007, Andrew Chamberlain [EMAIL PROTECTED]
wrote:
Hi
All,
Just wondering if anyone can
14 matches
Mail list logo