[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: new line setting
  • From: Tsuyoshi Moriyama <tmoriyam@c...>
  • Date: Tue, 8 Jul 2003 14:20:52 -0400
  • Mmdf-warning: Parse error in original version of preceding line at postoffice.srv.cs.cmu.edu
  • Organization: Robotics Institute, Carnegie Mellon University
  • Reply-to: Tsuyoshi Moriyama <tmoriyam@c...>

Hello,

I have 2 questions. If you could help me out, it is appreciated.:

1. new line problem
I tried DOMWriter::setNewLine(X("#xD#xA")); but it didn't work.
Could anyone tell me how I could change the new line code
so that the resultant document returned at the end of each
line?

I tried DOMWriter:setNewLine("CR-LF"); as well but ended
up likewise.

2. how can I produce DTD?
I couldn't find any samples for producing DTD when creating
XML document using DOMWriter. Is there anyway to do this
or was it (DTD itself) permanently got rid of from the
standard?

[environment]
VC++ 6.0 SP5, Win2k, Xerces C++ 2.3.0

Best regards,

Tsuyoshi Moriyama
tmoriyam@c...

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member