home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / xml.scr < prev    next >
Encoding:
Text File  |  2006-11-29  |  992 b   |  49 lines

  1. /**
  2.  * File:
  3.  *   xml.scr
  4.  *
  5.  * Summary:
  6.  *   YaST2 SCR: Xml agent implementation
  7.  *
  8.  * Access:
  9.  *   read/write/execute OR read-only OR execute-only
  10.  *   
  11.  * Authors:
  12.  *   Anas Nashif <nashif@suse.de>
  13.  *
  14.  * See:
  15.  *   anyagent
  16.  *   libscr
  17.  *   man MANPAGE
  18.  *   info INFOPAGE
  19.  *   /usr/share/doc/packages/yast2-agent-xml/xml.html
  20.  *
  21.  * Example:
  22.  *   Read(.xml, "<XML file path>")
  23.  *   (["WHAT", "EVER", "YOU", "GET"])
  24.  *
  25.  *   Write(.xml,$[  
  26.  *            "CDATA":["source"], 
  27.  *            "SystemID":"testmap", 
  28.  *            "rootElement":"testmap", 
  29.  *            "fileName":"testmap.xml",
  30.  *            "DocType":"testmap",  
  31.  *            "NameSpace":"http://www.suse.com/1.0/yast2ns" 
  32.  *             ], 
  33.  *         $[
  34.  *            "testkey":"testvalue"
  35.  *         ]
  36.  *      );
  37.  *   Write testmap.xml with data from supplied map. Values mentioned in 
  38.  *   CDATA list are treated as XML CDATA (i.e. source code).
  39.  * 
  40.  * $Id: xml.scr 13018 2003-12-11 12:52:53Z jhumpol $
  41.  *
  42.  * SOME USEFUL INFORMATION ON THE AGENT
  43.  */
  44. .xml
  45.  
  46. `ag_xml(
  47.   `XmlAgent()
  48. )
  49.