xsl-list
[Top] [All Lists]

RE: XDQL query

2005-03-17 14:08:56
thanks for responding.  turns out the XDQL template was already included in a 
lookup file, so when i removed it from my code, the page generated fine.

happy trails!
Tiffany

-----Original Message-----
From: Wendell Piez [mailto:wapiez(_at_)mulberrytech(_dot_)com]
Sent: Thursday, March 17, 2005 12:52 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] XDQL query


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}"/>

or

<meta name="keywords"
  content="{xalan-nodeset:nodeset($query1_results)/root/object/description}"/>

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?

Cheers,
Wendell



======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>