Questions tagged [dtd]

6 questions
8
votes
4 answers

Software for editing XML

I need a piece of software to allow me to create XML from a DTD. I don't want to have to see the actually XML at all though. I would like something that generates a GUI based on the DTD and allows me to edit from there. Is there anything like this…
thinksocrates
  • 269
  • 3
  • 6
1
vote
0 answers

Custom Dreamweaver DocTypes

Dreamweaver CS5 with Dreamweaver HTML5 Pack 1.2.7 Windows 7 x64 When I go to create a new document and select the HTML5 DocType, Dreamweaver gives me the legacy encoding/character set declaration:
Hugh Guiney
  • 111
  • 5
1
vote
1 answer

Is there a program like poEdit for Firefox extension localization files DTD?

I want to help translate Fx extension into my language but i noticed that Fx does not use .po files. It is using dtd files. Is there a program to help me translate these kind of files?
malhobayyeb
  • 513
  • 2
  • 5
  • 18
0
votes
1 answer

how to set default values for attributes in xml

How do i set default values for attributes in xml. Consider below test.xml. An attribute 'gender' with default value 'male' has been defined for element 'to'. I am however unable to retrieve it using xmlstarlet. Am i doing something wrong? Please…
Kaushik
  • 1
  • 1
0
votes
1 answer

DTD or XSD for XML attribute where enumeration list includes null

My goal/question is to understand how to create DTD or Schema for XML where an enumeration of values for an attribute can include null as a valid value. The W3C spec for XML defines attribute validity constraints, one of which is an Enumeration.…
TonyG
  • 210
  • 2
  • 10
0
votes
0 answers

How to use a DTD with an XML file

I have a DTD file and an XML file. I referred to the DTD file in the XML file using the following statement referring to this website. . When I try to import the XML file into Excel using XML Data import…
Prasanna
  • 4,036
  • 5
  • 34
  • 51