P
Paul Flew
Hi
I'm sure this is a very simple question, but can someone tell me whether the
following is a well-formed XML document (not withstanding the lack of DTD):
<document>Some text <documentcomponent>Component Part</documentcomponent>
some more text </document>
i.e. Embedding a tag within the contents of another tag (a la HTML)?
I'm writing a piece of software which takes a text document and returns
those words within it which it identifies as particular components (date,
etc), for which obviously the above format is potentially most suitable.
Any help appreciated, even if its just pointing at a relevant FAQ.
Regards,
Paul
ps. Remove the .nospam to respond directly.
I'm sure this is a very simple question, but can someone tell me whether the
following is a well-formed XML document (not withstanding the lack of DTD):
<document>Some text <documentcomponent>Component Part</documentcomponent>
some more text </document>
i.e. Embedding a tag within the contents of another tag (a la HTML)?
I'm writing a piece of software which takes a text document and returns
those words within it which it identifies as particular components (date,
etc), for which obviously the above format is potentially most suitable.
Any help appreciated, even if its just pointing at a relevant FAQ.
Regards,
Paul
ps. Remove the .nospam to respond directly.