• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

possible to create dynamically named nodes via xslt?

 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have here some sort of a start -

Cheers,
Dan
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic