Subject:Document created from schema Author:Brightman Mkhwanazi Date:29 Sep 2008 03:51 PM
I have modified GS1 Order schemas to be referenced from the StandardBusinessDocumentHeader.xsd schema. I use stylus studio wizzard (xml schema to xml) to generate a sample xml. The message tag must have <eanucc:message> prefix and the document generated from the schema does not have that. Can you help me on this. I have attached original schema's from GS1, Schemas I have modified and the sample xml from GS1.
Subject:Document created from schema Author:(Deleted User) Date:01 Oct 2008 03:52 PM
the "XMLSchema to XML" wizard generates unique prefixes for the XML instance (like p1, p2, and so on). If you need a specific namespace prefix, you can change the xmlns:p1="..." into xmlns:eanucc="..." and then perform a global search & replace to change "p1:" into "eanucc:".