aspose file tools*
The moose likes XML and Related Technologies and the fly likes Images in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Images in XML" Watch "Images in XML" New topic
Author

Images in XML

Shahid Mithani
Greenhorn

Joined: Dec 04, 2003
Posts: 8
Is there a standard syntax for branding XML content with an image/logo. I have written some Java Webservices that provide data to users. I need to add a url of our company logo at the begining of the XML content. I need to know what is a decent (if not standard) way of doing this.

Thanks,
SM
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
There is no standard as far as I know.
I guess you have two main options:
1) put the URL into a SOAP header (a bit more complex to implement on both ends)
2) put the URL as the first return parameter of each operation (ugly, but easy to implement)


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Images in XML