: Re: R: Strings to SAX events
Hi Reinhard,
thanks for the last post. I also need to add a string as XML elements
into an XSP generator and I used your suggestion (below). It seems
to work well, but I have two questions:
1) I've noticed that the API states that the Parser is deprecated. I'm
Hi Reinhard,
thanks for the last post. I also need to add a string as XML elements
into an XSP generator and I used your suggestion (below). It seems
to work well, but I have two questions:
1) I've noticed that the API states that the Parser is deprecated. I'm
currently using 2.0.3, if I
/xsp:expr/util:expr
/util:include-expr
...
Regards,
Ludovic
- Original Message -
From: Damian Chojna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 6:02 PM
Subject: Re: R: Strings to SAX events
Hi Reinhard,
thanks for the last post. I also need to add a string
;
...
util:include-expr
util:exprxsp:expr
yourXMLString
/xsp:expr/util:expr
/util:include-expr
...
Regards,
Ludovic
- Original Message -
From: Damian Chojna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 6:02 PM
Subject: Re: R: Strings to SAX events
Hi
-Original Message-
From: Damian Chojna [mailto:d.chojna;adv.pl]
Sent: Thursday, November 14, 2002 6:02 PM
To: [EMAIL PROTECTED]
Subject: Re: R: Strings to SAX events
Hi Reinhard,
thanks for the last post. I also need to add a string as XML elements
into an XSP generator and I
Luca,
In a generator I use flowing code within the generate()-Method. Maybe this
helps:
parser = (Parser)this.manager.lookup(Parser.ROLE);
parser.setConsumer(super.xmlConsumer);
parser.parse(new InputSource(new StringReader(sb.toString(;
Regards,
Reinhard
Ludovic,
Hi Luca,
Have you seen the WingsTransformer in 2.1 scratchpad ? It converts
xcml (over at Krysalis) chart markup to svg which you can then give
to svg2png/etc.
I'm using it at the moment and it works quite well for pie, line
and bar charts. Perhaps
Luca,
I'm doing something very similar to implement a SOAPTransformer. What I've done is
implement an XMLConsumer so that it passes ALL events that it recieves directly to the
transformer's super-class (super.startElement, super.endElement... etc.) Because
you've probably already started an