Hello Dave, As you want XSL elements plus something I would not name the pattern XslElements but maybe XslElementsPlusFragment for instance.
> content model is: > any element from the xsl namespace > or > zeroOrMore > element fragment ns http://nwalsh.com/xmlns/litprog/fragment namespace > Maybe as below? <define name="XslElementsPlusFragment"> <element> <choice> <nsName ns="http://www.w3.org/1999/XSL/Transform"/> <name ns="http://nwalsh.com/xmlns/litprog/fragment">fragment</name> </choice> <choice> <text/> <oneOrMore> <ref name="XslElementsPlusFragment"/> </oneOrMore> </choice> </element> </define> Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Dave Pawson wrote: > I want to say > > content model is: > any element from the xsl namespace > or > zeroOrMore > element fragment ns http://nwalsh.com/xmlns/litprog/fragment namespace > > this isn't working > > <define name="XslElements"> > <element ns="http://www.w3.org/1999/XSL/Transform"> > <choice> > <anyName ns="http://www.w3.org/1999/XSL/Transform"> > <except> > <nsName ns="http://nwalsh.com/xmlns/litprog/fragment"/> > </except> > </anyName> > ?? > </choice> > <choice> > <text/> > <ref name="XslElements"/> > </choice> > </element> > </define> > > > Any suggestions please? > > > TIA
