[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-j-user
Subject: Re: Name-value pairs in xml root tag
From: govelogo <govelogo () gmail ! com>
Date: 2009-06-30 11:49:15
Message-ID: 926107330906300449s28476b8bvcf0b77fe66c3ccc7 () mail ! gmail ! com
[Download RAW message or body]
They are just what I want. Thanks a lot. -david
On Mon, Jun 29, 2009 at 10:40 PM, Michael Glavassevich
<mrglavas@ca.ibm.com>wrote:
> Namespace declarations are normally reported in SAX through the
> startPrefixMapping() [1] and endPrefixMapping() [2] callbacks.
>
> [1]
> http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,%20java.lang.String)
> [2]
> http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
> govelogo <govelogo@gmail.com> wrote on 06/29/2009 01:39:29 PM:
>
>
> > I used the sample handler in jaxp.TypeInfoWriter. Looks like it
> > should be straight forward; I must have overlooked sth ... Can you
> > just quickly point out which object I should use?
>
> >
> > thanks a lot,
> > David
>
> > On Mon, Jun 29, 2009 at 2:07 PM, <keshlam@us.ibm.com> wrote:
> > Those are all namespace declarations. If you register the right SAX
> > handler, you should have no trouble seeing them.
> >
> > ______________________________________
> > "... Three things see no end: A loop with exit code done wrong,
> > A semaphore untested, And the change that comes along. ..."
> > -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
> > http://www.ovff.org/pegasus/songs/threes-rev-11.html)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> > For additional commands, e-mail: j-users-help@xerces.apache.org
>
>
[Attachment #3 (text/html)]
They are just what I want. Thanks a lot. -david<br><br><div class="gmail_quote">On \
Mon, Jun 29, 2009 at 10:40 PM, Michael Glavassevich <span dir="ltr"><<a \
href="mailto:mrglavas@ca.ibm.com">mrglavas@ca.ibm.com</a>></span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"><div> <p><tt>Namespace declarations are normally reported in \
SAX through the startPrefixMapping() [1] and endPrefixMapping() [2] \
callbacks.</tt><br> <br>
<tt>[1] <a href="http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,%20java.lang.String)" \
target="_blank">http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,%20java.lang.String)</a></tt><br>
<tt>[2] <a href="http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)" \
target="_blank">http://xerces.apache.org/xerces2-j/javadocs/api/org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)</a></tt><br>
<br>
<tt>Michael Glavassevich<br>
XML Parser Development<br>
IBM Toronto Lab<br>
E-mail: <a href="mailto:mrglavas@ca.ibm.com" \
target="_blank">mrglavas@ca.ibm.com</a></tt><br> <tt>E-mail: <a \
href="mailto:mrglavas@apache.org" target="_blank">mrglavas@apache.org</a></tt><br> \
<br> <tt>govelogo <<a href="mailto:govelogo@gmail.com" \
target="_blank">govelogo@gmail.com</a>> wrote on 06/29/2009 01:39:29 \
PM:</tt></p><tt><div><div></div><div class="h5"><br> <br>
> I used the sample handler in jaxp.TypeInfoWriter. Looks like it <br>
> should be straight forward; I must have overlooked sth ... Can you <br>
> just quickly point out which object I should use? \
</div></div></tt><div><div></div><div class="h5"><br> <tt>> <br>
> thanks a lot,</tt><br>
<tt>> David<br>
</tt><br>
<tt>> On Mon, Jun 29, 2009 at 2:07 PM, <<a href="mailto:keshlam@us.ibm.com" \
target="_blank">keshlam@us.ibm.com</a>> wrote:</tt><br> <tt>> Those are all \
namespace declarations. If you register the right SAX<br> > handler, you should \
have no trouble seeing them.<br> > <br>
> ______________________________________<br>
> "... Three things see no end: A loop with exit code done wrong,<br>
> A semaphore untested, And the change that comes along. ..."<br>
> -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (<br>
> <a href="http://www.ovff.org/pegasus/songs/threes-rev-11.html" \
target="_blank">http://www.ovff.org/pegasus/songs/threes-rev-11.html</a>)<br> > \
<br> > ---------------------------------------------------------------------<br>
> To unsubscribe, e-mail: <a href="mailto:j-users-unsubscribe@xerces.apache.org" \
target="_blank">j-users-unsubscribe@xerces.apache.org</a><br> > For additional \
commands, e-mail: <a href="mailto:j-users-help@xerces.apache.org" \
target="_blank">j-users-help@xerces.apache.org</a></tt><tt><br> \
</tt></div></div><p></p></div></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic