SV: [thelist] Simple XPath question

Marcus Andersson marcan at home.se
Mon Nov 10 18:22:56 CST 2003


> <article>
>    <title>Some title here</title>
>      <content>
> 	<para>
> Please note that company toilets are now <emp>strictly out of
> bounds</emp> for fishing expeditions.
> 	</para>
>       </content>
> </article>

>Is this valid XML data?

>Can you have both children and XML text in the same place?

It's perfectly legal if a DTD/Schema (or if there is no DTD/Schema)
permits to have mixed content.

/Marcus



More information about the thelist mailing list