Skip to content

expkg-zone58/ex-doctype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expkg-zone58:xml.doctype

Extract DocType information from XML files or XML source text. Returns a Map

import module namespace dt="java:org.expkgzone58.xml.DocType";
dt:fromString(
'<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//NLM//DTD Book DTD v2.1 20050630//EN" "book.dtd">
<book/>'
)
(: result :)

map {
  "publicId": "-//NLM//DTD Book DTD v2.1 20050630//EN",
  "systemId": "book.dtd",
  "name": "book"
}

About

Extract DocType information from XML files or XML source text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors