XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Type substitution vs. element substitution (akasubstitution groups)

Michael Kay wrote:
>> I am surprised that this question got only 1 response (thanks Boris).
>>     
>
>
> It's a little bit difficult to advise you what approach to use to solve a
> problem when you haven't described the problem you are trying to solve.
>
>   

I would like to support variable content in certain elements of my 
schema based on the elements belonging to a common type hierarchy. I 
want to make sure that the approach I take is:

    * Well suited for binding to programming languages using popular
      data binding tools such that the resulting bindings allow
      operating on the variable content based upon their common type
      (poetntially abstract)
    * Well suited for processing instance documents by XSLT such that
      adding new types to the variable content hierarchy does not
      require modifying the XSLT for processing the common elements and
      attributes of the variable content base type

Those are the big requirements I can think of. Let me know if I should 
be thinking of any others. Thanks.

<offtopic thankyou>
I just switched to saxon from xalan for my project so I can support XSLT 
2.0. The switch for pretty painless and I am very happy with my 
decision. I am also using "XSLT 2.0 Programmer's Reference" 
<http://www.amazon.com/XSLT-2-0-Programmers-Reference-Programmer/dp/0764569090>. 
I highly recommend it.

Thanks Michael for the great tool and book.
</offtopic thankyou>

-- 
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS