|
Subject: Re: [xsl] XPath 2.0 Best Practice: wrap the first node of every path expression within schema-element? From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Tue, 25 Mar 2008 18:02:40 +0100 |
Apparently, from what Martin states, AltovaXML is schema-aware but
would not generate an error or a warning on the above examples.
(Martin, can you confirm this?)
<Book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test2008032101Xsd.xml">
<Author>
<LastName>Kay</LastName>
<FirstName>Michael</FirstName>
</Author><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
<xs:element name="Book">
<xs:complexType>
<xs:sequence>
<xs:element name="Author" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="LastName" type="xs:string"/>
<xs:element name="FirstName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
Martin Honnen http://JavaScript.FAQTs.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XPath 2.0 Best Practice: , Florent Georges | Thread | Re: [xsl] XPath 2.0 Best Practice: , Florent Georges |
| Re: [xsl] XPath 2.0 Best Practice: , Florent Georges | Date | [xsl] Sibling axis: All of kind A u, Michael Ludwig |
| Month |