User Manual and Programmers' Reference Altova XMLSpy 2011 User & Reference Manual All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems - without the written permission of the publisher. Products that are referred to in this document may be either trademarks and/or registered trademarks of the respective owners. The publisher and the author make no claim to these trademarks. While every precaution has been taken in the preparation of this document, the publisher and the author assume no responsibility for errors or omissions, or for damages resulting from the use of information contained in this document or from the use of programs and source code that may accompany it. In no event shall the publisher and the author be liable for any loss of profit or any other commercial damage caused or alleged to have been caused directly or indirectly by this document. Published: 2011 © 2011 Altova GmbH Table of Contents Welcome to XMLSpy 3 User Manual 6 1 Introduction 8 1.1 The Graphical................................................................................... User Interface (GUI) ......................................................9 1.1.1 Main Window............................................................................................................................10 1.1.2 Project Window............................................................................................................................11 1.1.3 Info Window............................................................................................................................13 1.1.4 Entry Helpers............................................................................................................................13 1.1.5 Output Window:................................................................................... Messages .........................................14 1.1.6 Menu Bar,................................................................................... Toolbars, Status Bar .........................................15 1.2 The Application................................................................................... Environment ......................................................16 1.2.1 Settings and................................................................................... Customization .........................................16 1.2.2 Tutorials,................................................................................... Projects, Examples .........................................16 1.2.3 XMLSpy................................................................................... Features and Help, and Altova Products .........................................17 2 XMLSpy Tutorial 18 2.1 XMLSpy ...................................................................................Interface ......................................................19 2.2 XML Schemas................................................................................... ......................................................20 2.3 XML Documents................................................................................... ......................................................22 2.3.1 Creating ...................................................................................a New XML File .........................................22 2.3.2 Specifying................................................................................... the Type of an Element .........................................24 2.3.3 Entering ...................................................................................Data in Text View .........................................25 2.3.4 Validating................................................................................... the Document .........................................29 2.3.5 Adding Elements................................................................................... and Attributes .........................................32 2.4 XSLT Transformations................................................................................... ......................................................34 2.4.1 Assigning................................................................................... an XSLT File .........................................34 2.4.2 Transforming................................................................................... the XML File .........................................35 2.4.3 Modifying................................................................................... the XSL File .........................................36 2.5 Project Management................................................................................... ......................................................38 2.5.1 Benefits ...................................................................................of Projects .........................................38 Altova XMLSpy 2011 1 2.5.2 Building ...................................................................................a Project .........................................38 2.6 That's It .........................................................................................................................................40 3 Editing Views 41 3.1 Text View................................................................................... ......................................................42 3.1.1 Formatting................................................................................... in Text View .........................................42 3.1.2 Displaying................................................................................... the Document .........................................44 3.1.3 Editing in................................................................................... Text View .........................................47 3.1.4 Entry Helpers................................................................................... in Text View .........................................49 3.2 Grid View................................................................................... ......................................................51 3.2.1 Entry Helpers................................................................................... in Grid View .........................................52 3.3 Schema View................................................................................... ......................................................54 3.3.1 Schema Overview............................................................................................................................54 3.3.2 Content Model................................................................................... View .........................................58 3.3.3 Base Type................................................................................... Modification .........................................70 3.3.4 Entry Helpers................................................................................... in Schema View .........................................71 3.3.5 Identity Constraints............................................................................................................................74 3.3.6 Smart Restrictions............................................................................................................................78 3.3.7 xml:base,................................................................................... xml:id, xml:lang, xml:space .........................................82 3.3.8 Back and................................................................................... Forward: Moving through Positions .........................................84 3.4 Authentic................................................................................... View ......................................................85 3.4.1 Overview................................................................................... of the GUI .........................................85 3.4.2 Authentic................................................................................... View Toolbar Icons .........................................86 3.4.3 Authentic................................................................................... View Main Window .........................................88 3.4.4 Authentic................................................................................... View Entry Helpers .........................................90 3.4.5 Authentic................................................................................... View Context Menus .........................................94 3.5 Browser View................................................................................... ......................................................97 4 XML 98 4.1 Creating, ...................................................................................Opening, and Saving XML Documents ......................................................99 4.2 Assigning................................................................................... Schemas and Validating ......................................................101 4.3 Editing XML................................................................................... in
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages396 Page
-
File Size-