Paul; Yes, it appears this is related to the general issue of
discarding processing tags before the root tag.  We are tracking this
as an enhancement request and will have a resolution, probably some
time after the 3.4 release.

In the meanwhile, Semantic XML will read in your xslt file in its
entirety, creating properties such as doctype-public-xsloutput,
doctype-system-xsloutput, and version-xslstylesheet.  You could create
a SPARQLMotion script that SPARQLs those values, creates your DOCTYPE
directive, and appends it to the current ConvertXMLByXSLT output
through an AppendText module or fn:concat in SPARQL. Not the most
convenient way to do this, but it will work until a fix is available.

-- Scott

On Oct 21, 3:01 am, PaulZH <[email protected]> wrote:
> If i have an xslt stylesheet with output method=xhtml and doctype-
> public and doctype-system both indicated, there appears no DOCTYPE
> declaration in the output;
> while the same xslt done with saxon outside TBC gives the wanted
> result.
>
> I suppose this post is related 
> tohttp://groups.google.com/group/topbraid-users/browse_thread/thread/da...
> where is indicated that TBC throws away everything before the root
> element.
> While this is no issue with the xml declaration since this is optional
> according to the xml spec, I think this is not the case for explicitly
> wanted output.

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to