Home > XML IDE - XML Editor > XML Editor Key Features > DTD Tools > DTD Parser
DTD ParserThe XML specification includes both XML and DTD within its scope. Within an XML document's <!DOCTYPE>, there can be an internal subset of the DTD, or an external DTD can be referenced. In order to fully comply with the XML 1.0 specification (and/or XML 1.1), a XML parser must also be a DTD parser. Stylus Studio® contains several such parsers, each of which is used as the occasion demands. DTD Editor ParserThe DTD Editor, with it's Text and Tree editing modes, uses a DTD parser to read the initial file and process it for Sense:X (intelligent XML editing) support. DTD Validation ParsersIn addition to the internal DTD parser which can be used to validate files against DTDs, Stylus Studio® includes other validation engines that can parse and validate DTD-using XML documents:
So, counting the internal DTD parser, that gives several different ways to parse and validate. This helps you to ensure if there are any corner cases or gray areas (or even bugs in some validator), you'll have spotted them before deploying your DTD. (The internal parser is triggered by just hitting the button without hitting the dropdown arrow next to it.) SAX Parsing of DTDsWhen an XML file is parsed, there is an option on the SAX interface to retrieve certain DTD events. More information can be found at the SAX Project Extensions pages. DOM Parsing of DTDsThe DOM Level 3 Core API includes objects and methods for navigating both XML and DTD documents, as well as XML documents refering to internal DTD subsets or external DTDs. The Document Object Model (DOM) can be used in your own application from a variety of languages, including Java, C++, Python, and ECMAScript (also known in some circles as JScript or JavaScript). DTD to XSD ParsingAnother area where a DTD parser is used is in the Document Wizards, namely converting DTDs to XML Schema documents and in creating sample XML documents from DTDs. As you can see from these statements, Stylus Studio® uses several forms of DTD Parsing technology, in Java, C++ and .Net, both to validate and to serve as a template for XML instance creation. To explore more, download and experiment with your own free copy of Stylus Studio®.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Try Stylus DTD GeneratorGenerate DTDs with our award-winning DTD conversion and DTD generation utilities - Download a free trial! Attend a Live Webinar This Week!Learn about Stylus Studio's unique features and benefits in just under an hour. Register for the Stylus Studio QuickStart Training WebCast! Ask Someone You KnowDoes your company use Stylus Studio? Do your competitors? Engineers from over 100,000 leading companies use Stylus Studio, and now you can ask someone from your own organization about their experiences using Stylus Studio. |