On 2/5/2012 2:27 AM, Richard Hamilton wrote:
The limitation is that you can't have a title both inside<info>  and
directly under the same element, so the following is invalid:

<book> <title>...</title> <info><title>...</title></info> ...
</book>

This, however is valid:

<book> <info><title>...</title></info> ... <chapter>
<title>...</title> <info>other info stuff</info> ... </chapter>
</book>


Are you saying that XMLmind complains about the second case above?

Yes, that's what it's doing--it's complaining about the second case above, and singling out the <info> element. Now that I think about it, I guess if the problem had been what I thought (the second structure above was invalid), it would have complained about the <title> elements in the <chapter>s instead, assuming it parses top-down.

That eliminates one explanation; I'll look into others.  Thanks!
--
        Mike Maxwell
        [email protected]
        "My definition of an interesting universe is
        one that has the capacity to study itself."
        --Stephen Eastmond

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to