Jump to content

Text Entity


scopley

Recommended Posts

I am currently converting an XML DTD to XSD Schema. The DTD has several text entities declared and since those entities are already linked within the documents I need to be able to delcare them within the XSD as well. Can anyone tell me how to do this?Thanks!

Link to comment
Share on other sites

There are no entities in XML Schema, so you can't do that.What you can do instead is resolve the entities at run time, and only then validate the XML file against the schema.This should be easily doable if you validate the document in a DOM environment.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...