Open aman1403 opened 4 years ago
Hi Ladislav @llhotka , would you mind having a look at this issue?
@aman1403 please provide (a link to) the YANG module bgp-rip@2018-03-29.yang
that you use, and the XML instance document bgp-rip.xml
.
@llhotka please find the link for the Yang module and the xml file below:-
The top-level node rib
isn't defined in the YANG module. I think the document element in bgp-rib.xml
should be
<application-rib xmlns="urn:opendaylight:params:xml:ns:yang:bgp-rib">
...
</application-rib>
I am trying to convert xml to json using XSL stylesheet. I have generated the XSL stylesheet but not able to generate json with the help of it. I am using this command:-![image](https://user-images.githubusercontent.com/45468560/83940603-1772f700-a803-11ea-82f7-5cc2104dca89.png)
xsltproc -o bgp-rib.json bgp-json.xsl bgp-rib.xml
This command is running and not throwing any error. But the JSON file is also not generated. I don't know what is wrong may be xml file or xsl. Can anyone please tell what can be done in this case and how we can check if anything is wrong?