Processing XML based DSL

DeckardCain

New Member
SWI-Prolog has plenty to offer as a generalized XML processor.\[code\]library(sgml)\[/code\] for read/write XML structured formats, \[code\]library(xpath)\[/code\] for navigation and more... but if I attempt to read a SVG, that it is valid XML, I get the message:\[code\]ERROR: SGML2PL(xml): ...my_file...svg:2: file "...myfile.path.../http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" does not exist\[/code\]false.Does anyone has an hint on this? I'd also want to rewrite the eventually modified file content preserving of course the distinctive DTD.
 
Back
Top