[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A simple guy with a simple problem
- From: Sean McGrath <email@example.com>
- To: firstname.lastname@example.org
- Date: Wed, 14 Mar 2001 16:02:16 +0000
Hello, my name is Bob and I'm a programmer.
I work for a B2B company. My task today is to process
incoming XML documents that are known to be valid against the foo
DTD and change all occurences of the word "STUFF" to "stuff".
I need to leave the documents otherwise unchanged in all material
respects as they are going on to a third company in a B2B chain.
Here is the DTD:
<!ELEMENT foo (lit)*>
<!ELEMENT lit (#PCDATA)>
<!ATTLIST lit text CDATA "STUFF">
Here is a sample document:
<!DOCTYPE foo SYSTEM "foo.dtd" [
<!ENTITY bar "this is some STUFF">
<![CDATA[This is literal
How should I proceed to do my job?
Sean McGrath CTO
Enabling Universal Mobility