Create XML start Tag - Android XML

Android examples for XML:XML Tag

Description

Create XML start Tag

Demo Code


//package com.java2s;

public class Main {
    public static void main(String[] argv) throws Exception {
        String tagData = "java2s.com";
        System.out.println(startTag(tagData));
    }//from  w w  w.j  a v  a  2s  .c om

    public static String startTag(String tagData) {
        return "<" + tagData + ">";
    }
}

Related Tutorials