Hi,
i've got a problem processing XML documents without namespace declaration. The instances created from those documents "inherit" all the namespaces from the XForms page. Is there a way to keep the instance "clean" of all namespaces or to remove them completely using a XPL pipeline? Thanks in advance florian -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Florian,
If you are in XPL you can remove namespaces like this .... <p:processor name="oxf:xslt"> <p:input name="data" href="#instance"/> <p:input name="config"> <xsl:stylesheet version="2.0"> <xsl:import href="oxf:/oxf/xslt/utils/copy.xsl"/> <xsl:template match="/"> <xsl:copy-of select="." copy-namespaces="no"/> </xsl:template> </xsl:stylesheet> </p:input> <p:output name="data" id="stripped-instance"/> </p:processor> Hope this helps. Steve Florian Schmitt wrote: Hi, -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws slenhart.vcf (299 bytes) Download Attachment |
Hi Steve,
2007/3/29, Steve Lenhart <[hidden email]>:
thank you for your help, i will try it. florian -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |