wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes xsl:document, & treefrag conv to node-set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl:document, & treefrag conv to node-set" Watch "xsl:document, & treefrag conv to node-set" New topic
Author

xsl:document, & treefrag conv to node-set

Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 235
Can someone help, please? A little question on Xalan xsl 1.1 ...
I cannot get the nodeset function to work (I want to apply templates to the result of a previous template. Note that templates return treefrags, but require node-set as input.)
I've tried...

According to several books, version 1.1 is supposed to allow tree frags to convert to nodesets.
How? Is there something missing in the Xalan configuration?
my declaration...

Thanks in advance for your help.
[ November 03, 2003: Message edited by: john prieur ]

Juan Rolando Prieur-Reza, M.S., LSSBB, SCEA, SCBCD, SCWCD, SCJP/1.6, IBM OOAD, SCSA
Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 235
The solution is to include this namespace...

[ November 03, 2003: Message edited by: john prieur ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Thanks for sharing that, John!


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsl:document, & treefrag conv to node-set
 
Similar Threads
Question: apply-templates
Xalan to add element
Transforming URL
Multiple file output with JDK 6 XSLT implementation
xsl:apply-templates