|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using & within an XML document
I've painfully discovered that using an '&' sign within the quoted text of a tag value doesn't jive well with the XML parser.
That is... <MYTAG Value1="Billy & His Dog"></MYTAG> ... isn't accepted and gives a bunch of errors when trying to read directly into the browser, and won't even load the document when trying to use DOM in PHP. It gives me the error that whitespace is not accepted after the '&'. Any ideas how I *can* use this character in this context? Thanx, - coredumped. |
|
#2
|
|||
|
|||
|
Did you try &
|
|
#3
|
|||
|
|||
|
I have the same problem Coredumped. Did you ever find a solution to this problem?
lveale what do you mean by your post? Thanks, waffe |
|
#4
|
||||
|
||||
|
if you type out & instead of & it will function as you want it to.
I believe that is what iveale meant. -Teflon
__________________
Teflon - The Black <desc>Mark This Up</desc> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Using & within an XML document |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|