|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Can I access elements in the output tree?
Hi,
Would it be possible to insert elements in the output tree and subsequently
access them? If so, would there be any restrictions?
Here is the general setup:
<?xml version='1.0' encoding='ISO-8859-1'?>
<xsl:transform version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
xmlns:qxml='urn:neroc:qxml'
xmlns='urn:neroc:qxml'
exclude-result-prefixes='#default qxml'
>
<xsl:output
method='xml'
encoding='ISO-8859-1'
omit-xml-declaration='no'
media-type='application/qxml'
/>
<xsl:template match='/'>
<xsl:element name='Name'>John Doe</xsl:element>
<xsl:message>
<xsl:value-of select='descendant-or-self::node()/Name'/>
</xsl:message>
</xsl:template>
</xsl:transform>
Xalan accepts this as a valid XSLT-document, but doesn't produce the desired
output.
With king regards,
Peter Paulus
Neroc Publishing Solutions
De Run 1131
5503 LB VELDHOVEN
The Netherlands
tel: +31-40-2586666
fax: +31-40-2541893
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








