wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes possible to create dynamically named nodes via xslt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "possible to create dynamically named nodes via xslt?" Watch "possible to create dynamically named nodes via xslt?" New topic
Author

possible to create dynamically named nodes via xslt?

Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Hi.
I have very little experience with xslt.
We can use xslt to transform one xml tree in another xml tree.
Question: Is it possible, does it make sense to create dynamically named node names?
example:
input:

(the text content of the node title shall transform to a node.)
for example:
<title>delete all childs</title>
--> <delete_all_childs>
output:
I want to display the output-xml as a swing tree. (found that as example): http://gethelp.devx.com/techtips/java_pro/10MinuteSolutions/Gabhart10min03/Gabhart10min03-1.asp
you know better examples for that task?
Thanks
Axel
[ September 30, 2002: Message edited by: Axel Janssen ]
[ September 30, 2002: Message edited by: Axel Janssen ]
[ September 30, 2002: Message edited by: Axel Janssen ]
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Please have a look at - http://p2p.wrox.com/view.asp?list=xslt&id=217418
The author Michael Kay runs the show there and man he knows this stuff!
Cheers,
Dan
[ October 01, 2002: Message edited by: Dan Drillich ]

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
I have here some sort of a start -

Cheers,
Dan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: possible to create dynamically named nodes via xslt?