[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: How to tidy/nice XML?
Hi, What tools are available to tidy the XML document? I am considering to use ''tidy''; but could not find examples in the manual. I have two problems when using ''tidy -i -w 70 -xml": First, it will screw <programlisting> . Is there any tidy option to ignore this? Second, somehow ''tidy'' will joint </foreignphrase> with the next word. What is the REGEX for splitting from ''</foreignphrase>and'' to ''</foreignphrase>[SPACE]and''? I can find ''</foreignphrase>a'' with ''/<\/\w+>\w/'' but I have no idea on how to split it!? Any clue? -- EL6.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]