Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authordacarver2009-05-07 14:29:50 +0000
committerdacarver2009-05-07 14:29:50 +0000
commita4954f2377428e12bb0cf3bd0f1e75db730eb0ef (patch)
tree4b9fb469cb245517a914f2246310e8d5876bba8e /docs
parentbf6c73dd1636201b8ed0c334d2f2adfa8689419b (diff)
downloadwebtools.sourceediting.xsl-a4954f2377428e12bb0cf3bd0f1e75db730eb0ef.tar.gz
webtools.sourceediting.xsl-a4954f2377428e12bb0cf3bd0f1e75db730eb0ef.tar.xz
webtools.sourceediting.xsl-a4954f2377428e12bb0cf3bd0f1e75db730eb0ef.zip
[274967] XSLT help "Rescuing XSLT From Niche Status" error with xml model https://bugs.eclipse.org/bugs/show_bug.cgi?id=274967
Diffstat (limited to 'docs')
-rw-r--r--docs/org.eclipse.wst.xsl.doc/docbook/concepts/RescuingXSLTfromNicheStatus.xml20
-rw-r--r--docs/org.eclipse.wst.xsl.doc/html/concepts/concepts.html20
2 files changed, 12 insertions, 28 deletions
diff --git a/docs/org.eclipse.wst.xsl.doc/docbook/concepts/RescuingXSLTfromNicheStatus.xml b/docs/org.eclipse.wst.xsl.doc/docbook/concepts/RescuingXSLTfromNicheStatus.xml
index 6e19a82..2fc9053 100644
--- a/docs/org.eclipse.wst.xsl.doc/docbook/concepts/RescuingXSLTfromNicheStatus.xml
+++ b/docs/org.eclipse.wst.xsl.doc/docbook/concepts/RescuingXSLTfromNicheStatus.xml
@@ -189,20 +189,12 @@
<programlisting>
<![CDATA[
<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
- <xsl:template match="/">
- <html>
- <head>
- <title>Welcome</title>
- </head>
- <body>
- Welcome <xsl:value-of select="member/name"/>!
- </body>
- </html>
- </xsl:template>
-</xsl:stylesheet>
-]]>
+<member level="platinum">
+ <name>Jeff</name>
+ <phone type="home">555-1234</phone>
+ <phone type="work">555-4321</phone>
+ <favoriteColor>blue</favoriteColor>
+</member>]]>
</programlisting>
<para>
There are a couple of things that need to be pointed out right away. First this is a well-formed XML
diff --git a/docs/org.eclipse.wst.xsl.doc/html/concepts/concepts.html b/docs/org.eclipse.wst.xsl.doc/html/concepts/concepts.html
index d423ed5..4470798 100644
--- a/docs/org.eclipse.wst.xsl.doc/html/concepts/concepts.html
+++ b/docs/org.eclipse.wst.xsl.doc/html/concepts/concepts.html
@@ -145,20 +145,12 @@
</p><pre class="programlisting">
&lt;?xml version="1.0"?&gt;
-&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0"&gt;
- &lt;xsl:template match="/"&gt;
- &lt;html&gt;
- &lt;head&gt;
- &lt;title&gt;Welcome&lt;/title&gt;
- &lt;/head&gt;
- &lt;body&gt;
- Welcome &lt;xsl:value-of select="member/name"/&gt;!
- &lt;/body&gt;
- &lt;/html&gt;
- &lt;/xsl:template&gt;
-&lt;/xsl:stylesheet&gt;
-
+&lt;member level="platinum"&gt;
+ &lt;name&gt;Jeff&lt;/name&gt;
+ &lt;phone type="home"&gt;555-1234&lt;/phone&gt;
+ &lt;phone type="work"&gt;555-4321&lt;/phone&gt;
+ &lt;favoriteColor&gt;blue&lt;/favoriteColor&gt;
+&lt;/member&gt;
</pre><p>
There are a couple of things that need to be pointed out right away. First this is a well-formed XML
document. This mean all HTML used must conform to the XHTML specification (i.e. all tags must be closed and

Back to the top