I want to make changes to existing XML files based on Microsoft Word in FME Desktop 2015, for that I use the XMLReader (Elements to Match: *; Flattening enabled and using the workflow Option Single Merged FT) and the XMLWriter.
All I did by now is connecting the reader and the writer to get an exact copy of the XML file, but it creates an XML File including tags (<fme:*>) that I don't want to be in there.
For example:
<fme:xml-tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fme="http://www.safe.com/xml/xmltables" xsi:schemaLocation="http://www.safe.com/xml/xmltables FME_EDDH2_Testfile.xsd"> <fme:family-table> <fme:family> <Relationship xmlns="http://schemas.openxmlformats.org/package/2006/relationships" Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/> <fme:xml_id>id-Relationship-1.1.1.1.1</fme:xml_id> <fme:xml_matched_element>Relationship</fme:xml_matched_element> <fme:xml_parent_child_pos>0</fme:xml_parent_child_pos> <fme:xml_parent_id>id-Relationships-1.1.1.1</fme:xml_parent_id> <fme:Relationship.Type>http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties</fme:Relationship.Type> <fme:Relationship/> <fme:Relationship.Id>rId3</fme:Relationship.Id> <fme:Relationship.Target>docProps/app.xml</fme:Relationship.Target> <fme:Relationships.xmlns>http://schemas.openxmlformats.org/package/2006/relationships</fme:Relationships.xmlns> </fme:family> </fme:family-table> </fme:xml-tables>
Is it possible to create such a copy with the XML Reader/Writer? Am I missing a setting?I also noticed that the declaration
<?mso-application progid="Word.Document"?>
was missing in the created XML file and I can't find it in the User Attributes.
Any help is appreciated
Melanie