Hi David,
You can preprocess with a style sheet as follows:
<?xml version="1.0"?>
<xsl:transform version="1.0"
xmlns:ns0="..."
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"
indent="no"
version="1.0"
encoding="UTF-8"
omit-xml-declaration="yes"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="ns0:*">
<xsl:apply-templates/>
</xsl:template>
</xsl:transform>
This will "look through" the foreign namespace.
A similar template matching any non-Microsoft namespace could also be added
to the WordML to XSL-FO style sheet, or in this one for that matter.
Regards,
Werner.
Laub, David wrote:
> I note that the RenderX free WordML-> fo stylesheet works great on
> WordML documents created from scratch - BUT when I create a WordML
> document/template around an existing XML file (using the WordML SDK
> stylesheet inference tool), the resulting WordML file preserves these
> existing XML tags (a good thing) within a namespace (typically named
> ns0:xyz) - unless I strip out the embedded namespace tags (by either
> manually removing then, or saving the file to rtf, then resaving it back
> to xml), the free Renderx fo formatter will not work - is there a more
> sophisticated tool you will provide to your paying customers?
>
> Thanks
>
> David Laub
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
>
>
-- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: werner.donne@re.be ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.htmlReceived on Mon Apr 11 08:39:23 2005
This archive was generated by hypermail 2.1.8 : Mon Apr 11 2005 - 08:39:24 PDT