Click here to Skip to main content
16,006,006 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: xsd:enumeration from XML file Pin
Stefan Troschuetz23-Dec-06 2:02
Stefan Troschuetz23-Dec-06 2:02 
QuestionXML Document Entity Replacement Pin
Leftyfarrell20-Dec-06 9:12
Leftyfarrell20-Dec-06 9:12 
AnswerRe: XML Document Entity Replacement Pin
donchev_p21-Dec-06 0:38
donchev_p21-Dec-06 0:38 
Questionsorting by absolute value in xpath Pin
Malcolm Smart18-Dec-06 23:58
Malcolm Smart18-Dec-06 23:58 
AnswerRe: sorting by absolute value in xpath Pin
Malcolm Smart19-Dec-06 2:57
Malcolm Smart19-Dec-06 2:57 
Questionhi, Please tell me how we can using java to read and write to XML file for a web application : ) Pin
abiisalwayshappy18-Dec-06 0:26
abiisalwayshappy18-Dec-06 0:26 
AnswerRe: hi, Please tell me how we can using java to read and write to XML file for a web application : ) Pin
George L. Jackson18-Dec-06 13:22
George L. Jackson18-Dec-06 13:22 
GeneralRe: hi, Please tell me how we can using java to read and write to XML file for a web application : ) [modified] Pin
abiisalwayshappy18-Dec-06 17:13
abiisalwayshappy18-Dec-06 17:13 
hihi i'm a newbe in Java. If u don't mind, please show me basic code to create an XML file (i understood XML structure), how to retrieve data from this file and write data to it. I need to develop my application in "Eclipse.exe".

Follow your instruction i read on "http://developerlife.com/xmljavatutorial1/default.htm" and see this coding:

import com.sun.xml.tree.*;<br />
import org.w3c.dom.*;


You must have the a String URL of the XML document before you can instantiate a DOM object from it. Assume that an XML file called AddressBook.xml is at the following URL:
http://beanfactory.com/xml/AddressBook.xml. Here is the code to create a DOM object from this URL:

try <br />
{    <br />
String url =  "http://beanfactory.com/xml/AddressBook.xml";    <br />
Document doc =         XmlDocumentBuilder.createXmlDocument(url);<br />
}<br />
catch(Exception e){}


But i can not download Sun's parser or IBM's parser.

Can u tell me another way : )

-- modified at 1:55 Tuesday 19th December, 2006
GeneralRe: hi, Please tell me how we can using java to read and write to XML file for a web application : ) Pin
George L. Jackson19-Dec-06 2:07
George L. Jackson19-Dec-06 2:07 
GeneralRe: hi, Please tell me how we can using java to read and write to XML file for a web application : ) Pin
abiisalwayshappy19-Dec-06 16:24
abiisalwayshappy19-Dec-06 16:24 
QuestionXML Schema Pin
BINOVAR17-Dec-06 17:19
BINOVAR17-Dec-06 17:19 
AnswerRe: XML Schema Pin
Stefan Troschuetz17-Dec-06 21:17
Stefan Troschuetz17-Dec-06 21:17 
GeneralRe: XML Schema Pin
BINOVAR17-Dec-06 21:34
BINOVAR17-Dec-06 21:34 
GeneralRe: XML Schema Pin
Stefan Troschuetz17-Dec-06 21:51
Stefan Troschuetz17-Dec-06 21:51 
GeneralRe: XML Schema Pin
BINOVAR17-Dec-06 22:00
BINOVAR17-Dec-06 22:00 
Questionxml read Pin
vengaqua14-Dec-06 23:40
vengaqua14-Dec-06 23:40 
AnswerRe: xml read Pin
Stefan Troschuetz15-Dec-06 0:18
Stefan Troschuetz15-Dec-06 0:18 
QuestionQuestions Related to XML DTD Pin
Rahithi13-Dec-06 16:05
Rahithi13-Dec-06 16:05 
AnswerRe: Questions Related to XML DTD Pin
DavidNohejl15-Dec-06 11:17
DavidNohejl15-Dec-06 11:17 
GeneralRe: Questions Related to XML DTD Pin
Rahithi15-Dec-06 15:30
Rahithi15-Dec-06 15:30 
AnswerRe: Questions Related to XML DTD [modified] Pin
George L. Jackson15-Dec-06 20:45
George L. Jackson15-Dec-06 20:45 
QuestionGenerate an xml file using Schema [modified] Pin
Nnabugwu13-Dec-06 2:24
Nnabugwu13-Dec-06 2:24 
AnswerRe: Generate an xml file using Schema Pin
Stefan Troschuetz13-Dec-06 2:47
Stefan Troschuetz13-Dec-06 2:47 
AnswerRe: Generate an xml file using Schema Pin
Stefan Troschuetz15-Dec-06 21:26
Stefan Troschuetz15-Dec-06 21:26 
QuestionXPath war Pin
Eduard Keilholz12-Dec-06 2:26
Eduard Keilholz12-Dec-06 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.