Mail Archive Home | xmlc List | May 2007 Index
RE: [xmlc] xmlc2.3 include-ignorable-whitespace feature
- Subject: RE: [xmlc] xmlc2.3 include-ignorable-whitespace feature
- From: 石鑫 <shixin129@xxxxxxx>
- Date: Thu, 24 May 2007 16:09:52 +0800
I have some html pages like this :
and use "xmlcObject.getElementDemoList().getChildNodes()" to get all <li> elements,
but in xmlc2.3 the "getChildNodes()" return a NodeList contains org.w3c.dom.Text Object.
Now I use "xmlcObject.getElementDemoList().getElementsByTagName("li")" instead.
XMLC is compatible with OSGi , XMLCObject can be easily uesed in OSGi HTTP Service or in Eclipse RCP , but jsp can't.
I use XMLC with OSGi for a long time, it work very well.
Sorry for my weak english.
> Date: Thu, 24 May 2007 01:37:13 -0500
> To: xmlc@xxxxxxxxxxxxx
> From: hoju@xxxxxxxx
> Subject: Re: [xmlc] xmlc2.3 include-ignorable-whitespace feature
> Well, right now it isn't configurable, though it
> could be added as an option in the metadata in
> the future. Can you explain why you need
> ignorable whitespace to be included? The DTD
> defines whitespace as ignorable or not. Why
> would it lie? Can I assume you are using
> XHTML? Please describe what is getting broken so
> I can better understand the problem. And are you
> using XMLC's DOMFormatter to output your markup or some other mechanism?
> BTW, I'm curious, how are you using OSGI with XMLC?
> At 07:53 PM 5/23/2007, you wrote:
> > I upgrade my application (xmlc + osgi) to
> > xmlc 2.3 , then I found that
> > "include-ignorable-whitespace" feature default
> > is false. I can't find how to configure.
> > Who have a good idea?
> > Curry
> >通过 Live.com
> >You receive this message as a subscriber of the
> >xmlc@xxxxxxxxxxxxx mailing list.
> >To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
> >For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> >ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
使用下一代的 MSN Messenger。 立即尝试！
- RE: [xmlc] xmlc2.3 include-ignorable-whitespace feature,
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.