how to remove namespaces in instance during serialization?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

how to remove namespaces in instance during serialization?

vernekap
Hi

I only using xforms conversion part of orbeon in my webapp. when I serialize instance, namespaces are serialized as well. I want to remove them without serializing.

I saw this earlier post:
http://www.nabble.com/Instance-inherits-xforms-namespaces-td9733388.html#a9733388

However since I am not using XPL, I can not use it.

with regards
Pralhad
Reply | Threaded
Open this post in threaded view
|

Re: how to remove namespaces in instance during serialization?

Erik Bruchez
Administrator
Pralhad,

Do you mean extra namespaces, or namespace actually used by your  
instance? Do you have an example?

-Erik

On Apr 16, 2009, at 6:30 AM, vernekap wrote:

>
> Hi
>
> I only using xforms conversion part of orbeon in my webapp. when I  
> serialize
> instance, namespaces are serialized as well. I want to remove them  
> without
> serializing.
>
> I saw this earlier post:
> http://www.nabble.com/Instance-inherits-xforms-namespaces-td9733388.html#a9733388
>
> However since I am not using XPL, I can not use it.
>
> with regards
> Pralhad
> --
> View this message in context: http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23078029.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: how to remove namespaces in instance during serialization?

vernekap
Hi Erik

I want to remove namespaces which are added by filter e.g. xhtml, XInclude, widget, xxforms etc.


Pralhad

Erik Bruchez wrote
Pralhad,

Do you mean extra namespaces, or namespace actually used by your  
instance? Do you have an example?

-Erik

On Apr 16, 2009, at 6:30 AM, vernekap wrote:

>
> Hi
>
> I only using xforms conversion part of orbeon in my webapp. when I  
> serialize
> instance, namespaces are serialized as well. I want to remove them  
> without
> serializing.
>
> I saw this earlier post:
> http://www.nabble.com/Instance-inherits-xforms-namespaces-td9733388.html#a9733388
>
> However since I am not using XPL, I can not use it.
>
> with regards
> Pralhad
> --
> View this message in context: http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23078029.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: how to remove namespaces in instance during serialization?

Alessandro Vernet
Administrator
Pralhad,

Are you talking about the namespace declarations (e.g. xmlns:xforms=...)?

Alex

On Thursday, April 16, 2009, vernekap <[hidden email]> wrote:

>
> Hi Erik
>
> I want to remove namespaces which are added by filter e.g. xhtml, XInclude,
> widget, xxforms etc.
>
>
> Pralhad
>
>
> Erik Bruchez wrote:
>>
>> Pralhad,
>>
>> Do you mean extra namespaces, or namespace actually used by your
>> instance? Do you have an example?
>>
>> -Erik
>>
>> On Apr 16, 2009, at 6:30 AM, vernekap wrote:
>>
>>>
>>> Hi
>>>
>>> I only using xforms conversion part of orbeon in my webapp. when I
>>> serialize
>>> instance, namespaces are serialized as well. I want to remove them
>>> without
>>> serializing.
>>>
>>> I saw this earlier post:
>>> http://www.nabble.com/Instance-inherits-xforms-namespaces-td9733388.html#a9733388
>>>
>>> However since I am not using XPL, I can not use it.
>>>
>>> with regards
>>> Pralhad
>>> --
>>> View this message in context:
>>> http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23078029.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23090927.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: how to remove namespaces in instance during serialization?

Erik Bruchez
Administrator
In reply to this post by vernekap
Try:

   <xforms:instance xxforms:exclude-result-prefixes="#all">

or with explicit prefixes e.g.:

   <xforms:instance xxforms:exclude-result-prefixes="pipeline xhtml  
xforms xs xsi ev xi xxi xxforms fr fb saxon xbl exforms">

-Erik

On Apr 16, 2009, at 9:36 PM, vernekap wrote:

>
> Hi Erik
>
> I want to remove namespaces which are added by filter e.g. xhtml,  
> XInclude,
> widget, xxforms etc.
>
>
> Pralhad
>
>
> Erik Bruchez wrote:
>>
>> Pralhad,
>>
>> Do you mean extra namespaces, or namespace actually used by your
>> instance? Do you have an example?
>>
>> -Erik
>>
>> On Apr 16, 2009, at 6:30 AM, vernekap wrote:
>>
>>>
>>> Hi
>>>
>>> I only using xforms conversion part of orbeon in my webapp. when I
>>> serialize
>>> instance, namespaces are serialized as well. I want to remove them
>>> without
>>> serializing.
>>>
>>> I saw this earlier post:
>>> http://www.nabble.com/Instance-inherits-xforms-namespaces-td9733388.html#a9733388
>>>
>>> However since I am not using XPL, I can not use it.
>>>
>>> with regards
>>> Pralhad
>>> --
>>> View this message in context:
>>> http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23078029.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23090927.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: how to remove namespaces in instance during serialization?

vernekap

It worked!
thanks


Erik Bruchez wrote
Try:

   <xforms:instance xxforms:exclude-result-prefixes="#all">

or with explicit prefixes e.g.:

   <xforms:instance xxforms:exclude-result-prefixes="pipeline xhtml  
xforms xs xsi ev xi xxi xxforms fr fb saxon xbl exforms">

-Erik

On Apr 16, 2009, at 9:36 PM, vernekap wrote:

>
> Hi Erik
>
> I want to remove namespaces which are added by filter e.g. xhtml,  
> XInclude,
> widget, xxforms etc.
>
>
> Pralhad
>
>
> Erik Bruchez wrote:
>>
>> Pralhad,
>>
>> Do you mean extra namespaces, or namespace actually used by your
>> instance? Do you have an example?
>>
>> -Erik
>>
>> On Apr 16, 2009, at 6:30 AM, vernekap wrote:
>>
>>>
>>> Hi
>>>
>>> I only using xforms conversion part of orbeon in my webapp. when I
>>> serialize
>>> instance, namespaces are serialized as well. I want to remove them
>>> without
>>> serializing.
>>>
>>> I saw this earlier post:
>>> http://www.nabble.com/Instance-inherits-xforms-namespaces-td9733388.html#a9733388
>>>
>>> However since I am not using XPL, I can not use it.
>>>
>>> with regards
>>> Pralhad
>>> --
>>> View this message in context:
>>> http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23078029.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/how-to-remove-namespaces-in-instance-during-serialization--tp23078029p23090927.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws