Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
|
(Java) Setting XML Tag and ContentDemonstrates how to set the tag and content of an XML node. The following XML sample code produces this output: <abc>123</abc>
import com.chilkatsoft.*; public class ChilkatExample { static { try { System.loadLibrary("chilkat"); } catch (UnsatisfiedLinkError e) { System.err.println("Native code library failed to load.\n" + e); System.exit(1); } } public static void main(String argv[]) { CkXml xml = new CkXml(); xml.put_Tag("abc"); xml.put_Content("123"); System.out.println(xml.getXml()); } } |
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.