打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
JS-RDF: XML Parser tests


XML parser testbed, part of the js-rdf testbed. This is a local RDF installation of the Javascript XML parser created by Michael Houghton. In the fullness of time, this might be glued in with the RDF javascript code.

Current status: this is simply a local copy with different HTML wrapper text and an RDF-based example file in the textarea below.

Instead of using the MinXML XML subset, this page allows us to experiment with connecting js-rdf to a real XML parser.

Todo:

  • integrate with the main RDF query demo (based on the displayDocument() function used in this demo)
  • write a function that extracts RDF from the XML DOM and adds it into js-rdf
  • investigate namespace support; stabilise an xml vocabulary for simple RDF triple dumps.

Type or paste XML code here, and then press "Process"


If there is an error in your document, you will receive an error report in a new window.

Otherwise, a structured definition of your document will be presented.

Also, note that, while the parser itself avoids recursion, this demonstration is recursive, so with very large documents you may experience problems.



本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
一起学Android之Xml与Json解析
W3C 教程 | 菜鸟教程
中国XML论坛--RDF与XML的区别是什么?
Web 2.0 正在扼杀语义网络吗?
OWL 简介
解析xml文件时,错误信息org.xml.sax.SAXParseException:Parser ...
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服