Questions tagged [dtd]

DTD stands for "Document Type Definition" as specified in the XML 1.x Recommendations of the W3C. DTDs define formal grammars for XML documents: which tags you can use and where you can use them. Validating XML processors apply this grammar to XML documents to determine whether they conform to these grammars, in which case the document is "valid".

DTD stands for "Document Type Declaration" as specified in the XML 1.x Recommendations of the W3C (see http://www.w3.org/TR/xml/).

The XML document type declaration contains or points to markup declarations that provide a grammar for a class of documents. This grammar is known as a document type definition, or DTD. The document type declaration can point to an external subset (a special kind of external entity) containing markup declarations, or can contain the markup declarations directly in an internal subset, or can do both. The DTD for a document consists of both subsets taken together.

DTDs were also specified in SGML (ISO 8879:1986), the forbear to XML. SGML DTDs are more feature-rich than XML DTDs, allowing for example the specification of tag minimization features.

References:

1433 questions
-2
votes
1 answer

why my xpath query doesn't work?

my DTD and XML:
-2
votes
2 answers

XPATH find a node if no other node has a sertin value

i need to return all of the book only if ther is no book with the price of 14.95.... the DTD
mosheovadi1
  • 73
  • 12
-3
votes
1 answer

syntax for attribute type of an img src file in DTD

When I validate my DTD file, I get this error --> Attribute type must be declared for element type profile. How should I edit my DTD file to remove this error? External DTD !ELEMENT profile ANY XML file
-3
votes
1 answer

Xml dtd file Iso8583 acceptable or not

I have to send an isoMessage 8583 in c#. I constructed the XML file like below Do not pay attention the length of the fields, I just want to know if this is acceptable? This is my xml file
chatay
  • 151
  • 3
  • 12
-3
votes
1 answer

How to generate DTD from XML?

Can a DTD be generated from an XML file using Python?
farah
  • 9
  • 2
-4
votes
1 answer

different XML types

I need just simple definitions of these XML types: DOM, SAX, XPath, XSL, XSLT, XML Schema, DTD where these above xml are used? I will appreciate any help
Phillipa
  • 55
  • 1
  • 10
-4
votes
2 answers

dtd/xml- what am I doing wrong?

I am really struggling with writing the dtd for some xml code. Despite reading up on this I am stuck as to where I am going wrong. Any advice would be gratefully received. I know it is basic but I am new to this and it is not clicking. Here is the…
-5
votes
1 answer

Using xml to display a table on a page

I am trying to display a table using xml on an html page. Basically the: xml will serve as the file that will store the data to be out putted on the table the dtd file that defines the datatype of the listing and an xsl file that would tell the…
user3215045
  • 75
  • 1
  • 11
1 2 3
95
96