|
|
 |
BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2
 | This is the forum to discuss the Wrox book Beginning XML, 4th Edition by David Hunter, Jeff Rafter, Joe Fawcett, Eric van der Vlist, Danny Ayers, Jon Duckett, Andrew Watt, Linda McKinnon; ISBN: 9780470114872 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

November 2nd, 2009, 01:34 AM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Not enough examples of combinations of all the features of an ATTLIST declaration.
On pages 121 - 127 the book discusses attribute declarations in DTDs. It lists many different features that can be included within these attribute declarations. Specifically, attribute types, attribute value declarations (p. 125) and default values. Unfortunately for each of these features the book doesn't always give us examples of how that feature should be used with the other features. For instance: Default values are only shown for enumerated lists and the #FIXED attribute value declaration. So, how do we use default values with other combinations of attribute types and value declarations. Does the default value always come at the very end of the attribute declaration, even after the attribute value declaration? The book says to put the default value after the attribute type. However, in the example of an attribute with the #FIXED attribute value declaration, the default value is placed after the #FIXED, not directly after the attribute type (p. 126).
The authors need to be much more clear on this point.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |