diff options
author | dacarver | 2009-05-07 14:29:50 +0000 |
---|---|---|
committer | dacarver | 2009-05-07 14:29:50 +0000 |
commit | a4954f2377428e12bb0cf3bd0f1e75db730eb0ef (patch) | |
tree | 4b9fb469cb245517a914f2246310e8d5876bba8e /docs | |
parent | bf6c73dd1636201b8ed0c334d2f2adfa8689419b (diff) | |
download | webtools.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.xml | 20 | ||||
-rw-r--r-- | docs/org.eclipse.wst.xsl.doc/html/concepts/concepts.html | 20 |
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"> <?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> </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 |