aspose file tools*
The moose likes XML and Related Technologies and the fly likes XMl DOm query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XMl DOm query" Watch "XMl DOm query" New topic
Author

XMl DOm query

felix thomas
Ranch Hand

Joined: Jun 10, 2001
Posts: 89
hi,
I just want to know wether i can create a XML Dom object on the fly i.e. not reading from a physical XML file.
If so can anyone show me any sample codes or Links with this example.

Thanx
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Take a look at this...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12783
    
    5
Look at the org.xml.sax.InputSource class. Anything that can be used to create an InputSource object can be parsed to create a DOM. Specifically, any byte stream or character stream.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XMl DOm query