• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML file creation

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well i m sorry to report completely. i want to use jakarta XTags to create and manipulate XML files. For an instance, i want to create an XML file. then i want to insert an element (with attributes) to that XML file. can i do it with XTags ?? If so plz someone help me !!
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Based on the documentation, I guess it should be possible to
1) Create a FileWriter object outside the XTags tag (in other words, with a scriptlet)
2) Use the XTags <style> tag (configured to write to your FileWriter) with this XSL stylesheet to create a copy of whatever you have put inside the <style> tag.
I'm afraid I can't help more than that 'cause I only learned about the existence of XTags because you mentioned it...
 
N Nanda
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you sir, XTags are actually based on XSL syntax. however, some syntaxes are not working and also not many tutorials or documentations are provided on that. that is really frustrating me. Thanx once again a lot for ur informations, but i will be obliged if someone can provide me some mroe working examples on Jakarta XTags.
 
reply
    Bookmark Topic Watch Topic
  • New Topic