Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML forming and open file directly from XML leaf node

    Hi,

    Based on the files in directory which will be mostly pdf files need to create xml file with root as directory name and folders as child note and files as leaf node.
    When I click the files in the leaf node it will automatically open the document with the file content.

    Please anyone can help me with your ideas. thanks in advance

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    You want hyperlinks in XML, if I understand your question correctly. Are your end-users really opening your XML document in a web browser, without any XSLT to transform it into something else? If so, the XLink specification will have what you're looking for.

    Please post source code; we can't really help you without that.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •