There are also some tools that you can use to generate XSLT for
formatting output based on the structure defined in your DTD. Check
out Altova StyleVision: http://www.altova.com/products/stylevision/xslt_stylesheet_designer.com
Also feel free to contact me off-list if you have any questions...
Hope this helps!
Liz
On Mar 3, 2009, at 7:21 PM, "Christopher R. Maden" <>
wrote:
> Graeme Kidd wrote:
>> Does anyone know how certain formatting can be forced onto an XML
>> file via
>> a DTD file?
>
> It can't. A DTD describes the legal syntax for XML documents of a
> given
> type; it has nothing whatsoever to do with formatting.
>
> It sounds like the particular tool you are using - which you did not
> name
> - may have settings for line wrapping by element type, which they
> might
> have described as "on a DTD basis" or something like that.
>
> ~Chris
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe:
> subscribe:
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>