Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
XML and Related Technologies
Element as value of another element
Christina Shah
Ranch Hand
Posts: 31
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I want to define an element of type
string
such that it's value can be either of :
-any string
-value of another element of type string
TIA
Chris
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am not clear on what you mean by "define" - are you talking about a schema or a DTD or what. If a schema, which convention are you using?
Bill
Christina Shah
Ranch Hand
Posts: 31
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am using Schema.
Something like :
<xs:simpleType name="a" value = any string OR another element b of type string>
Thanks
You may have just won ten million dollars! Or, maybe a tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Collection of components
Conditional Enumeration
setText
Question on implementing interface method
XSL to html conversion
More...