Subject: Re: [xsl] Where are xsl:messages sent in JAXP? From: Josh Canfield <joshcanfield@xxxxxxxxx> Date: Wed, 22 Sep 2004 11:45:21 -0700 |
You might want to have a look at the extension mechanism for your XSL processor. http://www.w3.org/TR/xslt#extension I don't see why you couldn't use either an extension function or element to stop the process and ask the user a question... Josh On Wed, 22 Sep 2004 11:19:35 -0700 (PDT), Charlie Consumer <faceless1976@xxxxxxxxx> wrote: > Hi, > > Sorry if this is not the forum to ask these questions. > Please point me in the right direction if there is a > better place to ask this. > > I would like to use the xsl:message feature to send > progress information back to a Swing UI while my XSL > is performing a transformation. I was wondering if I > could hook my client code into the XSL Transform > object to receive messages sent from the XSL using > xsl:message? > > I think I know the answer to this one, but is there a > way to hook the Transform API so I can ask for user's > input while transforming their document? For example, > if I find some erroneous data it would be nice if I > could prompt the user and ask if it's ok if repair his > document. A simple boolean returned from the user > back to the XSL script would suffice. I might be able > to do it with a document() call. Use a URIResolver to > hook the document() function, and return an XML > document like <true/> or <false/> back to the > stylesheet. Sounds kinda hacky, but it could work. > > Charlie > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Where are xsl:messages sent i, Charlie Consumer | Thread | Re: [xsl] Where are xsl:messages se, Kenneth Stephen |
[xsl] remove white space, Mark Williams | Date | [xsl] flat xml to full tree with no, Steve Lenhart |
Month |