[jira] Commented: (XALANJ-1810) last() breaks nodeset position

2004-09-29 Thread xalan-dev
The following comment has been added to this issue: Author: Scott Schram Created: Wed, 29 Sep 2004 6:27 PM Body: If you assign the union selection to a variable, then pass the variable to apply templates, it seems to be a work-around: In the above example, instead of: This lik

Re: What's the correct way to output an element to the result tree from within the code of an extension element

2004-09-29 Thread John Gentilin
Joe, Is this what you are looking for, see code below. I have been using the code to create content in both the output tree and in variables. Although I have found that not all XSL elements are created equal. i.e. If I use this code to output content into the ResultTree or a Parameter it will w

Re: What's the correct way to output an element to the result tree from within the code of an extension element

2004-09-29 Thread Peter Lerche
Hi Joe, Thanks for your reply. However I just don't get it. If I make my function return type "String" a string will be placed in the result tree. If the function return type is Node or DocumentFargment it returns nothing. Calling myFunction in the xsl template should result in swapping the

Re: What's the correct way to output an element to the result tree from within the code of an extension element

2004-09-29 Thread Joseph Kesselman
I believe the answer was, and is, that extension elements can't return content yet. Extension _functions_ can. See the docs for information about what kinds of values will be interpreted as Xalan node-sets when returned by an extension function's implementation. http://xml.apache.org/xalan-j/

What's the correct way to output an element to the result tree from within the code of an extension element

2004-09-29 Thread Peter Lerche
Hi, I was looking through mailing-lists trying to find an answer. However I found a question (posted in 2001) which addressed my problem but no answer. Therefore I am quoting the original question hoping somebody has the answer. -QUOTE- What's the correct way to output an element to the result

Re: Why does copy transform take so long?

2004-09-29 Thread Edward L. Knoll
I went through the Xalan-J SAX examples and I was looking for a ContentManager or XMLFilter example which might show this, but I didn't come across anything. Do you know of a 'SAX "tee" fitting' implementation/example we could leverage? Joseph Kesselman wrote: Xalan should be noticably more e

[jira] Commented: (XALANJ-1974) Doubles newline character

2004-09-29 Thread xalan-dev
The following comment has been added to this issue: Author: Brian Minchau Created: Wed, 29 Sep 2004 7:37 AM Body: Vaibhav, please attach two files to this bug so that we can reproduce your problem. We need your stylesheet and your input XML. Thanks. -

Re: [VOTE] proposed Xalan PMC list

2004-09-29 Thread Berin Lautenbach
+1 And a huge thanks to Brian for putting in a bucket-load of effort on all of this! Cheers, Berin Brian Minchau wrote: Hello Xalan developers, please vote on an updated PMC list. The ASF board meeting last week ran out of time before they got to address the proposal to make Xalan a top-

[jira] Created: (XALANJ-1974) Doubles newline character

2004-09-29 Thread xalan-dev
Message: A new issue has been created in JIRA. - View the issue: http://issues.apache.org/jira/browse/XALANJ-1974 Here is an overview of the issue: -