XML Parser API
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   N_S
Posted On:   Tuesday, September 17, 2002 11:49 PM

hi

i am having a small doubt in xml parsing.

the problem is... there is an XML file

which has an empty tag as

This amount element has only unit attribute but no text element.

So now when I parse this element,and get the resultant document,

it shows the amount tag as .
It truncates the
part.

I want to know, is there any method in XML API which can keep the
element as it is...
i.e., even after parsing.


Thanks,

NS.

Re: XML Parser API

Posted By:   Thomas_Hackel  
Posted On:   Tuesday, September 17, 2002 11:58 PM

i don't know if there is such an option. IMHO there is no need for such an option because is the SAME as . its intuitive and better readable, so why we should keep more characters when we dont need them? most of the XMLEditors (xmlspy etc) allways removing the unnecessary tags... so dont get used to!!! :))))
About | Sitemap | Contact