Hi,
I have a xml file as follow:
----------------------------------------
<?xml version="1.0" encoding="gb231 2"?>
<name>ms</name>
I want to fetch the value of encoding attribute in this xml file.
Can we achive this using xpath query?
Any inputs on this would be useful.
Thanks.
User Profile
Collapse
-
xpath query to get teh encoding specified in xml file
-
I tried adding xmlns and target namespace in B.xsd.It's working fine now.
Thanks a lot for the input.... -
Issue in validating xml file with xsd
I have an A.xml file which I am trying to validate with an A.xsd file.
Hi All,
A.xsd file inturn imports B.xsd and C.xsd.
In A.xsd I have an element named "Account".
Account is of type tpAccount which is declared in B.xsd.
<xs:complexTy pe name="Message">
<xs:sequence>
<xs:choice>
<xs:element name="Account"...
No activity results to display
Show More
Leave a comment: