[no subject]

From: "Shravan K. Mishra" <con_smishra@xxxxxxxxxxx>
Date: Tue, 20 Jun 2000 12:33:36 -0400

hi ,

i'm using xerces parser.

when i do doc.normalize();
where doc is a Document object

it's not functioning the way it should.

Interface Node

          Puts all Text nodes in the full depth of the sub-tree underneath
this Node , including attribute nodes, into a "normal" form where only
markup (e.g., tags, comments, processing instructions, CDATA sections, and
entity references) separates Text nodes, i.e., there are neither adjacent
Text nodes nor empty Text nodes.

this is just a part of xml but on serialization i still see empty text

<?xml version="1.0"?>
<root> <CoApplicantMain Value="2">  <CoApplicant> <ConsumerInfo>
me> <OtherIncomeSource>Business</OtherIncomeSource>
fAcctNum>4400</CreditRefAcctNum> </CreditReference> <CreditReference>
> <BankRefPhone>87113123</BankRefPhone>
y>Norwood</City> <State>MA</State> <PostalCode>02062</PostalCode>
reditReferenceMain Value="2"> <CreditReference>
RefAcctNumber>12132 </BankRefAcctNumber>

it's fairly obvious

take for example the first line

<root> <CoApplicantMain Value="2">  <CoApplicant> <ConsumerInfo>

now after normalization it should be


with no dangling whitespaces.

can anybody help?/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread
  • [no subject]
    • Shravan K. Mishra - Tue, 20 Jun 2000 12:33:36 -0400 <=