OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedded stylesheets



Or just:

C:\Windows\Desktop\XSLT>cat test.xml
<?xml version="1.0"?>
<?xml-stylesheet href="#myStyle"  type="text/xsl"?>
<!DOCTYPE doc [
<!ATTLIST xsl:stylesheet id ID #REQUIRED>
]>
<doc xmlns:test="http://www.ascom.com/test">
 <hello>Hello</hello>
<xsl:stylesheet id="myStyle"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:template match="doc">
  <out><xsl:value-of select="."/></out>
 </xsl:template>
</xsl:stylesheet>
</doc>

Mike
====
Wy'east Communications     http://www.wyeast.net     mailto:mike@wyeast.net