[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XDQL query

Subject: Re: XDQL query
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 17 Mar 2005 15:52:07 -0500
Hi Tiffany,

At 02:14 PM 3/17/2005, you wrote:
all our stylesheets build <meta> tags as follows:

        <xsl:text disable-output-escaping="yes">
                &lt;meta name="keywords" content="</xsl:text>
        <xsl:value-of select="search_keywords"/>
        <xsl:text disable-output-escaping="yes">"&gt;</xsl:text>

now i need to invoke an XSLT processor to create an XDQL query to build a 2nd <meta> tag:

<xsl:text disable-output-escaping="yes">
&lt;meta name="Description" content="</xsl:text>
<xsl:value-of select="xalan-nodeset:nodeset($query1_results)/root/object/description"/>
<xsl:text disable-output-escaping="yes">"&gt;</xsl:text>

my stylesheet is valid, but can't generate a webpage - any ideas??

Without more info, no, but I can say offhand that this method of getting a meta tag is more troublesome than the more XSL-idiomatic:

<meta name="keywords" content="{search_keywords}"/>


<meta name="keywords"

I can't say for sure whether the "tag-writing" d-o-e based approach above is the source of your difficulty. But it can't help. Creating honest nodes (not writing tagging for them) with Attribute value templates (the things in curly braces) is much easier all around.

Can you be more specific about "can't generate a webpage?" Using which tools? Reporting an error, creating bad output? or just quietly refusing to do what's asked, or something else? What processor are you using, and have you tried a different one to help isolate the problem?


Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.