File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes help 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 "help" Watch "help" New topic


Rajiv Porumalla

Joined: Dec 27, 2002
Posts: 7
how will u add images in XML file?
how will u add hyperlinks in XML file?
how will u add breaks or spaces between lines for clarity?
any help is appreciated and thanx in advance.
Pavel Halas
Ranch Hand

Joined: Jul 05, 2003
Posts: 35
  • Images: Store them like a path to them (string).
  • Hyperlinks: Store them like a string.
  • Spaces: Configure your XML outputter its way.

  • Ken Blair
    Ranch Hand

    Joined: Jul 15, 2003
    Posts: 1078
    I'm not quite sure what you're trying to do. If you're asking about displaying images/hyperlinks then understand that XML is not HTML. You're storing data not displaying it, the only way to add in an 'image' would be to have something like the URI (which can be a URL of course) for your image. As for hyperlinks... well there's really no such thing in XML, if you were converting an XML file to HTML you could have a URL in the XML file that gets converted to a hyperlink but that's about it.
    I agree. Here's the link:
    subject: help
    It's not a secret anymore!