[jdom-interest] newbie: manipulating xsl file with jdom

Alan Eustace alan.eustace at bigfoot.com
Wed Apr 25 10:30:21 PDT 2001

this is the element i'm trying to access, and the children i'd want to access are the
html presentation tags:

<xsl:template match="bbs">
     <xsl:value-of select="@title"/>
    <h1><b><font face="Arial, Helvetica, sans-serif" color="#FFFFFF">Stylesheet style:
   <body bgcolor="#000000" text="#ffffff">
       <xsl:apply-templates select="message"/>
when i try to iterate through the list of <xsl:template> elements to an individual
element i get a null.

Jason Hunter wrote:

> Is the child in a namespace?  Are you passing the proper namespace to
> the get method?
> -jh-
> Alan Eustace wrote:
> >
> > hope someone can help with this. i'm trying to build xsl dynamically in
> > a servlet, and have been using the root.getChildren() method to try to
> > access the elements I need. I can output a list of the elements, and
> > iterate through them, in this case returning a list of <xsl:template>
> > elements, but when i try to access an individual element by name to
> > alter it's child elements, i get a null.
> > hope this isn't too vague- i can supply code and xsl file if needs be.
> > thanks
> > alan eustace
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list