Start a new line with : text « XSLT stylesheet « XML

Home
XML
1.CSS Style
2.SVG
3.XML Schema
4.XQuery
5.XSLT stylesheet
XML » XSLT stylesheet » text 
Start a new line with



<?xml version="1.0"?>
<xsl:stylesheet version="2.0" 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xsl:output method="text"/>

  <xsl:template match="/">
    <xsl:text>&#xA; &#xA; &#xA; </xsl:text>

  </xsl:template>
</xsl:stylesheet>

Output:


 
 
 

 
Related examples in the same category
1.Copy text with
2.Use text() function to get text
3.match an element and get text with text() function
4.Get value with
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.