[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] if child element does not exist stop generation


Subject: Re: [xsl] if child element does not exist stop generation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 3 May 2005 15:17:29 +0100

        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.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords
xml