I'm confused regarding the note on expansion below on the Features Page.
Does it not _only_ apply when the default Xerces node is used?
http://apache.org/xml/features/dom/defer-node-expansion
True: Lazy DOM node expansion.
False: Full DOM node expansion.
Default: true
Note: This
Regarding my question on how to parse out a value from an XML string: The
following is the method I use to create the string:
To create my XML String, I call the following method from a JSP.
The method passes a stored procedure from an Oracle database to an EJB that
actually generates the XML
How do you get that string ? from a file ?
[EMAIL PROTECTED] schrieb:
>
> Hello,
>
> I am brand new to xml and parsing with Xerces.
>
> I have an XML String in a Java class that looks like this:
>
>
>
> <_data>
> <_record>
>
>
>
>
>
>
> All I want to do is pull out the value for CLUSTE
Hello,
I am brand new to xml and parsing with Xerces.
I have an XML String in a Java class that looks like this:
<_data>
<_record>
All I want to do is pull out the value for CLUSTER_ID, which is "22165" so
I can assign it to a variable.
I have a Xerces parser class and imported
this s
TED]>
Sent: Tuesday, March 13, 2001 7:57 AM
Subject: Question
> Hi All,
>
> I am using apache.xerces.parsers.DOMParser to parse xml documents. I
noticed
> when it is parsing any element content, it will ignore or throw away the
> newline character. Can anyone tell me why it is doi
Hi All,
I am using apache.xerces.parsers.DOMParser to parse xml documents. I noticed
when it is parsing any element content, it will ignore or throw away the
newline character. Can anyone tell me why it is doing that and how do I make
it not to ignore the character??
Thanks
Patrick
Hello,
First I would suggest U to set Ur class path according to either JAXP or
xerses. though both contain the same files. set it to include the jaxp.jar file
in the jaxp directory. Then U have to use the APIs in the file jaxp.jar. But in
case U only need the desired content to be printed, then
ÿþ<