Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

possible to create dynamically named nodes via xslt?

 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have here some sort of a start -

Cheers,
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic