[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XDQL query
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@xxxxxxxxxxxxxxxx] Sent: Thursday, March 17, 2005 12:52 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: 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"> > <meta name="keywords" content="</xsl:text> > <xsl:value-of select="search_keywords"/> > <xsl:text disable-output-escaping="yes">"></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"> > <meta name="Description" content="</xsl:text> > <xsl:value-of > select="xalan-nodeset:nodeset($query1_results)/root/object/description"/> > <xsl:text disable-output-escaping="yes">"></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@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 ======================================================================
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|