Deprecated: Assigning the return value of new by reference is deprecated in /var/www/hvidtfeldts.net/wiki/inc/parserutils.php on line 159

Deprecated: Function split() is deprecated in /var/www/hvidtfeldts.net/wiki/inc/auth.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /var/www/hvidtfeldts.net/wiki/inc/parserutils.php:159) in /var/www/hvidtfeldts.net/wiki/inc/auth.php on line 191

Deprecated: Function split() is deprecated in /var/www/hvidtfeldts.net/wiki/inc/common.php on line 737

Warning: Cannot modify header information - headers already sent by (output started at /var/www/hvidtfeldts.net/wiki/inc/parserutils.php:159) in /var/www/hvidtfeldts.net/wiki/inc/actions.php on line 91
hvidtfeldts.net // xml

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/hvidtfeldts.net/wiki/inc/parser/xhtml.php on line 943

Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/hvidtfeldts.net/wiki/inc/html.php on line 154

XML

What it is good for...

What is should not be used for...

  • Promoting applications with terms like ‘xml driven’ or ‘xml powered’.
  • As a syntax for a programming language. Seriously, project like Ant makes simply task overwhelmingly complex.

Ant succeeds in making even small build scripts a highly complex

Consider a simple copy operation like:

<copy todir="../dest/dir">
  <fileset dir="src_dir">
    <include name="**/*.java"/>
  </fileset>
</copy>

Which could instead be written like

copy src_dir/*.java ../dest/dir
 
xml.txt · Last modified: 2006/12/06 20:30 by mikael