[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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. that's Interface Node Normalize() 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 nodes. <?xml version="1.0"?> <root> <CoApplicantMain Value="2"> <CoApplicant> <ConsumerInfo> <Salutation>Mr</Saluta me> <OtherIncomeSource>Business</OtherIncomeSource> <MonthlyHousingPayment>2000</Monthl fAcctNum>4400</CreditRefAcctNum> </CreditReference> <CreditReference> <CreditRefName>CR > <BankRefPhone>87113123</BankRefPhone> <BankRefDateOpened>19980505</BankRefDateOpened> y>Norwood</City> <State>MA</State> <PostalCode>02062</PostalCode> <Country>USA</Country reditReferenceMain Value="2"> <CreditReference> <CreditRefName>CRDReference1</CreditRef RefAcctNumber>12132 </BankRefAcctNumber> <BankRefAcctBalance>35000</BankRefAcctBalance> it's fairly obvious take for example the first line <root> <CoApplicantMain Value="2"> <CoApplicant> <ConsumerInfo> <Salutation>Mr</Saluta now after normalization it should be <root><CoApplicantMain Value="2"><CoApplicant><ConsumerInfo><Salutation>Mr</Saluta with no dangling whitespaces. can anybody help?/ thanks shravan XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Variables and inherited attribu, T_MULLEN 58211 6th S | Thread | Space at start of result., Bruce McGuire |
Re: automatic hyperlink with XSLT ?, Jeni Tennison | Date | Re: How to generate char ",, Dan Morrison |
Month |
Keywords