|
-
Oct 10th, 2011, 10:43 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] DOM Document work with <br />?
I have used DOM Documents with xml like <a>dasdasd</a> etc.. but does it work with a tag like <br />? A single tag with no content? Could I access that <br /> tag like I would any other tag?
-
Oct 10th, 2011, 05:37 PM
#2
Re: DOM Document work with <br />?
Yes, it works.
Don't think of them as tags.
This:
is two nodes: an element, and a text node.
This:
is one node.
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
|