• 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
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

creating dynamic xsl element or nodes

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

is it possible to create and append dynamic xsl element or nodes in loaded xsl through javascript at runtime .we have succeeded in creating and appending dynamically at runtime but it is not considering it as xsl tags.is it possible to do the above??
or any anychanges in namespaces or would i have to include them while creating.
note:dynamic deletion of xsl nodes succeeded then why not insertion??
thanx in advance
regards,
prabhu
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could have an include statement in your main stylesheet to include another XSL that has common code. You can then dynamically ( programatically ) add more tags to the parent stylesheet before starting the transformation.
This will do the trick!
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
reply
    Bookmark Topic Watch Topic
  • New Topic