Difference between revisions of "User talk:Mihi"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
Yours Jacob |
Yours Jacob |
||
--[[User:Jacob Nordfalk|Jacob Nordfalk]] 07:48, 25 February 2009 (UTC) |
--[[User:Jacob Nordfalk|Jacob Nordfalk]] 07:48, 25 February 2009 (UTC) |
||
:''Yeah, .xsd should be XML Schema Definition (at least that is the common three-letter extension I know for those files), and that is what I usually see when I work with XML files. But JAXB can also use a DTD or a Relax NG Schema as an input file. And, last but not least, there are several free tools available that can convert DTD to Relax NG and Relax NG to XSD, and some even can convert a bunch of sample XML files to one of the three formats mentioned above (by interfering the structure automatically; this usually needs manual editing but is a good start).'' |
|||
:''If you don't even have that, you can still use XML DOM (you might know this from JavaScript or from other languages) to parse XML into a tree structure. Compared to JAXB, it is quite tedious and error-prone, though.'' --[[User:Mihi|Mihi]] 20:46, 25 February 2009 (UTC) |
Latest revision as of 23:19, 28 February 2009
Hi Mihi,
Thanks for your suggestion.
We don't have any .xsd ( XML Schema ??) files, only DTDs (and they might later be changed to relaxng).
Would you like to contribute? Im not really into XML, so any help would be appreciated.
Yours Jacob --Jacob Nordfalk 07:48, 25 February 2009 (UTC)
- Yeah, .xsd should be XML Schema Definition (at least that is the common three-letter extension I know for those files), and that is what I usually see when I work with XML files. But JAXB can also use a DTD or a Relax NG Schema as an input file. And, last but not least, there are several free tools available that can convert DTD to Relax NG and Relax NG to XSD, and some even can convert a bunch of sample XML files to one of the three formats mentioned above (by interfering the structure automatically; this usually needs manual editing but is a good start).
- If you don't even have that, you can still use XML DOM (you might know this from JavaScript or from other languages) to parse XML into a tree structure. Compared to JAXB, it is quite tedious and error-prone, though. --Mihi 20:46, 25 February 2009 (UTC)