hello, guys
we plan to use libxml and libxslt in our projects.
what we need are like snippet belows:
<ActivityInput>
<body>
<pfx:field>
<pfx:name>
<xsl:value-of
select=""Data""/>
</pfx:name>
<pfx:id>
<xsl:value-of select="0"/>
</pfx:id>
<pfx:simple>
<xsl:value-of
select="string($var/Report/Data[1])"/>
</pfx:simple>
</pfx:field>
</body>
</ActivityInput>
We want to use something like xslt template to
produce some xml tree as process's input.
We can change this xml snippet to a xslt template and
use applystylesheet to produce expected output xml
tree.
However, we need to set a variable (named var ) in
program before apply the translation.
Does libxslt have any method to do this ,for example
like xmlXPathRegisterVariable in libxml?
or any other thoughts?
thx
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt