"Decoker, Lydie \(Lydie\)" <[EMAIL PROTECTED]> wrote on 10/11/2006
09:32:39 AM:
> Hello!
>
> I am using now the LSParser (in order to get rid of the empty text
> node) adn LSParserFilter.
> I am trying to replicate what I was doing with the DocumentBuilder.
> To augment my xml with the default values, the feature I had set was:
>
> domFactory.setFeature("http://apache.
> org/xml/features/validation/schema/element-default",true);
> Is there something similar for DOMImplementationLS used to create
> the LSParser?
See DOMConfiguration [1]. This is what you use to configure [2] an
LSParser.
> Thx in advance,
>
> Lydie
[1] http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration
[2]
http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/load-save.html#LS-LSParser-config
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]