Hi
I am new to the xml and I am not being able to do what I want. Here's my problem.
in my DTD i have an element tag like this
<!ELEMENT code (#PCDATA)>
and when in the xml file i write the following
<code>
print( "<br>hello world<br>" );
</code>
my problem is that this document isnt valid because it detects the <br> tag as a child of <code>. so my question is, is there anyway I can make the parser/validator ignore the tags in quotes. if not how can i get around it?
pls help
thanks
I am new to the xml and I am not being able to do what I want. Here's my problem.
in my DTD i have an element tag like this
<!ELEMENT code (#PCDATA)>
and when in the xml file i write the following
<code>
print( "<br>hello world<br>" );
</code>
my problem is that this document isnt valid because it detects the <br> tag as a child of <code>. so my question is, is there anyway I can make the parser/validator ignore the tags in quotes. if not how can i get around it?
pls help
thanks