Hi
I have access to a large xml schema namespace which has complicated
references, structures, etc for all sorts of things. Amongst which are
personDetails, and their UK postal address. What I would like to do is
see what sort of instance document I need to create to test it's
validity against this complex schema. The xml schema does not have a
root node/element, perhaps this is because it is purely a namespace? -
I don't know.
My question is what is the easiest way of generating a simple XML
document with just these two areas (personDetails and UKAddress) from
such a huge namespace/schema beast?
I have access to Altova's XMLSpy - which I use to manage this namespace
and associated xml schemas. I just figure out how to create a test
document
with some dummy data which would validate against this huge beast (when
printed the schema spans more than 300 pages A4).
Any comments, ideas, would be very welcome. 2 1353
Hi WideBoy,
Try loading your Schema in the Stylus Studio XML Schema Editor: http://www.stylusstudio.com/xml_schema_editor.html
To generate an XML document for just the personDetails and UKAddress
complexTypes, just select the node, right click one of them, and select
View XML Sample and save it. This is explained in detail here: http://www.stylusstudio.com/xml_generator.html
I think that one of the differences between spy's xml schema instance
document generator is that it needs a document node (i.e. what you are
calling the "root node") to work. By contrast, the stylus studio xml
instance document generator works on any element / complexType. (I
think this is probably why it's not working for you right now).
Sincerely,
The Stylus Studio Team http://www.stylusstudio.com
Thanks for your reply, I shall certainly check out stylusstudio.
However, I have a gut feeling that there might be a XSL-type solution
to this problem.
If some one can recommend something along these lines and give me a bit
of a leg up with the XSL, I'm sure I would be in a position to take it
on and develop it as a full blown solution. In the first instance I'm
just looking for something that gives me the basic document structure
so that I can manually fill in the data. Ideally, what I would like is
something like StylusStudio I guess especially if this also provides
some random valid data for each element of the document.
Regards,
Naran (aka Wideboy) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: obsidian8 |
last post by:
Hi All,
I have looked around for an answer to this question, but haven't found
one as of yet. I'm trying to use javascript to dynamically create
raido buttons. I am able to create them easily enough but they aren't
clickable. It doesn't matter if I set them as checked or not, you can't
manipulate them at all. The code I'm using appears below:
function test(){
componentMainTable = document.getElementById("mycomponent");
|
by: takarimasu |
last post by:
How can i create an input object (text area,select) at runtime ?
B.
|
by: Richard Fritzler |
last post by:
I was given the task of designing a complete web based
document prep system. In simplest terms (using a msword
explanation) create a database of merge fields, and a
library of templates. Allow the webuser to select the
template, merge his DB record, and produce a formatted
document that can be printed or downloaded.
We need to do this without specialized software on the
client, since it will be universally available to
webusers. We...
|
by: di |
last post by:
I have a Access Database, and I would like to create a word document
that
(preferable would filter)links to ACCESS table or query. I would like
to print the word document on the filtered record that I have selected
in Access.
for example if I have customer number (201) that I would like to merge
over to a Word document. The word document is a template that I would
like to use regularly.
Thanks so Much for anyone that can WALK me thru...
|
by: sloesch |
last post by:
I am working with VS.net 2003, framework 1.1, developing with VB.net,
and ASP.net, and I would like to know how you can create a dynamic
hyperlink on the fly to a document stored in a SQL database?
I would like to create a VB.net function that would do this, and I
found this class *System.Web.UI.WebControls.HyperLink*, but I can not
find any examples on generate a dynamic hyperlink. Basically, I want
my function to generate an embedded...
| |
by: Niyazi |
last post by:
Hi,
I created application that store the data in SQL SERVER that reside on
network. The client also use this application to access the resources
provided with application. But is the client want to register new customer or
companies they will enter the information in Windows Form and the program
automaticaly creates the WORD document under specific folder under
application path. Once the empty word file created than ask user if they want...
|
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is this: can Access create
the document and place it as an OLE object to the relevant table?
Any help is greatly appreciated.
Ricky
|
by: SM |
last post by:
Hello
I'm trying to create a multi dimensional array in JavaScript, but
after some reading i still can't figure out how to apply it to my
model.
Here it is:
I have a list A and for each item in the list A i want to associate an
undetermined number of items. The complication for me is the fact that
the items to associate in list A are undetermined.
|
by: sirjohnofthewest |
last post by:
If I possessed the power to sway the mind of every user in the world to delete all forms of Internet Explorer I would die a happy man.
Hi guys, I frequently visit this site to get answers to my problems and this one is really getting to me...
I have a page that allows you to Browse Authors. There are three drop down boxes that auto-populate via AJAX. I have a file which it calls and returns the dynamically built XML file in the boxes...
|
by: RMWChaos |
last post by:
Firebug is reporting "too much recursion" when I attempt to create a child element in a parent that doesn't exist yet. The script should automatically create the missing parent before going on to create the child element. At the point where the script is supposed to call itself with the new properties to create the parent, it gives me the error and looks like it's looping the function continuously.
It seems that "id : attrib" (line 192) is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |