Re: XML formatting question.
Tech-Archive recommends: Fix windows errors by optimizing your registry
Which XML parser are you using? Most of the one's I've seen have a separate
XML formatter (SAX parser?) that allows you to set up the format for how
files are written. In any event, except for visual it doesn't matter how
the file is written.
Tom
"fiveight" <fiveight@xxxxxxx> wrote in message
news:64C953E8-1A2D-4839-A5B4-6B1C07A63E7C@xxxxxxxxxxxxxxxx
Hi All:
For example, I load a XML file with DOM. XML file like this:
<root a="a" b="b"/>
Then I want to save and format this file like this:
<root
a="a"
b="b"
/>
But I find that I can not insert CR and Tab char between attributes. Help
me, please!
Fiveight
.
Relevant Pages
- Re: Sane Syntax
... vital role in the future of TeX but we need some more human friendly ... Generating well formed LaTeX2e documents from XML ... Another approach is to convert existing documents to XML format and go ... TEI, together with DocBook, are the two ... (comp.text.tex) - Re: XHTML vs HTML
... to be the predominant type of HTML used on the web for many years yet. ... First, it is XML. ... XHTML is also ... transformed using XSL from and into virtually *any* other data format. ... (microsoft.public.frontpage.programming) - Re: text to bibliography?
... to xml: you can store binary data in an xml file. ... including your well-formattedbibliography(no longer in xml format). ... It is in annotated bibliographies (something Word 2007 does not ... that %I is actually the field representing the publisher. ... (microsoft.public.word.docmanagement) - Re: Future of LISP. Alternative to XML. Web 3.0?
... using s-expressions instead of XML, nobody is going to use it, ... because it's cheaper to keep the existing XML software and continue ... XML-MAIDEN format or to HTML format and next displayed via standard ... or a CanonML or LISP browser. ... (comp.lang.lisp) - Re: Data table text I/O package?
... It has bracketing: rows and columns. ... As a medium XML is as awful as readable. ... > tell you not to use an internal type when it suits your application. ... is irrelevant to the data format used. ... (comp.lang.ada) |
|