Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
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:
Tim Cooke
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Liutauras Vilda
Sheriffs:
Rob Spoor
Junilu Lacar
paul wheaton
Saloon Keepers:
Stephan van Hulst
Tim Moores
Tim Holloway
Carey Brown
Scott Selikoff
Bartenders:
Piet Souris
Jj Roberts
fred rosenberger
Forum:
XML and Related Technologies
problem in creating xml
sagar shiraguppi
Ranch Hand
Posts: 74
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I want to create a xml file which looks like this
<?xml version="1.0" encoding="UTF-8"?>
<bnw:createSkill workspace="LISA_INT7_HTTPS" correlationId="CS015" xmlns="http://www.abc.com/xyz/messages/data" xmlns:bnw="http://www.abc.com/xyz/messages">
<skill name="online_presence_tier1-Add_Refs-disk"/></bnw:createSkill>
can any one knows the solution?
Tim Moores
Saloon Keeper
Posts: 7350
170
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What problem are you facing, specifically? How are you trying to create that file?
sagar shiraguppi
Ranch Hand
Posts: 74
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
@Tim,
I want to create that xml file using the
java
code. Could you please help me, I am new to XML
Tim Moores
Saloon Keeper
Posts: 7350
170
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can either use the file I/O classes in the java.io package to write the file directly, use an API like JAXP (which is part of JSE), or a 3rd party library like JDOM, dom4j or XOM.
But
you should
start here:
http://java.sun.com/xml/tutorial_intro.html
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Replace URL
Transforming URL
NullPointerException when calling a web service
xmlns problem in xslt
JAX-WS xsd:import
More...