-
December 25th, 2008, 02:08 AM
#1
Ignore tags in an attribute
Hi!
How can I ignore XML tags in an attribute in an XML file? For example, if I have a XML file like this:
Code:
<sample>
<sampletag id="my id" description="description cannot contain tags like <tag>" />
</sample>
When I access the presented XML file from my application, an error is being raised, because of the enclosed tag in the description attribute. I tried using ![CDATA[ but seems like it is not working for attributes. How can I accomplish the task?
Thank you!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|