> XML is now the lingua franca of human-readable structured data.
> XHTML, JSTL, Ant configs, SOAP, etc., mean that any serious designer of web
> applications must be proficient in reading and writing XML.
>
> Saying "unreadable XML" in the 21st century is like saying
> "unreadable French" in the 18th century.  It's a statement of one's
> illiteracy, not an indictment of the method of representation.

And here I was thinking the point of XML was to make it easier for
the *machine* to parse structured data.

-- Juha, the illiterate


<jns:java>
 <jns:comment><![CDATA[Hello, World]]</jns:comment>
 <jns:package name="my.stuff"/>
 <jns:import name="java.lang.System"/>

 <jns:class name="Main" extends="java.lang.Object"/>
   <jns:implements name="MyInterface"/>
   <jns:implements name="ThatOtherInterface"/>
 </jns:class>

 <jns:method name="main" PUBLIC STATIC>
   <jns:comment><![CDATA[Print the message]]</jns:comment>
   <jns:return-type>void</jns:return-type>
   <jns:signature>
      <jns:arg name="args"/>
      <jns:type name="java.lang.String" ARRAY/>
   </jns:signature>
   <jns:body>
      <jns:invokestatic name="java.lang.System" reference="out">
         <jns:method name="println">
            <jns:value><![CDATA[Hello, World]]</jns:value>
         </jns:method>
     </jns:invokestatic>
   </jns:body>
 </jns:method>
</jns:java>


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to