Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] user-defined types in something other than Schema?

From: Erik Hennum <erikh501@--------->
To:
Date: 1/4/2005 4:11:00 PM
Regarded XSLT Mavens:

Is it possible to declare user-defined types for 
XSLT 2.0 with something other than XML Schema?

As I read http://www.w3.org/TR/xslt20/ , the
xsl:import-schema statement supports only XML Schema. 


For instance, one can't provide an adapter for
xsl:import-schema statement that implements 
non-Schema typing such as ooRelaxNG or DTLL.

For another example, DITA (
http://xml.coverpages.org/dita.html )
uses a schema-independent class attribute to declare
the type ancestry.  DITA users would like to use 
type matching on DITA documents regardless of the
schema language or even without schema validation.

Would it be conceivable for a DITA implementer 
to create a DITA adapter for xsl:import-schema 
that could populate the type annotation based 
on the DITA class attribute?  Or, could a DITA
implementer provide templates that add type annotation
to the tree and declare the type hierarchy prior
to firing templates that match the tree based
on the type?

As a workaround for non-Schema type definitions,
might one generate a Schema in which each element 
has the correct type and each type has the correct 
base type but each type can contain any element or
attribute?


Thanks in advance for corrections, insights, and
references,


Erik Hennum
erikh501 AT yahoo DOT com



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent