Patrick,

This is one of the issues addressed by Canonical XML [1] and Exclusive XML 
Canonicalization [2].
[1]  http://www.w3.org/TR/xml-c14n
[2]  http://www.w3.org/TR/xml-exc-c14n/

Best,

Ari Kermaier    [EMAIL PROTECTED]
Sr. Software Engineer
Phaos Technology Corp.  http://www.phaos.com/


At 10:20 AM 7/30/02 -0700, Patrick Andries wrote:

>----- Original Message -----
>From: "bob mcwhirter" [EMAIL PROTECTED]
>
>
> >
> > I really don't understand the question.
> >
> > If your xpath selects a node that has a namespace, then you get that node,
> > along with its namespace.
>
>Yes, this is true. Sorry for the confusion (I should have spoken of
>namespace declarations, I suppose), let me try to explain.
>
>Let's say I have a document
><cxml:MeasureDoc xmlns:cxml="http://<domain>/schemas/CXML_V1.0" ..>
>....
><cxml:Section>
>Content
></cxml:Section>
>...
></cxml:MeasureDoc>
>
>and I select all the sections, I will then obtain this :
>
><cxml:Section>
>Content
></cxml:Section>
>
>what I would like to be produced (at serializiation time)  is this :
>
><cxml:Section xmlns:cxml="http://<domain>/schemas/CXML_V1.0">
>Content
></cxml:Section>
>
>and so on for each name space used. This may be a bad idea. If not, I don't
>see how my Apache serializer could come up with this kind of information. So
>I thought, perhaps a bit naively, that the process stripping the namespace
>declarations could regenerate them when the namespace was used.
>
>
>Patrick Andries
>
>  -  o - o - o - o - o - o - o - o - o - o - o -
>  Tout Unicode en français
>(texte complet du standard, annotation, noms officiels français des noms de
>caractère)
>http://hapax.iquebec.com
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: Dice - The leading online job board
>for high-tech professionals. Search and apply for tech jobs today!
>http://seeker.dice.com/seeker.epl?rel_code=31
>_______________________________________________
>Jaxen-interest mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jaxen-interest



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to