OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   new line setting

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: new line setting
  • From: Tsuyoshi Moriyama <tmoriyam@cs.cmu.edu>
  • 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@cs.cmu.edu>

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@cs.cmu.edu




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS