I having been trying to find an explanation to no avail, but can anyone suggest why there is a script tag in XML and can this be removed using PHPs SimpleXMLElement
.
If we see the image below the second tag is a self closing script tage <script/>
.
Below are a number of other examples of this tag appearing. When I am creating my own XML using SimpleXMLElement
I notice I too get this tag.
https://www.w3schools.com/xml/simple.xml
https://www.w3schools.com/xml/cd_catalog.xml
https://www.w3schools.com/xml/plant_catalog.xml
Can anyone tell me why this is included and is there any way to remove this?
Below are a number of other examples of this tag appearing.
No, those files do not contain that tag. Download and inspect them using something other than your default browser. Likely you have some browser extension which injects a script into any and all pages.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.