We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
using proHTML (Read 2513 times)
using proHTML
May 11th, 2005, 9:30am
 
Hi I was wondering what is the correct way of using proHTML?  I read in here that i can use an XML file.  However, my XML file isn't a well formed XML file. Below is the extent of the XML file.

<
Re: using proHTML
Reply #1 - May 11th, 2005, 2:12pm
 
if you want to post code like xml put it in between these:
[ code ] [ /code ]
(without the spaces after and before [])

F
Re: using proHTML
Reply #2 - May 11th, 2005, 6:57pm
 
Here is my XML code:

Code:
<directory>
<directory-name>test</directory-name>
<directory>
<directory-name>testSub1</directory-name>
</directory>
<directory>
<directory-name>testSub2</directory-name>
<file>
<file-name>test1.txt</file-name>
</file>
</directory>
<directory>
<directory-name>testSub3</directory-name>
<file>
<file-name>test.txt</file-name>
</file>
<file>
<file-name>test1.txt</file-name>
</file>
</directory>
</directory>


Thanks
Re: using proHTML
Reply #3 - May 12th, 2005, 11:28pm
 
Hi

You have to specify your document as an XML file.

Code:

<?xml version="1.0" encoding="iso-8859-1"?>
<directory>
<directory-name>test</directory-name>
<directory>
<directory-name>testSub1</directory-name>
</directory>
<directory>
<directory-name>testSub2</directory-name>
<file>
<file-name>test1.txt</file-name>
</file>
</directory>
<directory>
<directory-name>testSub3</directory-name>
<file>
<file-name>test.txt</file-name>
</file>
<file>
<file-name>test1.txt</file-name>
</file>
</directory>
</directory>


I tested it and it worked.

tex
Re: using proHTML
Reply #4 - May 13th, 2005, 12:00am
 
Thanks all! Smiley
Page Index Toggle Pages: 1