How to define XSLT syntax in XML

What is XSLT syntax,How to define XSLT syntax.
  • 1609
XSLT SYNTAX
  • XSLT is the XML Style Sheet Language,XSLT follows normal rules of XML syntax.
  • it is a first syntax declartion at the top of your XSLT documents.

Syntax of XSLT

<?xml version="1.0" ? xmlns:xsl="http://www.google.com/XSL/Transform">

  • xslt have a root element and it has two attribute

    1. version contain version no of XSLT.

    2. xmlns:xsl contain url.

Example of XSLT syntax
 

<?xml version="1.0" ?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.google.com/XSL/Transform">

</xsl:stylesheet>

Further Readings

You may also want to read these related articles :

Ask Your Question 

Ask Your Question Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.