Android examples for XML:XML Tag
Create XML start Tag
//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 + ">"; } }