• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RMH book page 49

 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I start to read web service RHM book,
I see on page 49(and before too) Listing 3-12, that instance show a new namespace ---> "addr" but on page 48 Listing 3-11, schema declares a namespace with other name --> "mh" so why in Listing 3-12, instance of Document use another namespace name???
thanx
[ October 04, 2005: Message edited by: Reza Ravasizadeh ]
 
Reza Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No body answer me
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer to your question as per me is as follows

1. On page 48- the schema for address type elements has been defined and the target name space is the jwsbook.

2. listing of 3-12 shows how this can be used. they used xmlns prefix addr:....... That was just a e.g. how one can use address
you can use anything else.

3. the listing under 3.1.5 is not related to listing 3.12., this list under the section 3.1.5 uses mh as prefix, but itis the same namespace jwsbook. Also note that in 3.1.5 para author says this is part of listing 3.5 -

So not confuse the 2 listing on page 49.



kay
[SCWCD]
[SCBCD]
 
BWA HA HA HA HA HA HA! Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic