Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to use divide symbol in xml script?

What I have tried:

I have tried / and ÷ and ÷ but i got error == symbol error.
Posted
Comments
CHill60 25-Apr-24 12:34pm    
If Solution 1 does not resolve your issue then you will have to provide clarification of exactly what you tried - i.e. show the XML in your Post and tell us what system is giving you the error

1 solution

First off, don't call it an "XML script" - the word 'script' implies it's directly executable or interpretable, like a python script file, or a Windows batch file. XML isn't: it's a complex hierarchical data transfer format which has just 5 special characters:
<, &, >, ", and '
None of those are a "division symbol", so no such symbol is significant to XML.

Where it may be significant is in the app that processes your XML data - it may do what it likes with it including working out that 99 / 3 should be replaced with 33 for example, but that isn't an XML operation, it's an app operation.

So look to the processing app and what it expects: data read from XML isn't processed it's just passed to the app to do with as it pleases!
 
Share this answer
 
Comments
Jo_vb.net 25-Apr-24 16:32pm    
In combination with an arrow it is a control character.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900