Monday, February 28, 2005

A weakness of XML dtd

Q: specify that an item contains either text, or text followed by one or more list items
A: since #PCDATA can only be mixed with elements by using
(#PCDATA | someElement)*
the Q cannot be expressed directly

0 Comments:

Post a Comment

<< Home