EDN Admin
Well-known member
I am wondering if it is possible to validate an attributes value if I only have the XSD, the XPATH, attribute name and value? <br/>
<br/>
XPATH = /TTRF/Body/Transmitter/Mode<br/>
attribute name = power<br/>
attribute value = W23.456
The current code does not know the element XML. I am looking for a way to accomplish this task with having to use the entire element (Mode) as an XML Fragement (<Mode power=W23.456, gain=1, loss=1/>, when I only need to validate power?
I ask because I have code that inserts the attributes into a DBs XMLType and want to ensure I dont violate the element/attributes constraints.
Any help/direction to answers is appreciated.
Tal
View the full article
<br/>
XPATH = /TTRF/Body/Transmitter/Mode<br/>
attribute name = power<br/>
attribute value = W23.456
The current code does not know the element XML. I am looking for a way to accomplish this task with having to use the entire element (Mode) as an XML Fragement (<Mode power=W23.456, gain=1, loss=1/>, when I only need to validate power?
I ask because I have code that inserts the attributes into a DBs XMLType and want to ensure I dont violate the element/attributes constraints.
Any help/direction to answers is appreciated.
Tal
View the full article