Jump to content
scopley

Text Entity

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!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...