XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Brightman MkhwanaziSubject: 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.


UnknownSchemas(5).zip
Schemas

Posttop
Alberto MassariSubject: Document created from schema
Author: Alberto Massari
Date: 01 Oct 2008 03:52 PM
Hi Brightman,
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:".

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.