You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Chris Bowditch <bo...@hotmail.com> on 2003/10/01 09:46:58 UTC

Re: xml/xsl in one fileL

>From: "J.Pietschmann" <j3...@yahoo.de>
>
>Well, for a start I gather the original poster didn't
>want to have a reference to the XSLT in the XML file
>but the XSLT code itself, perhaps something like

Oh I see, that wasnt my understanding of the request, but perhaps you are 
right. In which case it would not be a simple task to implement.

<snip/>

>
>In either case the XSLT code can be extracted with a filter,
>but it is certainly more laboriously than just extracting
>the reference. There are a few more details needing attention,
>for example how namespaces declared on the elements
>enclosing the XSLT code but not referenced there will be
>handled.

Yes I am now enlighted processing XSLT embedded in the XML would not be 
easy.

>
>The second assuption is that the user wouldn't mind if the
>document is opened andprocessed twice. A reasonable assumption
>for a file, but more difficult to asses for documents addressed
>by HTTP URLs, and even more difficult for on-the-fly generated
>XML, as it often happens at DB interfaces.
>

A good point, but if this was the only negative I would be inclined to apply 
the 80-20 rule of software development (i.e. no software satisfies all user 
requirements, so just settle for satisfying 80% of them)

Chris

_________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org