Hello,

My problem:

data = 
zipcode
10000
10001
10002
10003
10004
10010
10011
10020
...

        i have a function in xsl like this :

                </xsl:element>
                        <xsl:value-of
select='calc-zip("BLACKOUT_CARD_GROUP", "CARD_GROUP_ID", "CARD_GROUP")'/>
                </xsl:element>

i will a result like that :
<ZipCode size=5>10000</ZipCode>
<ZipCode size=2>10010</ZipCode>
<ZipCode size=1>10020</ZipCode>
...


So i'm searching good samples (not the too simples of the apache doc) for
xsl-functions implemented with the C++ Api xalan 1.0. 
Links or books references are welcome.

The only difficult i have is which return type is needed for the above
problem ?
        * If i modify the context with "context->addChild(xalanElement);"
(many times) must i return a value or a 
        "return executionContext.getXObjectFactory().createNull();" is
sufficient.
        * Where are good sample(s) for how to use the
"executionContext.getXObjectFactory().createNodeSet( something );"
          Doc is really poor !!

Sorry if these kind of question have already submitted, but i cannot access
the archive :-(
Sorry again for my english, but it's not my first language.
And finally thank you if anybody can help me.

Patrick Ruffieux.







Reply via email to