Research Log of Web Science Students

Computer Science is not simply programming

Hello World XML experiment 2

leave a comment »

I thought a better way to write xml in the servlet’s writer was to use the “&-l-t;” and “&-g-t;” escape characters so that the browser would also print the < and > to show for instance . Apparently doing that produces not well formed xml:

Furthermore a view source of the browser reveals a far cry from my original intention:

&lt;?xml-stylesheet type='text/css'?&gt;
&lt;hardwire:module xmlns:hardwire=""&gt;
&lt;hardwire:message>Hello World!&lt;/hardwire:message&gt;&lt;/hardwire:module&gt;

Written by Jose Asuncion

December 29, 2009 at 9:31 am

Posted in Hardwire

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: