Subject: Beginners start here - 1 From: "Dave Pawson" <dave.pawson@xxxxxxxxxx> Date: Sat, 1 May 1999 09:57:41 +0100 |
Insert of xml file (using xdocbook) xsl file as CDATA insert java as CDATA insert. seperate the stylesheet for use. Hope it might be of help to newbies. Constructive feedback appreciated. Also help. Can't get system-property() to work. Can't figure out what idref() is supposed to do. regards, DaveP <!DOCTYPE article PUBLIC "-//Norman Walsh//DTD DocBk30 XML V1.0//EN" "f:/sgml/nw/xdocbook/db3xml07.dtd"> <article id="art1" xml:lang="en"> <!-- Yes, I know its not good xdocbook Norm --> <artheader> <revhistory> <revision> <revnumber>1.0</revnumber> <date>19999439</date> </revision> </revhistory> <authorgroup> <author> <firstname>Dave</firstname> <surname>Pawson</surname> <affiliation> <orgname>RNIB</orgname> <address format="linespecific">Peterborough England.<email>dpawson@xxxxxxxxxxx</email> </address> </affiliation> <contrib></contrib> </author> </authorgroup> <title>199904 XSLT Demonstrator.</title> <subtitle>A dummies guide to section 6.</subtitle> <copyright> <year>1999</year> <holder>Copyleft</holder> </copyright> </artheader> <sect1 id="s1"> <title>Section 1 title</title> <comment>This section shows access via location paths [6.1]</comment> <para>para inside first Sect1</para> <sect2> <title>Section 2 title</title> <para>para inside first sect2</para> <sect3> <title>Section 3 title</title> <para>para inside first section 3</para> <sect4> <title>Section 4 title</title> <para>para inside first sect4</para> </sect4> <sect4> <title>Second Section 4 title</title> <para>para in second sect4</para> </sect4> <sect4> <title>Third Section 4 title</title> <para>para in third sect4</para> <sect5 id="sect5-1"> <title>Section 5 title</title> <para>para in deepest level, sect5</para> <para> Second para full of white space</para> <comment>The title is at the max depth of numbering</comment> <simplelist type="vert"> <member>list item 1</member> <member>list item 2</member> <member>list item 3</member> </simplelist> </sect5> </sect4> </sect3> </sect2> </sect1> <sect1> <title>Second section 1 title</title> <itemizedlist> <listitem> <para>para 1 in listitem in itemised list</para> </listitem> <listitem> <para>para 2 in listitem in itemised list</para> </listitem> </itemizedlist> <formalpara> <title>Title in formal para</title> <para>This para makes a reference back to the <link linkend="sect5-1">sect5 title</link></para> </formalpara> <blockquote> <title>blockquote title element</title> <para>para in blockquote in second sect1. This para is altered by an external java program.</para> <programlisting format="linespecific"> <![CDATA[ import java.lang.*; public class TestMyJava { public static String callme3(String gi, String text) { return "*** < " + gi+">"+ text + "</"+gi+ "> ***"; } public static String callme2() { return "*** $$$$$$$ ***"; } }]]> </programlisting> </blockquote> </sect1> </article> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XML/XSL Tools, Steven Livingstone | Thread | Re: Resolving ENTITY attributes, Richard Light |
XML/XSL Tools, Steven Livingstone | Date | Re: Resolving ENTITY attributes, Richard Light |
Month |