Hi Joshua
I've been searching for that root element you mention and found that I
introduced a bad code snippet in my question.
That is, I used a common practice in forums which is to start the snippet
with a delimiter as <my snippet> and </mysnippet>. I realized that using
that practice in a XML forum is a very bad idea !
That's why the "root element" you stated fooled you and me. My snippet
starts with <mycode> and ends with </mycode> which are actually not markers
(in XML they are but... you understand me I know) . I should have used <!--
mycode --> instead. My big mistake, sorry. Anyways, your observation was
correct, I removed the space you told me and it works.
I have another "big" question.
Let's say you have a huge mysql database and you want to filter it some way.
Will you filter it using mysql language and produce a xml database to be
further processed or will you use the whole mysql db ?
I feel that it's not productive to translate the whole thing only to process
it in xml. Then, what is the real use of xml databases if not only to store
some transactions results to be published ?
Thanks
<> a écrit dans le message de news:
66637ff0-7d6f-4012-a3ea-a8cbc203bc57...oglegroups.com...
> On Dec 12, 11:56 am, "Bill" <billla...@hotmail.com> wrote:
>> <mycode>
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>>
>> <p> This is the synopsis for the <![CDATA [ <!DOCTYPE root_name DTD_URI
>> subsets ...> ]]> where blah blah blah </p>
>
> Remove the space between the CDATA and the "[" character:
>
> <p> This is the synopsis for the <![CDATA[ <!DOCTYPE root_name DTD_URI
>> subsets ...> ]]> where blah blah blah </p>
>
> I'm surprised it didn't complain before that, though - the XML
> declaration and DOCTYPE should go before the root element:
>
> <?xml version="1.0"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> <mycode>
>
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">