Re: XML format with JTidy

> There is an option "-wrap" where you can set the wrap size. The default is 68 columns,
> I guess.

> XML format with JTidy
>
> From: Martin Dulisch (mdulisch@s-und-n.de)
> Date: Fri, Jul 19 2002
>
> *Next message: Charles Reitzel: "Re[2]: converting Word2000 and Word97 documents"
>
>    * Previous message: Terry Teague: "Re: converting Word2000 and Word97 documents"
>    * Next in thread: Charles Reitzel: "Re: XML format with JTidy"
>    * Reply: Charles Reitzel: "Re: XML format with JTidy"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]
>
>   ------------------------------------------------------------------------
>
> Message-ID: <023a01c22f0f$ff6b9250$54020a0a@hw0273>
> From: "Martin Dulisch" <mdulisch@s-und-n.de>
> To: <html-tidy@w3.org>
> Date: Fri, 19 Jul 2002 12:34:48 +0200
> Subject: XML format with JTidy
>
> Hello,
>
> I am new on this list so I hope it is the right place to ask.
>
> I am formationg xml files with JTidy. I have 2 questions to the result of
> the format. Here is a example output:
>
> >>>
> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
> targetNamespace="http://apache.org/cocoon/sitemap/1.0"
> xmlns="http://apache.org/cocoon/sitemap/1.0">
>   <xsd:element name="sitemap" type="sitemapType" />
>
>   <xsd:complexType name="sitemapType">
>     <xsd:sequence>
>       <xsd:element name="components" type="componentsType" />
>
>       <xsd:element name="views" type="viewsType" />
>
>       <xsd:element name="resources" type="resourcesType" />
>
>       <xsd:element name="pipelines" type="pipelinesType" />
>     </xsd:sequence>
>   </xsd:complexType>
> <<<<
>
> - Why are some elements divided with blank lines? Other parts of the output
> have no blank lines.
>
> - When elements are wrapped, can the folowing lines (attributes in the
> first 3 lines) be indented? I know the option for a linebreak for each
> attribute. But I am searching for a possibility to have more than one
> attribute in one line.
>
> Thanks
> Martin
>
>   ------------------------------------------------------------------------
>
>    * Next message: Charles Reitzel: "Re[2]: converting Word2000 and Word97 documents"
>    * Previous message: Terry Teague: "Re: converting Word2000 and Word97 documents"
>    * Next in thread: Charles Reitzel: "Re: XML format with JTidy"
>    * Reply: Charles Reitzel: "Re: XML format with JTidy"
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>    * Other mail archives: [this mailing list] [other W3C mailing lists]
>    * Mail actions: [ respond to this message ] [ mail a new topic ]

Received on Wednesday, 31 July 2002 04:34:51 UTC