java - How to display xml with two parent nodes -
java - How to display xml with two parent nodes -
how generate xml using dom parser in java , shown below
<result> <schma_index> <id>8</id> <name>raja</name> <schma_index> </result>
above should display
<massage>no privilege</mesaage> <result> <schma_index> <id>8</id> <name>raja</name> <schma_index> </result>
you can't have 2 root elements in xml. read well-formed xml. can generate message
, result
xml's separately , concatenate them. however, parser's can't parse result xml.
java xml
Comments
Post a Comment