Subject: Re: [xsl] In XPath 2.0 can my XSLT program validate the input and check whether the validation succeeded? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 20 Jul 2013 15:54:22 -0400 |
Here is what I think the problem is: since I did not specify the SAXON -val flag, the input has no type annotations. Consequently, each Book is not an instance of a Book element with type BookType and this boolean condition fails:
data(.) instance of element(Book, BookType)
-- Public XSLT, XSL-FO, and UBL classes in the Netherlands Oct 2013 | Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] In XPath 2.0 can my XSLT prog, Costello, Roger L. | Thread | RE: [xsl] In XPath 2.0 can my XSLT , Costello, Roger L. |
[xsl] In XPath 2.0 can my XSLT prog, Costello, Roger L. | Date | RE: [xsl] In XPath 2.0 can my XSLT , Costello, Roger L. |
Month |