Skip to Content
XSLT and XPATH: A Guide to XML Transformations
book

XSLT and XPATH: A Guide to XML Transformations

by John Robert Gardner, Zarella L. Rendon
July 2001
Intermediate to advanced
592 pages
11h 16m
English
Pearson
Content preview from XSLT and XPATH: A Guide to XML Transformations

6.1. Creating Elements with LREs

Elements that are not part of the input source document can be created using a literal result element, also known as an LRE. LREs are XML elements that are not part of the XSL specification or extension set of elements. They are "literal" elements that are passed through to the output, with the same element-type name and any attributes that are added by the stylesheet. LREs are added by the author of the stylesheet and placed according to the desired output. They are considered templates and can contain instruction elements, but cannot contain top-level elements. An LRE can also be used as the document element of the stylesheet, if the attribute defining it as a stylesheet is used.

An LRE generates an element ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning XSLT and XPath: Transforming XML Documents and Data

Beginning XSLT and XPath: Transforming XML Documents and Data

Ian Williams
Java and XSLT

Java and XSLT

Eric M. Burke
Learning XSLT

Learning XSLT

Michael Fitzgerald

Publisher Resources

ISBN: 0130404462Purchase book