www.webdeveloper.com
Results 1 to 2 of 2

Thread: Needed help in framing XML using placeholders

  1. #1
    Join Date
    Aug 2011
    Posts
    1

    Needed help in framing XML using placeholders

    Hi,

    I wanted to create an XML template with the placeholders.
    like
    <Greeting>
    <Name>__NAME__</Name>
    <Age>__AGE__</Age>
    </Greeting>

    Then inside the java code i want to read the XML file and replace the placeholder with the values from the database...
    like
    <Greeting>
    <Name>John</Name>
    <Age>10</Age>
    <Name>Louis</Name>
    <Age>20</Age>
    <Name>Martin</Name>
    <Age>30</Age>
    </Greeting>

    Can anyone please help me .. how this can be done.. Do i need to use any parsers?

    Please reply asap...

  2. #2
    Join Date
    Jun 2007
    Location
    Winnipeg, MB CANADA
    Posts
    128
    Java applet? Or Javascript?

    what do you have so far?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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



Recent Articles