DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: XML file

Threaded View

  1. #1
    Join Date
    Apr 2020
    Posts
    1

    XML file

    Is it possible to create an web-page,form,that would accept specific input and generate
    an XML file from it.The form has to have the ability to add items in one particular section(where we can
    add additional streams) and give us the ability to remove streams as well.
    For each stream we must be able to attach a logo for that stream as well.

    Xojo or Php for this could be used,

    below is the sample XML file and Data Format.
    Code:
    <?xml version="1.0" encoding="UTF-8" ?>
    <collectionList>
    <grid class="5ColumnGrid">
    <section>
    <lockup onselect="playMedia('https://player.vimeo.com/external/187143276.m3u8?s...')">
    <img src="/resources/images/lockups/shelf1.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 1</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/184669023.m3u8?s...')">
    <img src="/resources/images/lockups/shelf2.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 2</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/181758939.m3u8?s...')">
    <img src="/resources/images/lockups/shelf3.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 3</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/180890459.m3u8?s...')">
    <img src="/resources/images/lockups/shelf4.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 4</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/180014530.m3u8?s...')">
    <img src="/resources/images/lockups/shelf5.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 5</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/178583018.m3u8?s...')">
    <img src="/resources/images/lockups/shelf6.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 6</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/178457098.m3u8?s...')">
    <img src="/resources/images/lockups/shelf7.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 7</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/177558935.m3u8?s...')">
    <img src="/resources/images/lockups/shelf8.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 8</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/173738601.m3u8?s...')">
    <img src="/resources/images/lockups/shelf9.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 9</title>
    </lockup>
    <lockup onselect="playMedia('https://player.vimeo.com/external/187143276.m3u8?s...')">
    <img src="/resources/images/lockups/shelf2.png" width="308" height="308" />
    <title class="showTextOnHighlight">Title 10</title>
    </lockup>
    </section>
    </grid>
    </collectionList>
    </stackTemplate>
    </document>
    *********************************************************************************
    I tried below HTML code to design web page for above But now the problem is how to 1) make it create an XML file.

    2) Then expand the form to handle a variable number of input fields.

    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Form</title>
    
    </head>
    
    <body>
    <form>
    a media URL:<br />
    <input type="text" />
    
    <br /><br />
    an Image:<br />
    <input type="file" />
    
    <br /><br />
    
    Title:<br />
    <input type="text" />
    
    <br /><br />
    
    
    <input type="submit" />
    
    </form>
    
    </body>
    </html>
    Thanks
    Last edited by 2kaud; 04-03-2020 at 04:59 AM. Reason: Added code tags

Similar Threads

  1. Replies: 2
    Last Post: 04-10-2012, 03:07 PM
  2. Replies: 0
    Last Post: 03-10-2010, 04:53 AM
  3. Replies: 1
    Last Post: 01-02-2008, 10:06 PM
  4. Replies: 2
    Last Post: 03-16-2004, 04:18 PM
  5. Replies: 0
    Last Post: 02-13-2001, 08:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center