Cargando…

Learning XSLT /

XSLT is a powerful language for transforming XML documents into something else. That something else can be an HTML document, another XML document, a Portable Document Format (PDF) file, a Scalable Vector Graphics (SVG) file, a Virtual Reality Modeling Language (VRML) file, Java code, or a number of...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Fitzgerald, Michael, 1957-
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Beijing ; Sebastopol, CA : O'Reilly, 2003.
Edición:1st ed.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Table of Contents; Preface; Who Should Read This Book?; About the Examples; XSLT and XPath Reference; How This Book Is Organized; Conventions Used in This Book; Using Examples; Comments and Questions; Acknowledgments; Transforming Documents with XSLT; How XSLT Works; A Ridiculous XML Document; A First XSLT Stylesheet; The stylesheet element; The XSLT namespace; The output element; The template element; Using Client-Side XSLT in a Browser; The XML Stylesheet Processing Instruction; Attributes and pseudoattributes; Using apply-templates; Analysis of message.xml; The XML declaration
  • Running XalanMore About Xalan C++; Using Other XSLT Processors; Using xRay2; Summary; Building New Documents with XSLT; Outputting Text; Using the text Element; The disable-output-escaping attribute; Literal Result Elements; Adding a Namespace Prefix; Literal Result Elements for HTML; The META tag; XHTML Literal Result Elements; Attribute value templates; Applying namespaces; Using the Element Called element; The namespace attribute; Adding Attributes; Reusing a Set of Attributes; Chaining attribute sets; Outputting Comments; Outputting Processing Instructions; Mixed Content
  • Using Multiple Template RulesWhat can go in a template rule?; Creating the PI and Putting It to Work; One Final Example; Summary; Controlling Output; The Output Method; The Default Output Methods; Default HTML output; Default XML output; Outputting XML; The XML Declaration; Omitting the XML declaration; The encoding declaration; Unicode and the Command Shell Window; Using Character Map and UniPad; Entities and text declarations; The standalone declaration; XML version information; Controlling Document Type Declarations; Validation with transformation
  • Adding a document type declaration with a system identifierAdding a document type declaration with a public identifier; Validating XHTML; Outputting CDATA Sections; Outputting HTML; Outputting Text; Using a QName Output Method; Media Types; Summary; Traversing the Tree; The XPath Data Model; XPath Nodes; A View of the Tree; What's a Context?; Location Paths; Expressions; What Is a Pattern?; Predicates; Matching Multiple Nodes with a Pattern; Axes; Unabbreviated Syntax; Reaching Out of Context with Unabbreviated Syntax; Name and Node Tests; Doing the Math with Expressions; Summary
  • XPath and XSLT FunctionsBoolean Functions; The lang() Function; Node-Set Functions; The id() Function; Number Functions; The sum() Function; The round() Function; String Functions; The concat() Function; The normalize-space(), translate(), and substring() Functions; The generate-id() Function; Summary; Copying Nodes; The copy Element; Adding Attributes with copy; The Identity Transform; The copy-of Element; Copying Nodes from Two Documents; Summary; Using Variables and Parameters; Defining Variables and Parameters; Defining Default Values for Parameters