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

Re: if child element does not exist stop generation

Subject: Re: if child element does not exist stop generation
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 03 May 2005 12:24:54 -0400
xsl test not exist
At 10:17 AM 5/3/2005, David wrote:
Error:sequence missing <length> child!


that is not well formed XML you need to close (or escape) the length element.

[java] [Fatal Error] interface.xsl:478:11: Element or attribute do not match QName production: QName::=(NCName':')?NCName.

That says something else (that you haven't shown) isn't a legal element
or attribute name in sone place where a name is required.

You also meant to test  <xsl: if test="not(length)"> I assume as the
code you show generates an error message about a missing length if there
is a length element.

The element name "xsl:" might give you an error like the one cited, if


<xsl: if test="length">

is how you have it literally. :-> (The lack of a value on the putative 'if' attribute never gets caught because the processor stops after the first well-formedness error.)

(Hm: doing nothing but riffing on David again today!)

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 ======================================================================

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.