• 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

Help regarding xml parsing

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working with a xml project.
I got to parse a xml which is in the form of a string using xsl.Look at the following,

transformer.transform(new SAXSource(new InputSource(new ByteArrayInputStream("<xml>test</xml>".getBytes()))), new StreamResult(out));

this is an example to tell you what I tried.The code compiled successfully but it is not able to transform or parse it using the xml.The message I got from the server is,

"No Source Parameter supplied"

Can any one tell me how to wrk with strings and parse them as I had shown u?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think this is the right forum for your question. I don't see a correlation between the XML and an ORM tool, so I am going to move this to the XML forum.

Thanks

Mark
reply
    Bookmark Topic Watch Topic
  • New Topic