Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Validating against a schema using the DocumentBuilderFactory  RSS feed

 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I setValidating( true ), is there a way to have this validate against a schema instead of requiring a DTD defined in a DOCTYPE header? Or should we be using a DOMParser instead and set the features? I have a feeling the latter is the way to go.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!